Many IP in the IP catalog also deliver a test bench for simulating the IP standalone. If an IP delivers a test bench, you see it listed as an output product in the Generate Output Product dialog box, as shown in the following figure.
To use the test bench provided by the IP, in the Sources window, find the IP in the hierarchy in the Simulation Sources section and expand the IP hierarchy.
The files in the Hierarchy tab of the sources window display as shown in the following figure.
Click OK to expand the hierarchy. Find and select the IP test bench, named tb_<ip_name>
, then right-click and select Set as Top.
In the Flow Navigator select Run
Simulation or use the launch_simulation
command in the Tcl Console to launch the simulator on the new top-level of the design,
which is the simulation test bench for the IP.