Main Content


Load instantiated HDL module for cosimulation with Cadence Xcelium and MATLAB System object




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

hdlsimmatlabsysobj instance loads the specified instance of an HDL design for cosimulation and sets up Cadence Xcelium to establish a shared communication link with a MATLAB System object™. Xcelium 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 hdlsimmatlabsysobj function, you must first execute the nclaunch function in MATLAB.


hdlsimmatlabsysobj instance <xmsim_args> uses additional Xcelium command line arguments.


hdlsimmatlabsysobj instance -socket tcp_spec <xmsim_args> establishes a communication link with a MATLAB System object over a Transmission Control Protocol (TCP) socket. This setting overrides the setting specified with the MATLAB nclaunch function.


collapse all

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

 tclshell> hdlsimmatlabsysobj -gui work.parse

Input Arguments

collapse all

Instance of the HDL module to load for cosimulation.

xmsim command arguments, as required by Xcelium. For details, see the description of xmsim in the Xcelium documentation.

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

Version History

Introduced in R2012b