PDS Headless 运行 (任意 -run 目标)
fpga_pds_runRun any PDS flow stage (compile, synthesize, P&R, bitstream, timing) on an FPGA project, locally or remotely, and retrieve parsed summaries or full logs.
Instructions
用 pds_shell.exe -project <x.pds> -run 运行任意流程阶段。target ∈ {compile, synthesize, dev_map, pnr, report_timing, report_power, gen_bit_stream, gen_netlist}(注意 dev_map/pnr,非 device_map/place_route;早期目标如 dev_map 可快速拿资源不跑 P&R)。不信退出码,解析 E:/bitstream success line + effsoftecrypt 自检。默认紧凑摘要 + detail:'full' 兜底 + 按输入 hash 缓存。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | 远程执行设备 id(pango-mcp.config.json 的 hosts;省略=本机)。远程时自动 stage 工程→远端 pds_shell→拉回产物。 | |
| cache | No | 源文件+target 未变时复用上次摘要,默认 true;false 强制重运行 | |
| detail | No | 返回粒度,默认 summary(紧凑、省 token);full 含完整日志与 reports | |
| pdsPath | Yes | .pds 工程文件绝对路径 | |
| runTarget | Yes | PDS -run 目标,如 compile/synthesize/dev_map/pnr/report_timing/report_power/gen_bit_stream/gen_netlist | |
| pdsVersion | No | 可选 PDS 版本/标签,如 2022.2 或 2025.2;省略按工程器件选择 | |
| timeoutSec | No | 超时秒数,默认 900 | |
| backupOldBuildDirs | No | 构建前备份旧 PDS 输出目录,默认 true |