PULP Community
PULPissimo RTL Simulation Building - Printable Version

+- PULP Community (https://pulp-platform.org/community)
+-- Forum: PULP's Community forum (https://pulp-platform.org/community/forumdisplay.php?fid=1)
+--- Forum: PULP General questions (https://pulp-platform.org/community/forumdisplay.php?fid=2)
+--- Thread: PULPissimo RTL Simulation Building (/showthread.php?tid=124)



PULPissimo RTL Simulation Building - hithaishi_t - 10-21-2019

Hello All...

I have been trying to install PULPissimo. I have installed all the dependencies and now im working on building RTL simulation platform. For the command "make clean lib build opts" i'm getting the following errors 

/bin/bash: vlib: command not found
vcompile/build.mk:56: recipe for target '/root/pulp-sdk/pulpissimo/sim/modelsim_libs/L2_tcdm_hybrid_interco_lib' failed
make[2]: *** [/root/pulp-sdk/pulpissimo/sim/modelsim_libs/L2_tcdm_hybrid_interco_lib] Error 127
/root/pulp-sdk/pulpissimo/sim//vcompile/ips.mk:53: recipe for target 'lib' failed
make[1]: *** [lib] Error 2
Makefile:37: recipe for target 'lib' failed
make: *** [lib] Error 2


Can i know what to do next ?


Thanks and Regards
Hithaishi


RE: PULPissimo RTL Simulation Building - gideros - 10-21-2019

You will need ModelSim/QuestaSim installed on your system.


RE: PULPissimo RTL Simulation Building - hithaishi_t - 10-21-2019

I have already installed Modelsim.


RE: PULPissimo RTL Simulation Building - kgf - 10-21-2019

Hello, 

The first error says 
 /bin/bash: vlib: command not found

vlib is part of Questasim/modelsim. The make file is reporting that it can not find the command. Maybe you have installed it, but it is not in a place where this instance of the makefile can access it.  


RE: PULPissimo RTL Simulation Building - hithaishi_t - 10-21-2019

How am I supposed to find it sir ? Is there any methods to find it ?


RE: PULPissimo RTL Simulation Building - gideros - 10-21-2019

You have to add ModelSim's bin directory to your PATH.
Let's say your modelsim installation path is /opt/modelsim (it should be different on your side), you can do it by execute:
export PATH=$PATH:/opt/modelsim/bin
You can check if you done it correctly or not by execute "which vsim" or "which vlib".