Technical data

VHDL SmartModel interface
ModelSim EE/PLUS Reference Manual Logic Modeling Library and Hardware Modeler
-
507
coming from the SmartModel Library. For example, a SML error message is
prefixed with the following line:
** Error (SmartModel):
<the actual message text goes here>
SPARCstation note
With SunOS 4.1.3, there are additional steps to take in order to simulate with the
SmartModel Library. First, add the path to the Logic Modeling SWIFT software
to the LD_LIBRARY_PATH environment variable; for example:
setenv LD_LIBRARY_PATH $LMC_HOME/lib/sun4SunOS.lib
This is a necessary substitute for the libswift entry in the
modelsim.ini
project file
described in "VHDL SmartModel interface" (p502).
Also, rather than use the normal simulator command with SunOS 4.1.3, you must
invoke the simulator with:
vsim.swift
Command channel
The command channel is a SmartModel Library feature that lets you invoke
SmartModel Library specific commands. These commands are documented in the
SmartModel Library documentation. VSIM provides access to the Command
Channel from the VSIM command line. The form of a SML model command is:
lmc <instance_name>|-all "<SML model command>"
The instance_name argument is either a full hierarchical name or a relative name
of a SML model instance. A relative name is relative to the current environment
setting (see ENVIRONMENT command in this manual). For example, to turn
timing checks off for SML model "/top/u1":
lmc /top/u1 "SetConstraints Off"
Use "-all" to apply the command to all SML model instances. For example, to turn
timing checks off for all SML model instances:
lmc -all "SetConstraints Off"