Create Vitis workspace - 2025.2 English - XD260

Vitis Tutorials: Embedded Software (XD260)

Document ID
XD260
Release Date
2025-12-05
Version
2025.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")