pulp-platform / pulp

This is the top-level project for the PULP Platform. It instantiates a PULP open-source system with a PULP SoC (microcontroller) domain accelerated by a PULP cluster with 8 cores.
Other
452 stars 114 forks source link

"cannot access 'modelsim.ini'"wwhen make build run #79

Open lzeltser opened 1 year ago

lzeltser commented 1 year ago

make -C sim IPAPPROX= clean\n make[1]: Entering directory '/pulp/sim' make -C ../rtl/tb/remote_bitbang clean make[2]: Entering directory '/pulp/rtl/tb/remote_bitbang' rm -rf librbs.so remote_bitbang.o sim_jtag.o ./.d make[2]: Leaving directory '/pulp/rtl/tb/remote_bitbang' rm -r work rm modelsim.ini make[1]: Leaving directory '/pulp/sim' make -C sim all make[1]: Entering directory '/pulp/sim' make -C ../rtl/tb/remote_bitbang clean make[2]: Entering directory '/pulp/rtl/tb/remote_bitbang' rm -rf librbs.so remote_bitbang.o sim_jtag.o ./.d make[2]: Leaving directory '/pulp/rtl/tb/remote_bitbang' rm -r work rm modelsim.ini chmod: cannot access 'modelsim.ini': No such file or directory make[1]: *** [Makefile:57: lib] Error 1 make[1]: Leaving directory '/pulp/sim' make: *** [Makefile:120: build] Error 2

I am trying to get started with PULP, however I get the message above when I run make build or make clean build. This happened on two different machines, one that used modelsim and one that used questasim. What should I do?

yousefkhaled1750 commented 1 year ago

I've got the same issue as well even though that pulpissimo's make build works just fine.

yousefkhaled1750 commented 1 year ago

Hello @lzeltser, I managed to solve this problem by editing the file (pulp/sim/Makefile) where I commented the last line in the file rm modelsim.ini and then ran again make build.

gagana-05 commented 1 year ago

I've got the same issue as well even though that pulpissimo's make build works just fine.

can you please share the link to which modelsim version are you using, I am getting vopt doesn't exist in the part error

SCS89 commented 9 months ago

Type the following command: export IPAPPROX=1 Then start building it.It worked for me.