AN 896: Multi-Rail Power Sequencer and Monitor Reference Design

ID 683778
Date 3/15/2024
Public
Document Table of Contents

3.4.2. Running the Testbench Simulation

After generating the testbench simulation files in the Platform Designer, you can run the simulation in ModelSim® or Questa* Advanced Simulator.

The following procedure describes the steps to run the simulation using the ModelSim* - Intel® FPGA Starter Edition

software.
  1. From the ModelSim* - Intel® FPGA Starter Edition main menu, click File > Change Directory.
  2. In the Browse For Folder window, select the <installation directory>\source\sequencer_qsys_tb\simulation\mentor directory and click OK.
  3. At the prompt in the Transcript window, enter the following command:
    source msim_setup.tcl
    The Transcript window lists the command aliases.
    Figure 20. Command Aliases in the Transcript Window


  4. At the prompt in the Transcript window, enter the following command to compile the device and design libraries, and load the simulation:
    ld_debug
  5. After the simulation loads, enter the following command at the Transcript prompt to display the the key signals within the design in the Wave window:
    do wave.do
  6. At the Transcript prompt, enter the following command provide the appropriate stimulus and run the simulation:
    do force.do
The simulation runs and the waveforms display in the Wave window.
Figure 21.  Multi-Rail Power Sequencer and Monitor Testbench Simulation Waveforms