Setting up the Tool to Generate an Image File for Hardware Validation Flow - 2024.2 English - UG1483

Vitis Model Composer User Guide (UG1483)

Document ID
UG1483
Release Date
2025-02-03
Version
2024.2 English
  1. Choose a platform. In the Vitis Model Composer Hub block, select the Hardware Selection tab, and then click on the button to the right of the Select Hardware field, as shown in the following figure.
    Generated by Your Tool
  2. Select the Platform tab in the Device Chooser. Select Specify Platform in the Platform drop-down menu and use the Browse button to select a base platform.
    Generated by Your Tool
  3. Select the subsystem to validate on hardware, then open the Validate on Hardware tab.
    Generated by Your Tool
  4. From here, choose between baremetal and Linux. For each selection, you can choose between hardware or hardware emulation using the Target drop-down menu.
    Generated by Your Tool
    Note: For Linux applications only, further information is required (see the following figure). This is a once-only action. Use the following steps to obtain the necessary information.
    Generated by Your Tool
    1. Click here to download the Versal common image. Unzip the download and specify the directory in the Common SW Dir field.
    2. Switch to bash shell and source sdk.sh in the common image directory. This will prompt for a target directory path for the SDK. Extracting the SDK will take about ten minutes. Specify the SDK directory in the Target SDK Dir field.
  5. Click Validate. Depending on your settings and the complexity of your design, hardware image generation may take up to one hour. Subsequent generation can be much faster if changes to the design do not cause a change in the PL. For example if you simply increase the simulation time in Simulink (to collect more data), change the data source, or make modifications to the AI Engine kernel, the subsequent image generations will be faster.