Documentation

vsimmatlab

Load instantiated HDL module for verification with ModelSim and MATLAB

Syntax

vsimmatlab <instance> [<vsim_args>]

Description

The vsimmatlab command loads the specified instance of an HDL module for verification and sets up ModelSim® so it can establish a communication link with MATLAB®. 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 generally issued in the HDL simulator. It also may be run from the HDL simulator prompt or from a Tcl script shell (tclsh).

Arguments

<instance>

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

<vsim_args>

Specifies one or more ModelSim vsim command arguments. For details, see the description of vsim in the ModelSim documentation.

Examples

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

ModelSim> vsimmatlab work.parse
Was this topic helpful?