Getting Started

   What Is the Link for ModelSim?
      Typical Applications
      Expected Users
      Key Features
      The Cosimulation Environment
      Modes of Communication
      Working with MATLAB and ModelSim
      Working with Simulink and ModelSim

   Installation and Setup
      What Are Your Environment Requirements?
      Deciding on a Configuration
      Identifying a Server in a Network Configuration
      Choosing TCP/IP Socket Ports
      Checking Product Requirements
      Installing Related Application Software
      Installing Link for ModelSim
      Setting Up ModelSim for Use with the Link for ModelSim

   Getting Help with the Link for ModelSim
      Documentation Overview
      Online Help
      Demos and Tutorials

   Running the ModelSim and MATLAB Random Number Generator Demo
   Running the Simulink and ModelSim Manchester Receiver Demo

MATLAB and ModelSim Tutorial

   Setting Up Tutorial Files
   Starting the MATLAB Server
   Setting Up ModelSim
   Developing the VHDL Code
   Compiling the VHDL File
   Loading the Simulation
   Developing the MATLAB Function
   Running the Simulation
   Shutting Down the Simulation

Simulink and ModelSim Tutorial

   Developing the VHDL Code
   Compiling the VHDL File
   Creating the Simulink Model
   Setting Up ModelSim for Use with Simulink
   Loading Instances of the VHDL Entity for Cosimulation with Simulink
   Running the Simulation
   Shutting Down the Simulation

MATLAB and ModelSim Manchester Receiver Tutorial

   Background on Manchester Encoding
      The Encoding
      The Receiver
      Decoding with Inphase and Quadrature Convolution

   Setting Up Tutorial Files
   Developing the Manchester Receiver VHDL Code
      VHDL Code for the I/Q Convolver
      VHDL Code for the Decoder
      VHDL Code for the State Counter

   Compiling the Manchester Receiver VHDL Files
   Developing the Manchester Receiver MATLAB Functions
      MATLAB Function for the I/Q Convolver
      MATLAB Function for the Decoder
      MATLAB Function for the State Counter

   Creating a Manchester Receiver Test Bench Script
      Documenting the Script
      Starting the MATLAB Server from the Test Script
      Writing Script Code for the Decoder Test
      Writing Script Code for the I/Q Convolver Test
      Writing Script Code for the State Counter Test

   Running the Manchester Receiver Simulation

Coding a Link for ModelSim MATLAB Application

   Overview
   Coding VHDL Entities for MATLAB Verification
      Overview of the Steps for Coding VHDL Entities
      Choosing an Entity Name
      Specifying Ports for the Entity
      Specifying Port Direction Modes
      Specifying Port Data Types
      Sample VHDL Entity Definition

   Compiling and Debugging the VHDL Model
   Coding a MATLAB Test Bench Function
      Overview of the Steps for Coding a MATLAB Test Bench Function
      Data Type Conversions
      Naming a MATLAB Test Bench Function
      Setting up Expected Parameters
      Gaining Access to and Applying Port Information
      Converting Data for Manipulation
      Converting Data for Return to ModelSim
      Sample MATLAB Test Bench Function

   Placing a MATLAB Test Bench Function on the MATLAB Search Path

Starting and Controlling MATLAB Test Bench Sessions

   Overview
   Checking the MATLAB Server's Link Status
   Starting the MATLAB Server
   Starting ModelSim for Use with MATLAB
   Loading a VHDL Entity for Verification
   Deciding on Test Bench Scheduling Options
   Controlling Callback Timing from a MATLAB Test Bench Function
   Initializing the Simulator for a MATLAB Test Bench Session
   Applying Stimuli with the ModelSim force Command
   Running and Monitoring a Test Bench Session
   Restarting a Test Bench Session
   Stopping a Test Bench Session

Modeling and Verifying a VHDL Design with Simulink

   Overview
   Creating a Hardware Model Design in Simulink
   Handling of Signal Values Across Simulation Domains
      How Simulink Drives Cosimulation Signals
      Representation of Simulation Time
      Handling of Multirate Signals
      Block Simulation Latency

   Configuring Simulink for VHDL Models
   Running and Testing a Hardware Model in Simulink
   Starting ModelSim for Use with Simulink
   Loading a VHDL Entity for Cosimulation
   Adding the VHDL Representation of a Model Component into a Simulink Model
   Configuring a VHDL Cosimulation Block
      What Are Your VHDL Cosimulation Block Requirements?
      Opening the Block Parameters Dialog
      Mapping VHDL Signals to Block Ports
      Configuring the Communication Link
      Creating Optional Clocks
      Specifying Before and After Simulation Tcl Commands
      Applying Your Block Parameters Configuration Settings and Closing the Dialog

   Running and Testing a Cosimulation Model in Simulink
   Using a Value Change Dump File for Design Verification
      Generating a VCD File
      VCD File Format
      A Sample VCD File Application

MATLAB Functions — Alphabetical List

ModelSim Commands — Alphabetical List

Simulink Blocks — Alphabetical List