Products & Services Solutions Academia Support User Community Company

Learn more about EDA Link Simulator   

tclHdlSim - (For ModelSim) Execute Tcl command in HDL simulator

Syntax

tclHdlSim(tclCmd)
tclHdlSim(tclCmd,'portNumber')
tclHdlSim(tclCmd, 'portnumber', 'hostname')

Description

tclHdlSim(tclCmd) executes a Tcl command on the HDL simulator using a shared connection.

tclHdlSim(tclCmd,'portNumber') executes a Tcl command on the HDL simulator by connecting to the local host on port portNumber.

tclHdlSim(tclCmd, 'portnumber', 'hostname') executes a Tcl command on the HDL simulator by connecting to the host hostname on port portname.

The HDL simulator must be connected to MATLAB using the EDA Simulator Link software for this function to work (see Starting the HDL Simulator.) If you start from within MATLAB, you must use vsimmatlab.

Examples

The following function call displays a message in the HDL simulator command window using port 5678 on host name msuser:

tclHdlSim('puts "Done"', '5678', 'msuser')

See Also

hdldaemon, vsim

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

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