Compiling and Simulating Using the Model Composer Hub - 2024.1 English

Vitis Model Composer User Guide (UG1483)

Document ID
Release Date
2024.1 English

Vitis Model Composer automatically compiles designs into low-level representations. Designs are compiled and simulated using the Model Composer Hub block. This topic describes how to use the Vitis Model Composer Hub block.

A design must contain a single Vitis Model Composer Hub block at the top level of the model. This block controls code generation for all of the subsystems within a model. Some parameters, such as clock frequency, can be specified on a subsystem-by-subsystem basis.

Once a Vitis Model Composer Hub block is added, it is possible to specify how code generation and synthesis should be handled. The Model Composer Hub block dialog box is shown in the following figure:

Figure 1. Model Composer Hub Block Generated by Your Tool

Hardware Selection

This tab allows you to specify an AMD, Partner, or Custom board you will use to test your design.

Figure 2. Hardware Selection Tab

Clicking the browse button (…) displays the Device Chooser dialog box. This allows you to select a part, board, or platform to which your design is targeted.

For a Partner board or a custom board to appear in the Board list, you must configure Model Composer to access the board files that describe the board. Board awareness in Model Composer is detailed in Specifying Board Support in Model Composer.

Figure 3. Device Chooser

Code Generation

The Code Generation tab contains, on the left side, a list of subsystems in the model. Subsystems denoted with a green check mark are ready to generate HDL, HLS, or AI Engine code. To configure code generation for a subsystem, select it from the list. Selecting a subsystem will generate code for it along with any of its child subsystems.

If a subsystem is not denoted with a green check mark, select it to view the reason why the subsystem cannot generate code, along with troubleshooting steps.

For a detailed description of the code generation settings available, refer to the relevant Model Composer Hub block section:


This tab allows you to specify the following settings for the entire model.

Treat this model as a legacy System Generator design for backward compatibility
When you automatically upgrade a System Generator token to the Model Composer Hub block, this check box is automatically enabled. When the check box is enabled, you can use the Model Composer Hub block without requiring changes to your legacy designs. However, newer capabilities provided by the Model Composer Hub block, such as the Validate on Hardware Flow, will not be available.
Number of parallel AI Engine builds
To speed up model compilation, Vitis Model Composer can build the AI Engine blocks in parallel, taking advantage of multiple cores on your machine. This value can be increased up to maximum number of cores on your machine.