Closed ido-raz closed 3 years ago
Hello, Any idea what can be the problem? Thanks
Hi @ido-raz sorry for not answering earlier -- this came in during the winter holidays.
Can you report the output of the vlog -version
command?
Hi, Thank you for you response. The output of the command vlog -version is: QuestaSim-64 vlog 10.0c Compiler 2011.07 Jul 21 2011
Is this info gives any clue about the reason to the error? Thanks
Hello Same problem here vlog -version is: Model Technology ModelSim ALTERA vlog 10.1d Compiler 2012.11 Nov 2 2012
make output:
** Error: ../ips/common_cells/src/lzc.sv(58): near "'": syntax error, unexpected '\'', expecting ';' or ','
** Error: ../ips/common_cells/src/popcount.sv(21): near "localparam": syntax error, unexpected localparam
** Error: ../ips/common_cells/src/rr_arb_tree.sv(137): near "'": syntax error, unexpected '\''
** Error: ../ips/common_cells/src/rr_arb_tree.sv(172): near "'": syntax error, unexpected '\'', expecting ';' or ','
** Error: ../ips/common_cells/src/rr_arb_tree.sv(198): near "'": syntax error, unexpected '\''
** Error: ../ips/common_cells/src/stream_demux.sv(20): near "localparam": syntax error, unexpected localparam
** Error: ../ips/common_cells/src/stream_mux.sv(18): near "localparam": syntax error, unexpected localparam
** Error: ../ips/common_cells/src/id_queue.sv(47): near "localparam": syntax error, unexpected localparam
** Error: ../ips/common_cells/src/stream_arbiter_flushable.sv(77): near "$fatal": syntax error, unexpected SYSTEM_IDENTIFIER
/root/PULP/pulpissimo/sim/vcompile//ips/common_cells.mk:73: recipe for target '/root/PULP/pulpissimo/install/modelsim_libs/common_cells_lib/common_cells_all.vmake' failed
make[3]: *** [/root/PULP/pulpissimo/install/modelsim_libs/common_cells_lib/common_cells_all.vmake] Error 2
/root/PULP/pulpissimo/sim//vcompile/ips.mk:14: recipe for target 'build' failed
make[2]: *** [build] Error 2
Makefile:16: recipe for target 'build' failed
make[1]: *** [build] Error 2
make[1]: Leaving directory '/root/PULP/pulpissimo/sim'
Makefile:44: recipe for target 'build' failed
make: *** [build] Error 2
Your version of modelsim doesn't support these SystemVerilog features. PULPissimo
itself doesn't use most of common_cells
though and uses a more conservative set of features from SystemVerilog so I suppose It would be possible to get it running by removing the the offending stuff from common_cells
.
I went through all our modelsim/questasim versions and it seems like
Questa Sim vsim 10.3e Simulator 2015.02 Feb 23 2015
is at least required for now.
Hello,
I am trying to build the simulation environment of the PULPissimo and follow the instruction in the README. When running the make command in the 'Building the RTL simulation platform' section I get the following error when the make get to build the 'tbtools' (the same error happened when the make tries to build the 'tb' component): (Also attached print screen)
Please help. Thanks, Ido