Library/driver parameters - 2024.1 English

Vitis Tutorials: Embedded Software (XD260)

Document ID
XD260
Release Date
2024-06-19
Version
2024.1 English

Users can view the parameters of a library/driver

# lib can be; lib, os, proc
domain_object.list_params("lib", "library name")
 
# for example, to list the os params
domain_object.list_params("os", "os name")
 
# for example, to list the processor params
domain_object.list_params("proc", "processor name")

For example, users can list all the os parameters. This will return a list of all the parameters. Each set of parameters is delivered as a dictionary with keys; ‘parameter_name’, ‘description’, ‘default_value’, ‘value’, ‘possible_options’, ‘datatype’, ‘permission

Note: Users can do dict_object.keys() to see a list of all the keys in a dictionary

os_params = domain_object.list_params("os", "standalone")

Users can iterate through the list, and list all the parameter names

for param in os_params:
    print(param['parameter_name'])