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