This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Load instantiated HDL module for cosimulation with ModelSim and Simulink


vsimulink instance> [<vsim_args>]


The vsimulink command loads the specified instance of an HDL module for cosimulation and sets up ModelSim® so it can establish a communication link with Simulink®. ModelSim opens a simulation workspace and displays a series of messages in the command window as it loads the HDL module's packages and architectures.

This command is issued in the HDL simulator. The communication mode is determined by the call to vsim, which must be issued before you call vsimulink.



Specifies the instance of an HDL module to load for cosimulation.


Specifies one or more ModelSim vsim command arguments. For details, see the description of vsim in the ModelSim documentation. Do not issue a command such as vsim < with this parameter.


The following command loads the HDL module instance parse from library work for cosimulation and sets up ModelSim so it can establish a communication link with Simulink:

ModelSim> vsimulink work.parse

Introduced in R2008a