使用 launch_simulation 命令 - 2023.2 简体中文

Vivado Design Suite 用户指南: 逻辑仿真 (UG900)

Document ID
UG900
Release Date
2023-10-18
Version
2023.2 简体中文

launch_simulation 命令允许您以脚本模式运行任意受支持的仿真器。

launch_simulation 语法如下所示:

launch_simulation [-step <arg>] [-simset <arg>] [-mode <arg>] [-type <arg>][-scripts_only] [-gui] [-exec] [-of_objects <args>] [-absolute_path][-install_path <arg>] [-noclean_dir] [-quiet] [-verbose][-gcc_install_path <arg>][-exec]

下表描述了 launch_simulation 的选项。

表 1. launch_simulation 选项
选项 描述
[-step] 启动仿真步骤。值:all、compile、elaborate 和 simulate。默认值:all(启动所有步骤)。
[-simset] 仿真文件集的名称。
[-mode] 仿真模式。值:behavioral、post-synthesis 和 post-implementation;默认值:behavioral。
[-type] 网表类型。值:functional 和 timing。仅当模式设置为“post-synthesis”(综合后)或“post-implementation”(实现后)时,此项才适用。
[-scripts_only] 仅生成脚本。
[-gui] 调用仿真器 GUI(适用于 -scripts_only 模式)。
[-exec] 为以 -step 开关指定的步骤执行现有脚本。
[-of_objects] 为此对象生成编译顺序文件(仅适用于 -scripts_only 选项)。
[-absolute_path] 使所有文件路径都变为相对于引用目录的绝对路径。
[-install_path] 自定义安装目录路径。
[-noclean_dir] 不得移除仿真运行目录文件。
[-quiet] 忽略命令错误。
[-verbose] 在命令执行期间暂挂消息限制。
[-gcc_install_path] 指定表示对应 g++/gcc 可执行文件的 GNU 编译器安装目录路径。
[-exec] 为以 -step 开关指定的步骤执行现有脚本。