Configuring the HDL Simulator - 2022.1 English

Vitis Model Composer User Guide (UG1483)

Document ID
UG1483
Release Date
2022-05-26
Version
2022.1 English

Black box HDL can be co-simulated with Simulink® using the Model Composer interface to either the Vivado® simulator or the Questa simulation software from Model Technology, Inc.

Xilinx® Simulator

To use the Xilinx simulator for co-simulating the HDL associated with the black box, select Vivado Simulator as the option for the Simulation mode parameter on the black box. The model is then ready to be simulated and the HDL co-simulation takes place automatically.

Questa Simulator

To use the Questa simulator by Model Technology, Inc., you must first add the Questa block that appears in the Tools library of the Xilinx HDL Blockset to your Simulink diagram.

Figure 1. Questa Block

For each black box that you wish to have co-simulated using the Questa simulator, you need to open its block parameterization dialog and set it to use the Questa session represented by the black box that was just added. You do this by making the following two settings:

  1. Change the Simulation Mode field from Inactive to External co-simulator.
  2. Enter the name of the Questa block (e.g., Questa) in the HDL co-simulator to use field.
Figure 2. Black Box Parameters

The block parameter dialog for the Questa block includes some parameters that you can use to control various options for the Questa session. See the block help page for details. The model is then ready to be simulated with these options, and the HDL co-simulation takes place automatically.