Configuring the Communication Link

Configure a block's communication link with the Comm tab of the block parameters dialog.

The following steps guide you through the communication configuration. The figure that follows shows the steps in a flow diagram:

  1. Determine whether Simulink and ModelSim are running on the same computer. If they are, skip to step 4.

  2. Clear the ModelSim running on this computer check box. This check box is selected by default.

  3. In the Host name text field, specify the host name of the computer that is running your VHDL simulation in ModelSim. Skip to step 6.

  4. Decide whether you are going to use shared memory or TCP/IP sockets for the communication channel. For information on the different modes of communication, see Modes of Communication. If you choose TCP/IP sockets, skip to step 6.

  5. Select the Shared memory check box and skip step 7.

  6. In the Port number or service text field, specify a valid port number or service for your computer system. For information on choosing TCP/IP socket ports, see Choosing TCP/IP Socket Ports.

  7. Click Apply.

The following dialog display shows communication definitions for a VHDL Cosimulation block.

The preceding sample Comm tab display specifies that


Learn more about the latest releases of MathWorks products:

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