vsimmatlab - Load instantiated HDL module for verification with ModelSim and MATLAB - MATLAB (original) (raw)

Main Content

Load instantiated HDL module for verification with ModelSim and MATLAB

Syntax

Description

Note

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

vsimmatlab [instance](#mw%5F6bc4d45a-7ea3-450f-b542-d91bf5808509) 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 packages and architectures of the HDL design.

You can run this command from the HDL simulator prompt or from a Tcl script shell (tclsh).

example

vsimmatlab [instance](#mw%5F6bc4d45a-7ea3-450f-b542-d91bf5808509) <[vsim_args](#mw%5F4c7e1b69-d774-436d-9251-4540deacf9a0)> uses additional vsim command line arguments.

Examples

collapse all

In ModelSim, load the HDL module instance parse from the librarywork, establishing communication with MATLAB.

ModelSim> vsimmatlab work.parse

Input Arguments

collapse all

Instance of the HDL module to load for verification, specified as HDL instance name (as required by ModelSim).

Example: work.parse

Data Types: char | string

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

Version History

Introduced in R2008a