Commands to Run Python Scripts - 2023.1 English

Vitis Unified IDE and Common Command-Line Reference Manual (UG1553)

Document ID
UG1553
Release Date
2023-07-17
Version
2023.1 English

Following are the commands to edit and execute code in a file:

Run Python code in the next generation Vitis IDE CLI
Run the named file
Vitis [1]: run test.py
Option -t displaces the timing information at the end of run
Vitis [1]: run -t test.py
Run Python code with the next generation Vitis IDE executable in batch mode
vitis executable can run Python script in batch mode with -source option.
$ vitis -source $XILINX_VITIS/cli/examples/dc_use_case_1.py