Including a Testbench with the IP Module - 2020.2 English

Vivado Design Suite User Guide: Model-Based DSP Design Using System Generator (UG897)

Document ID
UG897
Release Date
2020-11-18
Version
2020.2 English

To verify the functionality of the newly generated IP, it is important to include a test bench. As shown below, if you check Create testbench, a test bench is automatically created when you click the Generate button.

Figure 1. Create Testbench

As shown below, when you include a test bench, you can verify the IP functionality by adding three more steps to the flow.

Step 1
Add the new IP to the Vivado IP catalog. Refer to the document Vivado Design Suite User Guide: Designing with IP (UG896).
Step 2
Create a new Vivado IDE project and add the IP as the top-level source.
Step 3
Run simulation, synthesis and implementation to verify the functionality of the generated IP.

The following figure shows an open Vivado IDE project with the newly created IP as the top-level source.

Figure 2. New IP