Technical data
508
-
Logic Modeling Library and Hardware Modeler ModelSim EE/PLUS Reference Manual
There are also some SmartModel Library commands that apply globally to the
current simulation session rather than to models. The form of a SML session
command is:
lmcsession "<SML session command>"
Once again, consult your SmartModel Library documentation for details on these
commands.
SmartModel Windows for VHDL
Some models in the SmartModel Library provide access to internal registers. This
feature is called SmartModel Windows, and is available for VHDL only. Refer to
Logic Modeling’s SmartModel Library Reference Manual for details on this
feature. The simulator interface to this feature is described below.
ReportStatus
The
ReportStatus
command displays model information, including the names of
window registers. For example,
lmc /top/u1 ReportStatus
.
.
.
SmartModel Windows description:
WA "Read-Only (Read Only)"
WB "1-bit"
WC "64-bit"
This model contains window registers named
wa
,
wb
, and
wc
. These names may
be used in subsequent window (
lmcwin
) commands.
SmartModel lmcwin commands
The following window commands are supported:
• lmcwin read <window_instance> [-<radix>]
• lmcwin write <window_instance> <value>
• lmcwin enable <window_instance>
• lmcwin disable <window_instance>
• lmcwin release <window_instance>