Products & Services Solutions Academia Support User Community Company

Learn more about EDA Link Simulator   

Start hdldaemon to Provide Connection to HDL Simulator

Start the MATLAB server as follows:

  1. Start MATLAB.

  2. In the MATLAB Command Window, call the hdldaemon function with property name/property value pairs that specify whether the EDA Simulator Link software is to perform the following tasks:

    • Use shared memory or TCP/IP socket communication

    • Return time values in seconds or as 64-bit integers

    See hdldaemon reference documentation for when and how to specify property name/property value pairs and for more examples of using hdldaemon.

    For example, the following command specifies using socket communication on port 4449 and a 64-bit time resolution format for the MATLAB function's output ports.

    hdldaemon('socket', 4449, 'time', 'int64')

      Note   The communication mode that you specify (shared memory or TCP/IP sockets) must match what you specify for the communication mode when you initialize the HDL simulator for use with a MATLAB link session using the matlabtb or matlabcp function. In addition, if you specify TCP/IP socket mode, the socket port that you specify with hdldaemon and matlabtb or matlabcp must match. For more information on modes of communication, see Specifying TCP/IP Socket Communication.

The MATLAB server can service multiple simultaneous HDL simulator modules and clients. However, your M-code must track the I/O associated with each entity or client.

  


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