EDK/ISE 7.1 SmartModel Set-up Issue with ModelSim 6.0a

Jul 06, 2005 5 Replies

Hi,



I'm using ModelSim SE 6.0a with ISE 7.1 (SP 2) and EDK (SP 1). I get the following error with the PPC SmartModel.



# Loading work.ppc405_0_wrapper(structure) # Loading C:/simlib/EDK_Lib/ppc405_v2_00_c/.ppc405_top(structure) # Loading C:/simlib/unisim/.ppc405(ppc405_v) # Loading C:/simlib/unisim/.ppc405_swift_bus(ppc405_swift_bus_v) # Loading C:/simlib/unisim/.ppc405_swift(smartmodel) # Loading c:\Modeltech_6.0a\win32/libsm.dll # ** Error: Unable to read LMC SmartModel library file "** Fatal: Foreign module requested halt. # Time: 0 ps Iteration: 0 Instance: /system/ppc405_0/ppc405_0/ppc405_i/ippc405_swift/ppc405_swift_inst File: C:/Xilinx/smartmodel/nt/wrappers/mtivhdl/smartmodel_wrappers.vhd # FATAL ERROR while loading design # Error loading design # Error: Error loading design



The VHDL file, C:/Xilinx/smartmodel/nt/wrappers/mtivhdl/smartmodel_wrappers.vhd, is where it is supposed to be and it looks legit when I open it. Also, I recently upgraded from EDK 6.3, in which the SmartModel worked well. In the upgrade, I followed the usual set of procedures

formatting link
page 120). Additionally, all the simulations were re-compiled for the new versions of ISE and EDK.



Has anyone experienced similar issues with getting the SmartModel to work in 7.1 for a Win XP machine? Any undocumented quirks with the tools?



Thanks,



NN



Hi,

can you compile "smartmodel_wrappers=AD.vhd " stand-alone ?

Is that module instantiated somewhere in a top level module ?

Rgds Andr=E9

Hi,

do you have changed the modelsim.ini before you started the simulation?

The smartmodel_wrappers.vhd does not appear to be your problem. The error message claims the problem is with the "LMC" library. This would probably be defined in your modelsim project file with a line like:

libswift = $LMC_HOME/lib/x86_linux.lib/libswift.so

Have you made sure that the combination of the environment variable and the rest of the line points to the correct file?

Yes, I have these variables set appropriately (as instructed by the Platform Studio User Guide, page 120). In my modelsim.ini, I have:

libswift = $LMC_HOME/lib/pcnt.lib/libswift.dll

where $LMC_HOME points to %XILINX%\smartmodel\nt\installed_nt.

I did not change this configuration when upgrading from 6.3 to 7.1. In

6.3, this used to work, but it no longer does for 7.1.

I resolved the issue and now the error goes away: I noticed that my installation of ISE was an evaluation one (the one that comes with the EDK CD's), so I installed the real version (the one that comes in the ISE CD packages). For some reason, the eval version wasn't properly compiling the libraries and/or preventing the usage of the SmartModel... In any case, using the non-eval version got it running.

NN

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required