System Generator Token-Related Properties and APIs - 2021.1 English

Vitis Model Composer User Guide (UG1483)

Document ID
UG1483
Release Date
2021-06-16
Version
2021.1 English

setup_sysgen_token()

This function is called to populate the System Generator token information by the Custom Compilation Infrastructure. You can use any of the following functions related to the System Generator token 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 System Generator token 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, the end user can select any device that he wants to choose 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. Valid options are 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. Once a value is set to this field, this field will be disabled for further user selection. If this API is used, the user has to make sure that the specified strategy exists. Otherwise, it will result in an error.

string impl_strategy

The default value is an empty string. Once a value is set to this field, this field will be disabled for further user selection. If this API is used, the user has to make sure 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. Once a value is set to this field, this 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. Once a value is set to this field, this field will be disabled for further user selection.