Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 504
» Latest member: curverushgame
» Forum threads: 293
» Forum posts: 869

Full Statistics

Latest Threads
Unable to compile and run...
Forum: PULP General questions
Last Post: victorgervasio
Yesterday, 09:30 AM
» Replies: 2
» Views: 96
__builtin_pulp
Forum: PULP General questions
Last Post: yoss
02-18-2025, 04:31 PM
» Replies: 0
» Views: 219
XpulpNN march
Forum: PULP General questions
Last Post: yoss
02-06-2025, 12:47 PM
» Replies: 2
» Views: 526
Help with llvm/clang comp...
Forum: PULP General questions
Last Post: ThomasMuyal
01-23-2025, 10:10 PM
» Replies: 2
» Views: 991
Doubts regarding I2S mode...
Forum: PULP General questions
Last Post: Zyb
01-09-2025, 11:56 AM
» Replies: 0
» Views: 338
Multi Core PULP first tim...
Forum: PULP General questions
Last Post: kgf
01-02-2025, 02:23 PM
» Replies: 1
» Views: 1,177
Which SDK to be used to c...
Forum: PULP General questions
Last Post: lisamartin
12-23-2024, 02:34 AM
» Replies: 2
» Views: 2,516
Pulpissimo Support Group ...
Forum: PULP General questions
Last Post: Roogadget
12-04-2024, 11:19 AM
» Replies: 0
» Views: 425
Pulp - make build
Forum: PULP General questions
Last Post: Francis Ortega
11-29-2024, 09:02 AM
» Replies: 2
» Views: 1,029
some questions about pulp...
Forum: PULP General questions
Last Post: jsen_che11
11-28-2024, 03:54 AM
» Replies: 3
» Views: 1,207

 
  Unable to compile and run applications on Zedboard with Pulpissimo
Posted by: victorgervasio - 03-16-2025, 09:44 PM - Forum: PULP General questions - Replies (2)

Hello,

I'm a beginner and for the past two weeks I've been trying to compile applications on Zedboard (Pulpissimo), but I was unable to execute the "make" command for the pulp-sdk without getting errors.

I've tried to build the pulp-sdk commit 3256fe7, since newer commits apparently don't support board_targets anymore and tried to build the pulp-sdk on both Ubuntu 16.04 (fresh distribution, on VM using VirtualBox, as recommended in pulp-sdk's git commit id 3256fe7 Readme) and Ubuntu 18.04 (fresh distribution, on VM using VirtualBox, after changing my default gcc, gcc-7, to gcc-5, as recommended in pulp-sdk's git commit id 3256fe7 Readme an with conda environment with python3.5 and correspondent version pip installed).

I've successfully built the pulp-riscv-gnu-toolchain (the toolchain's version referenced by the pulp-sdk's git commit id 3256fe7 Readme) and I've also been able to generate and flash the Pulpissimo bitstream to the Zedboard. However, I can't make the SDK work, which I assume is the only supported way to compile applications on the FPGA with Pulpissimo.

On Ubuntu 16.04, this is the error message that keeps showing after "make all" for pulp-sdk (on root shell, since it's installation path is /opt/riscv, which lacks writing permissions unless I'm root):

Traceback (most recent call last):
  File "./pulp-tools/bin/plpbuild", line 3, in <module>
    import plptools as plp
  File "/opt/riscv/pulp-sdk/pulp-tools/bin/plptools.py", line 23, in <module>
    import plptools_builder
  File "/opt/riscv/pulp-sdk/pulp-tools/bin/plptools_builder.py", line 19, in <module>
    from twisted.internet import protocol, reactor, endpoints
  File "/usr/local/lib/python3.5/dist-packages/twisted/__init__.py", line 10, in <module>
    from twisted._version import __version__ as version
  File "/usr/local/lib/python3.5/dist-packages/twisted/_version.py", line 8, in <module>
    from incremental import Version
  File "/usr/local/lib/python3.5/dist-packages/incremental/__init__.py", line 469
    opt_in: bool
          ^
SyntaxError: invalid syntax
Makefile:6: recipe for target 'all' failed
make: *** [all] Error 1

On Ubuntu 18.04, this is the error message that keeps showing after "make all" for pulp-sdk (also on root shell):

make[2]: /opt/riscv/pulp-sdk/pkg/pulp_riscv_gcc/1.0.13/bin/riscv32-unknown-elf-gcc: Command not found
/opt/riscv/pulp-sdk/build/sdk/pulp-rt/pulpissimo/__rules.mk:58: recipe for target '/opt/riscv/pulp-sdk/build/sdk/pulp-rt/pulpissimo/rt/fc/kernel/init.o' failed
make[2]: *** [/opt/riscv/pulp-sdk/build/sdk/pulp-rt/pulpissimo/rt/fc/kernel/init.o] Error 127
make[2]: Leaving directory '/opt/riscv/pulp-sdk/runtime/pulp-rt'
Makefile:115: recipe for target 'build_all' failed
make[1]: *** [build_all] Error 2
make[1]: Leaving directory '/opt/riscv/pulp-sdk/runtime/pulp-rt'
Reached EOF with exit status 2
FATAL ERROR: the command 'build' has failed
Makefile:6: recipe for target 'all' failed
make: *** [all] Error 255

I'd like to know if it is still possible nowadays to compile and run applications for the Zedboard with Pulpissimo and, if so, I'd like some advice on what I'm doing wrong.

Thanks in advance!

Print this item

  __builtin_pulp
Posted by: yoss - 02-18-2025, 04:31 PM - Forum: PULP General questions - No Replies

Hi everyone

I am looking for the repo which contains the functions in the headline. I think they are in c code.
I would be grateful if someone can provide me with this repo

thanks in advance

Print this item

  XpulpNN march
Posted by: yoss - 02-06-2025, 09:04 AM - Forum: PULP General questions - Replies (2)

Hi everyone,
I am trying to find the compiler toolchain for the XpulpNN micro architecture.
Has anyone ever dealt with this micro architecture before?
Thanks in advance, and have a great day!

Print this item

  Help with llvm/clang compiler for Snitch Cluster simulation (-mcpu=snitch Issue)
Posted by: ThomasMuyal - 01-23-2025, 06:28 PM - Forum: PULP General questions - Replies (2)

Hello, everyone!

I've been trying to simulate a Snitch cluster, and I'm currently facing an issue while compiling software to execute with snitch_cluster.vsim. Specifically, the clang compiler doesn't seem to recognize the -mcpu=snitch option.

This leads me to believe that my llvm for PULP platform build wasn't successful. Here's an overview of what I've done so far:

  1. I cloned the LLVM repository at https://github.com/pulp-platform/llvm-project 
  2. Built LLVM and clang with the following options:

    Code:
    cmake \
        -DCMAKE_BUILD_TYPE="Release" -DLLVM_ENABLE_ASSERTIONS=ON \
        -DCMAKE_INSTALL_PREFIX=${INSTALLPREFIX} \
        -DLLVM_ENABLE_PROJECTS="clang" \
        -DLLVM_TARGETS_TO_BUILD="RISCV" \
        -DLLVM_DEFAULT_TARGET_TRIPLE="riscv32-unknown-elf" \
        -DLLVM_APPEND_VC_REV=OFF \
        -G "Unix Makefiles" ../llvm

  3. Updated my PATH to include the /build/bin directory, the build itself and clang seems to be working properly.

However, when I try to use the -mcpu=snitch flag during my Snitch cluster make all, I get the following error message:

clang-12: warning: argument unused during compilation: '-mcpu=snitch' [-Wunused-command-line-argument]
as well as others indicating that Snitch related clang builtins are not working properly.

Could someone guide me on the correct steps for building LLVM and Clang to include support for the Snitch cluster?

Any help or advice would be greatly appreciated!
Thanks in advance!

Print this item

  Doubts regarding I2S model and udma interface
Posted by: Zyb - 01-09-2025, 11:56 AM - Forum: PULP General questions - No Replies

Hi I would like to know about the i2s model and interface used in pulpissimo.Im using the I2s vip with the RTL at RTL github and the reference manual at  Doc .I had configured the i2s vip as master (using the i2c)that transmits the data and udma as slave to receive it.
Upon observation ,I noticed that :
The I2s vip  transmits data but starts the ws line after the first word.causing the udma i2s to only start receiving data from the second word (the first word is lost).Is this a problem with the i2s vip or due to design considerations involving the i2s protocol.

Some further doubts on :
1)What is the function of snap enable in the i2s vip .
2)How do I enable pdm mode in the i2s receiver udma side.There seems to be working registers for it and configuration wires for it but the documentation is not very clear.
Is it functional and can the i2s interface be configured to accept data in pdm mode?
Does it require only two lines ,the clk and data ?
Also the register documentation seems incomplete with a pdm enable bit that's not in the reference manual with regards to the i2s pdm setup register on page 91 of the manual.

Print this item

  Multi Core PULP first time setup
Posted by: Firasramadan - 12-25-2024, 05:53 PM - Forum: PULP General questions - Replies (1)

Hello all, 

Diring a research project we are planning on using the multi core pulp. We started digging and we have multiple questions and inquiries that we would appreciate your help for: 
1. Where can we find the most updated data for PULP ? The github repository was last updated 2 years ago (?) is this accurate ? Can we rely on that ? 
2. What are the simulation tools that were used and which version work for sure ? I saw alot of questions regarding this point but couldn’t find a decisive answer Smile 
3. In the future, we plane to go for tape-out. Are there any scripts that were used for Synthesis and Place-and-Route ? 
4. Benchmarking: other than the regression tests and simple tests that are available in the repository, is there any other platform or benchmarking guidelines for the multi core pulp ? Or should we build our benchmarks from scratch ? 
5. The SDKs in the repository seems to updated last time in 2019, is that okay ? Does work properly? 
6. Do you have a support for PLLs inside the core or the implementation of IO rings that we could get help from ? 


Your help is much much appreciated, 
Looking forward to hear from you. 

Best, 
Firas

Print this item

  Pulpissimo Support Group Discord
Posted by: Roogadget - 12-04-2024, 11:19 AM - Forum: PULP General questions - No Replies

Hi all,

I've created a discord for anyone interested in joining a working group to work on getting pulpissimo setup.

https://discord.gg/E2wFA9ub

We are also keen to speak to people using Pulpissimo to understand there issues and how they've overcome them.

Dave and Liam

Print this item

  some questions about pulpissimo L1 memory
Posted by: jsen_che11 - 11-25-2024, 02:16 PM - Forum: PULP General questions - Replies (3)

Hello, this is my first time working with PULPissimo for my research group’s project, and I’ve encountered some questions during its use:

  1. Why does PULPissimo seem to lack an L1 cache?
  2. If both data and instructions rely on the L2 cache for caching, wouldn’t that lead to potential conflicts?
Additionally, I’ve noticed that other PULP platforms seem to include an L1 cache. Could you explain the reasoning behind this design choice in PULPissimo? If there are any misunderstandings in my interpretation, I’d greatly appreciate it if you could point them out. Thank you very much!

Print this item

  Some questions.
Posted by: sungyong - 11-12-2024, 03:31 PM - Forum: PULP General questions - No Replies

what is meaning of CVA6(Ariane)? i think CVA6 is riscv 6 stage cpu?, and how about ariane?

Print this item

  what is meaning of ARA? (vector processor)
Posted by: sungyong - 11-11-2024, 02:00 AM - Forum: PULP General questions - Replies (2)

i have some simple question of the name of vector processor

what is the meaning of ARA? is it come from CVA6?(Ariane)

Print this item