Main Content

vsimmatlabsysobj

Load instantiated HDL module for cosimulation with ModelSim and MATLAB System object

Description

Note

Use this command in ModelSim™, not in MATLAB®.

vsimmatlabsysobj instance loads the specified instance of an HDL design for cosimulation and sets up ModelSim to establish a shared communication link with a MATLAB System object™. ModelSim opens a simulation workspace and displays a series of messages in the command window as it loads the HDL module packages and architectures.

To generate the vsimmatlabsysobj function, you must first execute the vsim function in MATLAB.

example

vsimmatlabsysobj instance <vsim_args> uses additional vsim command line arguments.

vsimmatlabsysobj instance -socket tcp_spec establishes a communication link with a MATLAB System object over a Transmission Control Protocol (TCP) socket.

Examples

collapse all

In ModelSim, load the HDL module instance parse from the library work, establishing communication with the MATLAB cosimulation System object.

ModelSim> vsimmatlabsysobj work.parse

Input Arguments

collapse all

Instance of the HDL module to load for cosimulation.

vsim command arguments, as required by ModelSim. For details, see the description of vsim in the ModelSim documentation.

TCP/IP socket communication for the link between ModelSim and MATLAB, specified as a TCP/IP port name or service name. If the MATLAB server is running on a remote host, you must also specify the name or internet address of the remote host. When this input argument is not specified, the function uses shared memory communication. This setting overrides the setting specified with the MATLAB vsim function.

Version History

Introduced in R2012b

See Also

|