Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Newbie
testproject
Posts: 1
Registered: ‎07-02-2012
0

[AutoESL]Modelsim_RTLsimulation

 

Hello,

 

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/testbench/testtestcos.c_pre.c.
@E [SIM-4] *** AutoSim finished: FAIL ***

    while executing
"::AESL_AUTOSIM::auto_sim "$args" "

 Has anyone seen this?

 

Thank you.

Xilinx Employee
duncanm
Posts: 20
Registered: ‎03-22-2011
0

Re: [AutoESL]Modelsim_RTLsimulation

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.

 

 

ModelSim must:

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.