Create Vitis workspace - Create Vitis workspace - 2024.2 English - XD260

Vitis Tutorials: Embedded Software (XD260)

Document_ID
XD260
Release_Date
2025-03-28
Version
2024.2 English

In Vitis, the default workspace is the current working directory. In the command line, we can just set this up

workspace = "path/to/workspace"
client.set_workspace(workspace)

Users can use the commands below to add the vitis_ws workspace to the current directory

import os
...
pwd = os.getcwd()
client.set_workspace(pwd + "/vitis_ws")