PULP Community

Full Version: Building an RTL simulation platform Error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
I followed the readme file of pulpissimo  for building an RTL simulation platform. After the following steps


Code:
source setup/vsim.sh

make build

I am getting error like this

Code:
make -C ../rtl/tb/remote_bitbang all
make[2]: Entering directory '/opt/pulpissimo/rtl/tb/remote_bitbang'
cc -MT remote_bitbang.o -MMD -MP -MF ./.d/remote_bitbang.Td -std=gnu11 -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-function -Wno-missing-braces -O2 -g -march=native -DENABLE_LOGGING -DNDEBUG -fPIC -I./  \
    -c  remote_bitbang.c -o remote_bitbang.o
ld -shared -E --exclude-libs ALL -o librbs.so  \
    remote_bitbang.o sim_jtag.o
make[2]: Leaving directory '/opt/pulpissimo/rtl/tb/remote_bitbang'
/opt/pulpissimo/sim//tcl_files/rtl_vopt.tcl
/usr/bin/env: ‘tclsh’: No such file or directory
Makefile:37: recipe for target 'opt' failed
make[1]: *** [opt] Error 127
make[1]: Leaving directory '/opt/pulpissimo/sim'
Makefile:47: recipe for target 'build' failed
make: *** [build] Error 2

 I am using ModelSim - Intel FPGA Edition 20.3 (includes Starter Edition).  Please help me ..
 
(11-03-2020, 10:24 AM)RiscV Wrote: [ -> ] I am using ModelSim - Intel FPGA Edition 20.3 (includes Starter Edition).  Please help me ..
 

That is the problem. You need a proper Questasim, not something that ships as part of the Intel/Altera. It could well be that the system can be made to run with the Intel/Altera Starter edition version, we just do not have the time to work it out. If you fix the issue (it is one of the most commonly asked ones) and issue a pull request on the GitHub it would help many..

Sorry about that, 
KGF