Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lzeltser opened this issue Mar 2, 2023 · 4 comments
Open

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

lzeltser opened this issue Mar 2, 2023 · 4 comments

Comments

@lzeltser
Copy link

lzeltser commented Mar 2, 2023

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
Copy link

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

@yousefkhaled1750
Copy link

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
Copy link

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
Copy link

SCS89 commented Jan 31, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants