04-25-2025, 01:41 PM
(12-06-2022, 09:57 AM)kgf Wrote: I am sorry if more people are not responding, but there is also not a direct question to be honest. gapy seems to be some internal python generator that resides inside the PULP SDK. I appreciate the interest, but why is this of so much interest? Is there something that is not working? Is there some issue with a part of it?
Slide 9 actually contains a list of peripherals that is being supported. These are peripherals, you either use them (like SPI, UART) or you don't, they do not enhance simulator performance, it adds a peripheral to the system that is being simulated with GVSoC. In theory you could mix and match a system according to your whims (5 UARTs..7 SPIs) and develop applications that run on this system (i.e. reading and writing to these peripherals) and debug your system. The slide contains a reference to the documentation.
A tested configuration would be that of GAP8 (a commercial chip by Greenwaves) for example..
I hope that helps.
yes, actually there is, i am trying to run pulp-nn tests and i am getting the following error created from gapy:
LD /pulp-nn-mixed/XpulpNN/32bit/test/BUILD/PULP/GCC_RISCV//test/test
/pulp-sdk/tools/gapy/gapy --py-target=Pulp_open_board@pulp_open.pulp_open_board --platform=rtl --work-dir=pulp-nn-mixed/XpulpNN/32bit/test/BUILD/PULP/GCC_RISCV/ --config-opt=cluster/nb_pe=8 run --image --binary=pulp-nn-mixed/XpulpNN/32bit/test/BUILD/PULP/GCC_RISCV//test/test
Traceback (most recent call last):
File "pulp-sdk/tools/gapy/gapy", line 26, in <module>
from errors import FatalError, InputError
File "pulp-sdk/tools/gapy/errors.py", line 21, in <module>
import common
File "pulp-sdk/tools/gapy/common.py", line 34, in <module>
from tools.runner.runner import Runner
ModuleNotFoundError: No module named 'tools'
make: *** [pulp-sdk/rtos/pulpos/common/rules/pulpos/default_rules.mk:354: image] Error 1