| EDA Simulator Link™ IN | ![]() |
hdlsimulink [<ncsim_args>] <instance> [-socket <tcp_spec>]
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.
Specifies the instance of an HDL design to load for cosimulation.
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.
Note The communication mode that you specify with the hdlsimulink command must match what you specify for the communication mode when you configure EDA Simulator Link IN blocks in your Simulink model. For more information on modes of communication, see Communicating with MATLAB or Simulink and the HDL Simulator. For more information on establishing the Simulink end of the communication link, see Configuring the Communication Link in the HDL Cosimulation Block. |
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.
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
![]() | hdlsimmatlab | matlabcp | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |