V-Series Avalon-MM DMA Interface for PCIe Solutions User Guide

ID 683514
Date 7/31/2018
Public
Document Table of Contents

2.3. Simulating the Example Design in ModelSim*

  1. In a terminal window, change directory to <workingdir>/pcie_de_ep_dma_g3x8_integrated/testbench/mentor/ .
  2. Start the ModelSim* simulator (invoke vsim).
  3. To run the simulation, type the following commands in a terminal window:
    1. do msim_setup.tcl
    2. ld_debug
      The ld_debug command compiles all design files and elaborates the top-level design without any optimization.
    3. run -all
The simulation performs the following operations:
  • Various configuration accesses after the link is initialized
  • Setup of the DMA controller to read data from the BFM’s shared memory
  • Setup of the DMA controller to write the same data back to the BFM’s shared memory
  • Data comparison and report of any mismatch

Did you find the information on this page useful?

Characters remaining:

Feedback Message