Token-Related Properties and APIs - 2024.1 English

Vitis Model Composer User Guide (UG1483)

Document ID
UG1483
Release Date
2024-05-30
Version
2024.1 English

setup_sysgen_token()

This function is called to populate Model Composer Hub information by the Custom Compilation Infrastructure. You can use any of the following functions related to the Model Composer Hub to set how the token looks by default when the custom target is selected. The fields, their default values and the field enablement/disablement can be set by the following Model Composer Hub application programming interface (API) functions.

add_part(family, device, speed, package, temperature)

An example of an explicit command is add_part('Kintex7', 'xc7k325t', '-1' , 'fbg676',''). If the part-related APIs are not used, you can select any device from the list.

string target_name

This is a required field that has to be set in the setup_sysgen_token() function.

string hdl

The default value is an empty string. Select Verilog or VHDL. Once a value is set to this field, this field will be disabled for further user selection.

string synth_strategy

The default value is an empty string. When a value is set in this field, the field will be disabled for further user selection. If this API is used, you need to ensure that the specified strategy exists. Otherwise, it will result in an error.

string impl_strategy

The default value is an empty string. When a value is set in this field, the field will be disabled for further user selection. If this API is used, you need to ensure that the specified strategy exists. Otherwise, it will result in an error.

string create_tb

The default value is an empty string. The valid options are on or off. When a value is set in this field, the field will be disabled for further user selection.

string create_iface_doc

The default value is an empty string. The valid options are on or off. When a value is set in this field, this field will be disabled for further user selection.