40- and 100-Gbps Ethernet MAC and PHY MegaCore Function User Guide

ID 683114
Date 6/15/2022
Public
Document Table of Contents

2.8.1. Generating the 40-100GbE Testbench

A single procedure generates both the testbench and the example project. To generate the testbench and example project:

  1. Follow the steps in Specifying the 40-100GbE IP Core Parameters and Options to parameterize your IP core.
  2. Generate the IP core by clicking Generate.
    Note: When prompted at the start of generation, you must turn on Generate example design. Turning on Generate example design is the only process that generates a functional testbench and a functional example design.

    When the IP core is generated in <working directory>, the testbench and example project are generated in <working directory> / <IP core variation> /_example/alt_e40_e100.

The directory with the testbench and example project has two subdirectories:

  • example, which contains the example design project
  • example_testbench, which contains the demonstration testbench