07-02-2012 01:48 AM
I wanted simulating my VHDL file with modelsim from AutoESL but errors appeared.
@W [SIM-58] Cannot find gcc installation in ModelSim directory, using '[AP::which "gcc"]'. @E [SIM-24] TB preprocess failed : cc1: error: /usr/lsa/bin/../include/systemc: not a directory @E [AP-70] Cannot find file /users/user1/testcos/solution1/./sim/autowrap/test
bench/testtestcos.c_pre.c. @E [SIM-4] *** AutoSim finished: FAIL *** while executing "::AESL_AUTOSIM::auto_sim "$args" "
Has anyone seen this?
07-09-2012 11:33 AM
When AutoESL runs the RTL simulation, it re-uses the C test bench (to generate the input stimuli and check the output results). As such it perform a C-HDL co-simulation.
1) Licened to simulate the HDL you select.
2) Licensed to execute SystemC (I believe the feature is called "msimsystemc" but Mentor could change that, it's always better to contact Mentor Graphics support).
You must have the gcc package installed. To find and install the gcc package, search the installation instructions for "gcc". It's a package of the form "<product>-gcc-4.2.1-mingw32.zip" (but again, check with Mentor support). if on a 64-bit machine,
On a 64-bit Linux machine, ModelSim must be run in 32-bit mode in order for the SystemC support to work. This is controlled by the MTI_VCO_MODE [32|64] environment variable, which is discussed in the installation guide.