(02-06-2025, 12:35 PM)kgf Wrote: Hello,
The README states:
For both library are strictly required to have:
* pulp-sdk on Linux-based machine. If you have not done yet, please refer to its README for the right installation on your machine;
* pulp-toolchain on the same machine. If you have not done yet, please refer to its README for the right installation on your machine;
https://github.com/pulp-platform/pulp-sdk
https://github.com/pulp-platform/pulp-ri...-toolchain
Hi kgf,
Thanks for replying.
You are referring to the
pulp_nn repository, which contains the kernels for the XpulpNN architecture written in c.
I am referring to the
XpulpNN repository, which contains the RTL files for this architecture.
I am trying to find the right compiler that can handle the XpulpNN-specific instructions using the RTL files.
In the
XpulpNN repository, I noticed a directory called
ci, which contains a file named
build-riscv-gcc.sh . I assume this script is meant to simplify the process of finding the right compiler and the necessary shell commands for installation. However, the -march option specified in the script targets
rv32gc.
Additionally, in the tb/core/ directory, the
Makefile uses the
rv32imc architecture.
While exploring the repositories of the
PULP GNU Toolchain, I found a compiler that supports the rv32imcXpulpnn architecture, which I believe is the one I need.
I might be misunderstanding something, but since the files in the
XpulpNN repository use different -march options, my question is:
Is rv32imcXpulpnn the correct march for
XpulpNN?
If so, do you have access to a repository with the correct files supporting this architecture, or should I simply modify the -arch options in the existing files?
Thanks in advance for your help!