List/get Vitis domains in a Platform - 2024.1 English

Vitis Tutorials: Embedded Software (XD260)

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

Users can list all the domains in the platform

#To list all domains in a platform
platform.list_domains()

This will return a list of all the domains within a platform. Users can iterate through this

for domain in platform.list_domains():
    print(domain)

Each domain is returned as a dictionary with keys; ‘domain_name’, ‘display_name’, ‘processor’, ‘os. For example, we can return the domain names

for domain in platform.list_domains():
    print(domain['domain_name'])

Users can return a specific domain within a platform using the metadata above

domain_object = platform.get_domain(name = "domain_name")