PDS 独立工程变体批量运行(最多 2-way)
fpga_pds_batchRun prepared PDS project clones in parallel (max 2) and aggregate timing, errors, artifacts per variant. Validates unique non-nested dirs and retains all results even if one fails.
Instructions
并行运行多个已准备好的独立 PDS project clone,并汇总每个 variant 的 timing/errors/artifacts。安全门:每个 pdsPath 必须位于唯一且互不嵌套的项目目录,prj_work_dir/prj_impl_dir 不得外置;同一 .pds 或共享 prj_tasks 会在启动前拒绝。默认且最高 2-way(P&R 内存密集)。任一 variant 失败则顶层 ok=false,但保留全部逐项结果。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cache | No | 每个 variant 使用输入 hash 缓存,默认 true | |
| variants | Yes | 独立 PDS project clone 列表;目录必须唯一且互不嵌套 | |
| runTarget | No | 批次默认 target,默认 gen_bit_stream | |
| pdsVersion | No | 批次默认 PDS 版本/标签 | |
| timeoutSec | No | 每个 variant 默认超时秒数,默认 900 | |
| maxParallel | No | 并发数,默认/上限 2 | |
| backupOldBuildDirs | No | 每个独立目录构建前备份旧输出,默认 true |