User guide
16-12
SWIFT VMC Models and SmartModels
$lm_load_file
Loads the memory contents of a file into an instance (the contents
of this file are in a specific memory dump format). The instance
can be either a programmable device or a memory model. Using
this system task eliminates the write cycles required to set up the
contents of the model. You can also use this system task to load
a model control file (MCF) during simulation. Its syntax is as
follows:
$lm_load_file("instance_name","filename"
[,"MEMORY|JEDEC|PCL|SCF|MCF"]);
Model, Session, PCL, and SmartBrowser commands are described
in the SmartModel Library User’s Manual.
Note:
The instance_name argument in the $lm_monitor_enable
and $lm_monitor_disable system tasks is not enclosed in
quotation marks whereas the quotation marks are required in the
$lm_command, $lm_dump_file, and $lm_load_file
system tasks.
For complete and authoritative information on these LMTV
SmartModel window commands, see the SmartModel Library
Simulator Interface Manual. The information on these commands is
in the interface information for Verilog-XL but this information is also
good for VCS. VCS supports these tasks to make it easy for people
to move from Verilog-XL to VCS.
You can access these documents at http://www.synopsys.com/
products/lm/docs.