启动选项 - 2023.2 简体中文

Vitis 统一软件平台文档 应用加速开发 (UG1393)

Document ID
UG1393
Release Date
2023-12-13
Version
2023.2 简体中文

Vitis Unified IDE 支持下列模式:

“Classic Mode”(经典模式)
用于打开传统 Vitis IDE。
vitis --classic
“Workspace Mode”(工作空间模式)
打开含指定工作空间的 Vitis Unified IDE。
vitis -w <workspace>
“Analysis Mode”(分析模式)
分析模式会启动该工具并直接转至 使用“Analysis”视图 (Vitis Analyzer),以便您复查构建、运行和调试进程期间生成的汇总报告。
vitis -a
“Interactive Mode”(交互模式)
交互模式允许您在 GUI 外通过命令行接口输入命令。
vitis -i
注释: 在交互式命令提示符中输入 help() 即可浏览可用的命令模块。
“Batch Mode”(批处理模式)
批处理模式用于执行指定的脚本并退出。
vitis -s <script>.py
“Jupyter Notebook Mode”(Jupyter Notebook 模式)
此模式用于启动 Jupyter Notebook 服务器和 Vitis 环境,并在您的默认浏览器中启动前端 UI。
vitis -j
您可在此环境内使用 vitis_server 命令行接口,如 Vitis 交互式 Python Shell 中所述。

您可以使用 -h 来打印受支持的 vitis -new 选项。

vitis -h

Syntax: vitis [--classic | -a | -w | -i | -s | -h | -v]

Options:
  -classic/--classic 
	    Launch the classic Vitis IDE.  
  -a/--analyze [<summary file | folder | waveform file: *.[wdb|wcfg]>]
         Open the summary file in the Analysis view.
         Opening a folder opens the summary files found in the folder.
         Open the waveform file in a waveform view tab.
         If no file or folder is specified, opens the Analysis view.
  -w/--workspace <workspace_location>
         Launches Vitis IDE with the given workspace location.
  -i/--interactive
         Launches Vitis python interactive shell.
  -s/--source <python_script>
         Runs the given python script.
  -j/--jupyter
         Launches Vitis Jupyter Web UI.
  -h/--help
         Display help message.
  -v/--version
         Display Vitis version.