Main Content

Verify Generated Component Against Simulink Data

For Siemens ModelSim and Questa Simulators

  1. Start ModelSim™ or Questa™ in GUI mode.

  2. Change your current folder to the dpi_tb folder under the code generation folder in your HDL simulator installation.

  3. Enter the following command to start your simulation:

    do run_tb_mq.do
  4. When the simulation finishes, it displays the following message in your console:

    **************TEST COMPLETED (PASSED)**************

For the Cadence Xcelium Simulator

  1. Start your terminal shell.

  2. Change the current folder to "dpi_tb" under the code generation folder.

  3. Enter the following command in your shell.

    sh run_tb_ncsim.sh
  4. When the simulation finishes, it displays the following message in your console:

    **************TEST COMPLETED (PASSED)**************