Embedded Design Handbook

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

3.7.10.1.3. Generate a Testbench System

  1. In Platform Designer click Generate > Generate Testbench System.
  2. Under Testbench System, for Create testbench Platform Designer system, select Standard, BFMs for standard Platform Designer interfaces.
  3. Under Synthesis, select None for Create HDL design files for synthesis, and turn off Create block symbol file (.bsf).
  4. Click Generate.
  5. After Platform Designer generates the testbench, click Close.

Platform Designer generates this testbench system in the \simulation_tutorial\pattern_generator\testbench directory.

You can generate the simulation model for the Platform Designer testbench system at the same time by turning on Create testbench simulation model. However, the Platform Designer-generated testbench system's components names are assigned automatically and you may want to control the instance names to make it easier to run the test program for the BFMs. In this tutorial, you edit the Platform Designer testbench system before generating the simulation model.