Main Content

Simulation command

Format name used to write the simulation command

Model Configuration Pane: EDA Tool Scripts

Description

Format name passed to fprintf to write the simulation command.

Settings

vsim -voptargs=+acc %s.%s\n (default)

Default: vsim -voptargs=+acc %s.%s\n

The first implicit argument, %s, is the library name. The second implicit argument is the top-level module or entity name. If your target language is VHDL®, the library name is the value of VHDL library name. If your target language is Verilog® or SystemVerilog, the library name is 'work' and cannot be changed.

If you compile your filter design with code from other libraries, update VHDL library name to avoid library name conflicts.

Note

Prior to R2020b, the default simulation command was vsim -novopt %s.%s\n. Siemens® ModelSim™ versions prior to 10.7 support the former syntax. If you use a more recent Siemens ModelSim version, use the vsim -voptargs=+acc %s.%s\n syntax.

Tips

To set this property, use the functions hdlset_param or makehdl. To view the property value, use the function hdlget_param.

Recommended Settings

No recommended settings.

Programmatic Use

Property: HDLSimCmd
Type: character vector
Default: 'vsim -novopt %s.%s\n'

Version History

Introduced in R2012a