While the Python API can be used for creating and building Vitis components, it can also be used for modifying the configuration files of each component.
First, navigate to the UserConfig.cmake file.
Figure 1. UserConfig.cmake
The equivalent Python API commands are visible in the workspace_journal.py file.
Figure 2. workspace_journal.py file
Next, edit the Linker Script.
Figure 3. Linker Script
The workspace journal file is updated with the commands for updating the memory region and setting the stack size.
Figure 4. Workspace Journal
Confirm the HLS config settings.
Figure 5. HLS Config
The clang version and auto rewind setting are updated in the Python file.
Figure 6. Python File settings
Confirm the AI Engine configuration.
Figure 7. AI Engine Configuration
Verbose settings and ADF levels are set in the workspace journal.
Figure 8. Verbose and ADF levels