hdlsimulink - Load instantiated HDL design for cosimulation with Simulink

Syntax

hdlsimulink [<ncsim_args>] <instance>  
[-socket <tcp_spec>]

Argument

<ncsim_args>

Specifies one or more ncsim command arguments. At a minimum, either -gui or -tcl is required. If you specify -gui, the Simulink GUI launches when the HDL design is loaded. If you specify -tcl, a Tcl script shell launches instead. If you do not specify either of these arguments, the HDL simulator runs the simulation without Simulink. Other valid ncsim arguments may be specified in addition to -gui or -tcl. For more information on -gui, -tcl, or other ncsim arguments, see the description of ncsim in the Cadence Incisive simulator documentation.

<instance>

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

-socket <tcp_spec>

Specifies TCP/IP socket communication for the link between the Cadence Incisive simulator and MATLAB. This setting overrides the setting specified with the MATLAB nclaunch function. The <tcp_spec> can consist of a TCP/IP socket port number or service name (alias). For example, you might specify port number 4449 or the service name matlabservice.

For more information on choosing TCP/IP socket ports, see Choosing TCP/IP Socket Ports.

If you run the HDL simulator and MATLAB on the same computer, you have the option of using shared memory for communication. Shared memory is the default mode of communication and takes effect if you do not specify -socket <tcp-spec> on the command line.

Description

The hdlsimulink command loads the specified instance of an HDL design for cosimulation and sets up the Cadence Incisive simulator so it can establish a communication link with Simulink. The Cadence Incisive simulator opens a simulation workspace into which it loads the HDL design.

Examples

The following command loads the module instance parse from library work for cosimulation, sets up the Cadence Incisive simulator so it can establish a communication link with Simulink, and opens a Tcl script shell:

tclshell> hdlsimulink -gui work.parse
  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS