The following basic commands are
used in the Vitis interactive mode:
Commands | Description | Example |
---|---|---|
cd , pwd , ls
|
Basic unix commands |
|
edit
|
Makes edits in the Python file |
|
run
|
Runs Python scripts |
Displays
timing information at the end of run |
source
|
Runs Python script in batch mode |
|
env
|
Sets and lists environment variables | Lists all env
variables:
Gets the value of variable:
Sets the value of variable:
|
history
|
Prints input command history from the current session |
Returns the command history with no line numbers.
Prints history with line numbers like 1, 2:
|
time
|
Displays execution time, CPU time and wall clock times. |
|
clear
|
Clears the session |
|
help()
|
Gets help for Vitis commands |
|