Main Content


Load instantiated HDL module for cosimulation with Cadence Xcelium and Simulink




Issue this command in Cadence® Xcelium™, not in MATLAB®.

hdlsimulink instance -socket tcp_spec <xmsim_args> loads the specified instance of HDL design for cosimulation and sets up the Cadence Xcelium simulator so it can establish a shared communication link with Simulink®. The Xcelium simulator opens a simulation workspace into which it loads the HDL design.

To generate the hdlsimulink function, you must first invoke the nclaunch function in MATLAB.


Load Instantiated HDL Model for Cosimulation with Simulink

In Xcelium, load the HDL module instance parse from the library work. This action also establishes communication with Simulink and opens a Tcl script shell.

tclshell> hdlsimulink -gui work.parse

Input Arguments

collapse all

Instance of HDL design to load for cosimulation.

Specify one or more xmsim command line arguments. Do not use -GUI, -BATCH, or -TCL. For details, see the description of xmsim in the Xcelium simulator documentation.

TCP/IP socket communication for the link between the Xcelium simulator and Simulink, 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 nclaunch function.

Version History

Introduced in R2008a