Verify Generated Component Against Simulink Data
For Siemens ModelSim and Questa Simulators
Start ModelSim™ or Questa™ in GUI mode.
Change your current folder to the dpi_tb folder under the code generation folder in your HDL simulator installation.
Enter the following command to start your simulation:
do run_tb_mq.do
When the simulation finishes, it displays the following message in your console:
**************TEST COMPLETED (PASSED)**************
For the Cadence Xcelium Simulator
Start your terminal shell.
Change the current folder to "dpi_tb" under the code generation folder.
Enter the following command in your shell.
sh run_tb_ncsim.sh
When the simulation finishes, it displays the following message in your console:
**************TEST COMPLETED (PASSED)**************