MIPI DSI TX Controller Testbench

You can choose to generate the testbench when generating the core in the IP Manager Configuration window.

Note: You must include all .v files generated in the /testbench directory in your simulation.
Important: tested the testbench generated with the default parameter options only.

provides a simulation script for you to run the testbench quickly using the Modelsim software. To run the Modelsim testbench script, run vsim -do modelsim.do in a terminal application. You must have Modelsim installed on your computer to use this script.

Table 1. Testbench FilesThe IP Manager generates different encrypted source codes for you to simulate with different simulators.
Directory Note
../Testbench Contains the example design and testbench files.
../Testbench/aldec Contains the generated encrypted source code to simulate with the Aldec simulator.
../Testbench/modelsim Contains the generated encrypted source code to simulate with the Modelsim simulator.
../Testbench/ncsim Contains the generated encrypted source code to simulate with the NCSIM simulator.
../Testbench/synopsys Contains the generated encrypted source code to simulate with the VCS simulator.

The simulation testbench simulates the example design. This design generates a video pattern to the MIPI DSI TX controller. The MIPI interface transaction from the controller is checked by a checker in the testbench.

After running the simulation successfully, the test prints the following message:
Received frame no. 1
Received frame no. 2
Received frame no. 3
Received frame no. 4