PULP Community
Buid failed - 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: Buid failed (/showthread.php?tid=127)



Buid failed - hithaishi_t - 10-22-2019

Hello,

I am trying to build RTL simulation platform for pulpissimo and for the command "make clean lib build opts", I am getting the following error.

Modifying /root/altera/16.0/modelsim_
ase/linuxaloem/../modelsim.ini
Building L2_tcdm_hybrid_interco/soc_interconnect
Building adv_dbg_if/adv_dbg_if
Building apb2per/apb2per
Building apb_adv_timer/apb_adv_timer
Building apb_fll_if/apb_fll_if
Building apb_gpio/apb_gpio
Building apb_node/apb_node
Building apb_interrupt_cntrl/apb_interrupt_cntrl
Building axi_node/axi_node
Building axi_slice/axi_slice
Building axi_slice_dc/axi_slice_dc
Building axi_mem_if/axi_mem_if
Building timer_unit/timer_unit
Building common_cells/common_cells_all
** Error: ../ips/common_cells/src/id_queue.sv(268): Questa has encountered an unexpected internal error: ../../src/vlog/vgentd.c(515). Please contact Questa support at http://supportnet.mentor.com/
/root/pulp-sdk/pulpissimo/sim/vcompile//ips/common_cells.mk:73: recipe for target '/root/pulp-sdk/pulpissimo/sim/modelsim_libs/common_cells_lib/common_cells_all.vmake' failed
make[2]: *** [/root/pulp-sdk/pulpissimo/sim/modelsim_libs/common_cells_lib/common_cells_all.vmake] Error 2
/root/pulp-sdk/pulpissimo/sim//vcompile/ips.mk:14: recipe for target 'build' failed
make[1]: *** [build] Error 2
Makefile:33: recipe for target 'build' failed
make: *** [build] Error 2

Can you please tell me how to rectify this?

Thanks and Regards
Hithaishi


RE: Buid failed - kgf - 10-22-2019

It seems like you are using the Altera version of Questasim. This is a simulator that is packaged with Altera, to be used for developing Altera FPGA designs. In the past people have commented that this version is not usable for PULP projects. It is not necessarily a mistake on the PULP source code, it is more that, the Altera Edition seems to be a limited version of the whole simulator.

It should work with a 'regular' Mentor Questasim


RE: Buid failed - hithaishi_t - 10-22-2019

(10-22-2019, 09:49 AM)kgf Wrote: It seems like you are using the Altera version of Questasim. This is a simulator that is packaged with Altera, to be used for developing Altera FPGA designs. In the past people have commented that this version is not usable for PULP projects. It is not necessarily a mistake on the PULP source code, it is more that, the Altera Edition seems to be a limited version of the whole simulator.

It should work with a 'regular' Mentor Questasim

Hi....
I have installed altera modelsim 10.4d not the questasim. I'm so confused and couldn't understand why am I getting the error for questasim

Regards
Hithaishi


RE: Buid failed - kgf - 10-25-2019

Sorry if it was not clear:
We have heard that it does NOT work on Altera Modelsim editions. Our scripts/Makefiles will work with a proper Mentor Questasim installation (at least thatis what we have and test them).

If someone has the time to understand and fix issues related to Altera Modelsim (or any other) simulator we will be very happy to add the support as well.