Token-Related Properties and APIs - Token-Related Properties and APIs - 2026.1 English - UG1483

Vitis Model Composer User Guide (UG1483)

Document ID
UG1483
Release Date
2026-06-23
Version
2026.1 English

setup_sysgen_token()

The Custom Compilation Infrastructure calls this function to populate Model Composer Hub information. 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. You can set the fields, their default values and field enablement/disablement using the following Model Composer Hub API functions.

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

An example of an explicit command is add_part('Kintex7', 'xc7k325t', '-1' , 'fbg676',''). If you do not use the part-related APIs, 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. Setting a value to this field disables it for further user selection.

string synth_strategy

The default value is an empty string. Setting a value to this field disables it for further user selection. If you use this API, ensure that the specified strategy exists. Otherwise, results in an error.

string impl_strategy

The default value is an empty string. Setting a value to this field disables it for further user selection. If you use this API, ensure that the specified strategy exists. Otherwise, it results in an error.

string create_tb

The default value is an empty string. The valid options are on or off. Setting a value to this field disables it for further user selection.

string create_iface_doc

The default value is an empty string. The valid options are on or off. Setting a value to this field disables it for further user selection.