how to compile and run an application for Pulpissinio on FPGA
(09-19-2019, 11:00 PM)meggiman Wrote:
(09-17-2019, 04:09 PM)mapletree Wrote: Hi Manuel,

Thank you so much for your help! I reinstalled the SDK that provides the right openocd for riscv. now I can run the hello world on my ZCU102 board!

I still have a few questions regarding the pulp tools:

a) regarding pulp-builder and pulp-sdk:

on the pulpissimo platform github page (, it asks to install the pulp-builder instead of pulp-sdk as software development kit. I actually installed it and used it to build the hello world application running on the pulpissimo RTL simulation platform. However it seems not including the openocd for riscv, and it has a few other differences from the pulp-sdk as well. I am just wondering what are pulp-sdk and pulp-builder for respectively? when should I use pulp-builder and when to use pulp-sdk?

b). Regarding the openocd and the pulp-debug-bridge: is the pulp-debug-bridge required by the openocd? The pulp-debug-bridge was mentioned on the SDK build process web page, and I installed it following the instructions provided on the pulp-debug-bridge web page, but it seems not working for my platform when I tried the plpbridge command, it complained "ImportError: No module named 'bridge'


Hi Mapletree,

Pulp-builder is a set of script to quickly setup a version of the pulp-sdk that is compatible with the PULPissimo simulation target. In the end it uses the same sdk with a simpler but less feature complete installation flow custom tailored to pulpissimo wheras pulp-sdk can be used with almost all PULP platforms. If you already have the pulp-sdk installed as a standalone you can keep using this one. However it happens from time to time that some new bleeding edge features temporarily breaks compatibility with some platforms. So update with care...

The pulp-debug-bridge mentioned in the sdk was used to communicate with our old legacy debug module in older versions of PULPissimo. It has been superseeded by the new riscv debug spec compliant module. Technically, the old module is still present in the design side-by-side with the new one. While you used the pulp-debug-bridge to connect to the old debug module you now use openocd to communicate with the new one.


Thanks so much for your reply Manuel! it is clear to me now!


Messages In This Thread
RE: how to compile and run an application for Pulpissinio on FPGA - by mapletree - 09-20-2019, 02:57 PM

Forum Jump: