日志关键信息提取
fpga_log_extractExtract key diagnostics from FPGA logs by profile—pds, cdt, or sim—to isolate error codes, timing, resources, IDCODE, or failure flags, reducing token cost on saved logs.
Instructions
对一段日志(或日志文件)按 profile 抽取关键信息:pds(错误码/阶段/时序/资源/已知问题)、cdt(IDCODE/done bit/verify)、sim(失败标记)。用于对落盘日志二次廉价提取,省 token。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log | No | 日志文本(与 logPath 二选一) | |
| logPath | No | 日志文件绝对路径(与 log 二选一) | |
| profile | No | 提取 profile,默认 pds |