Including a Testbench with the IP Module - 2025.2 English - UG1483

Vitis Model Composer User Guide (UG1483)

Document ID
UG1483
Release Date
2025-11-20
Version
2025.2 English

To verify the functionality of the newly generated IP, it is important to include a test bench. As the following figure shows, if you check Generate testbench, a test bench is automatically created when you click Export.

Figure 1. Create Testbench Generated by Your Tool

When you include a test bench, you can verify the IP functionality by adding three more steps to the flow (see the following figure):

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