Commands to Run Python Scripts - 2024.2 English - UG1702

Vitis Reference Guide (UG1702)

Document ID
UG1702
Release Date
2025-01-15
Version
2024.2 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