Embedded Design Handbook

ID 683689
Date 8/28/2023
Public
Document Table of Contents

3.7.10.2. Run Simulation In the ModelSim Software

You can run a simulation in the ModelSim software on the testbench that you created. To complete this simulation you use the test program provided in the design files. The test begins by writing a walking ones pattern to the design under test.

This test program performs the following actions:

  • Reads a pattern file.
  • Writes the pattern to the design under test via the pattern master BFM.
  • Sets various design under test options via the CSR master BFM.
  • Starts the design under test pattern generation.
  • Collects data generated by the design under test.
  • Compares the results against the original pattern file.