svf config - 2023.2 简体中文

Vitis 统一软件平台文档 嵌入式软件开发 (UG1400)

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

为 SVF 文件配置选项。

语法

svf config [options]

配置并生成 SVF 文件。

选项

选项 描述
-scan-chain <list of idcode-irlength pairs> idcode-irlength 对的列表。该列表可通过 xsdb 命令 - jtag targets 来获取
-device-index <index> 该选项用于在 jtag 扫描链中选择器件。
-cpu-index <processor core> 指定用于生成 SVF 文件的 cpu-index。对于 ZynqMP 上的 A53#0 - A53#3,请使用 cpu-index 0 -3;对于 ZynqMP 上的 R5#0 - R5#1,请使用 cpu-index 4 -5;对于 Zynq 上的 A9#0 - A9#1,请使用 cpu-index 0 -1。如有多个 MicroBlaze 处理器连接到 MDM,请选择要执行的特定 MicroBlaze 索引。
-out <filename> 输出 SVF 文件。
-delay <tcks> AP 写入之间的节拍数延迟。
-linkdap 针对 ZynqMP 芯片 2.0 及更高版本,生成 SVF 用于将 DAP 链接到 jtag 链。
-bscan <user port> 该选项用于指定 MDM 连接的用户 bscan 端口。
-mb-chunksize <size in bytes> 该选项用于在下载时为每个传输事务指定区块大小(以字节为单位)。仅限 MicroBlaze 处理器才支持该选项。
-exec-mode Arm v8 核的执行模式。受支持的模式为 a32(前提是 v8 核以 32 位模式设置)和 a64(前提是 v8 核以 64 位模式来设置)。

返回

无。

示例

svf config -scan-chain {0x14738093 12 0x5ba00477 4} -device-index 1  -cpu-index 0 -out "test.svf"

这将为核 A53#0 创建名为 test.svf 的 SVF 文件

svf config -scan-chain {0x14738093 12 0x5ba00477 4} -device-index 0  -bscan pmu -cpu-index 0 -out "test.svf"

这将为 PMU MB 创建名为 test.svf 的 SVF 文件

svf config -scan-chain {0x23651093 6} -device-index 0 -cpu-index 0  -bscan user1 -out "test.svf"

这将为 MB 创建名为 test.svf 的 SVF 文件,此 MB 连接到 bscan USER1 上的 MDM