24.03.2013 Views

ModelSim SE User's Manual - Electrical and Computer Engineering

ModelSim SE User's Manual - Electrical and Computer Engineering

ModelSim SE User's Manual - Electrical and Computer Engineering

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Creating an elaboration file<br />

Loading an elaboration file<br />

Simulating with an elaboration file UM-83<br />

Elaboration file creation is performed with the same vsim settings or switches as a normal<br />

simulation plus an elaboration specific argument. The simulation settings are stored in the<br />

elaboration file <strong>and</strong> dictate subsequent simulation behavior. Some of these simulation<br />

settings can be modified at elaboration file load time, as detailed below.<br />

To create an elaboration file, use the -elab or -elab_cont <br />

argument to vsim (CR-373).<br />

The -elab_cont argument is used to create the elaboration file then continue with the<br />

simulation after the elaboration file is created. You can use the -c switch with -elab_cont<br />

to continue the simulation in comm<strong>and</strong>-line mode.<br />

Important: Elaboration files can be created in comm<strong>and</strong>-line mode only. You cannot<br />

create an elaboration file while running the <strong>ModelSim</strong> GUI.<br />

To load an elaboration file, use the -load_elab argument to vsim (CR-373). By<br />

default the elaboration file will load in comm<strong>and</strong>-line mode or interactive mode depending<br />

on the argument (-c or -i) used during elaboration file creation. If no argument was used<br />

during creation, the -load_elab argument will default to the interactive mode.<br />

The vsim arguments listed below can be used with -load_elab to affect the simulation.<br />

+<br />

-c or -i<br />

-do <br />

-vcdread <br />

-vcdstim <br />

-filemap_elab =<br />

-l <br />

-trace_foreign <br />

-quiet<br />

-wlf <br />

Modification of an argument that was specified at elaboration file creation, in most cases,<br />

causes the previous value to be replaced with the new value. Usage of the -quiet argument<br />

at elaboration load causes the mode to be toggled from its elaboration creation setting.<br />

All other vsim arguments must be specified when you create the elaboration file, <strong>and</strong> they<br />

cannot be used when you load the elaboration file.<br />

Important: The elaboration file must be loaded under the same environment in which it<br />

was created. The same environment means the same hardware platform, the same OS<br />

<strong>and</strong> patch version, <strong>and</strong> the same version of any PLI/FLI code loaded in the simulation.<br />

<strong>ModelSim</strong> <strong>SE</strong> User’s <strong>Manual</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!