readable-verilog-debug
Locate Verilog simulation and synthesis faults from logs, waveforms, mismatched cycles or signals. Trace the direct RTL site through elaborated instances, actual port connections and upstream data or control drivers.
Install
npx skills add https://github.com/Eriemon/verilog-generator/tree/main/skills/readable-verilog-debug
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install eriemon-verilog-generator@llmmart
git clone https://github.com/Eriemon/verilog-generator.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole eriemon/verilog-generator collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
仿真与综合故障定位
从首个异常取证
- 收集失败阶段、工具原文、顶层与有序源清单。仿真取最后一致拍、首次分歧拍、激励、期望/实际、时钟/复位/使能和完整实例位段。综合取器件、参数、约束及首条可操作的诊断。
- 分清报错行、TB 观察行和 DUT 驱动行。复用已有日志;需要区分候选时才在临时目录按原设置复现。父模块的汇总报错只提供追踪起点。
- 展开实际顶层。按需重复传
-I,用--module限定定义,--max-depth调整上溯深度(默认 8)。
& $py -m verilog_generator diagnose @sources --stage synthesis --top $dutTop --log $synthLog
& $py -m verilog_generator diagnose @sources $tb --stage simulation --top $tbTop --message $failure --signal $instanceSignal
从驱动追到父实例
- 从
direct的赋值与条件,沿parents的子端口 → 父实参 → 父驱动反查;upstream列中间依赖,boundaries列顶层输入及未找到驱动的对象。核对参数覆盖、切片、宽度、符号、反相、未连接端口和跨域。 location_only即使 passed=true 也只确认源码位置;caller_context只确认实例关系。ambiguous用波形实例路径消歧;unresolved补日志或绑定。位选、条件及时序驱动需用失败拍筛选;宏、厂商 IP、网表改名或时序路径另需编译设置、映射或报告。- 报告“触发条件 → 直接代码 → 潜在父节点 → 判别证据”,附文件、行号、表达式及可排除候选的最小验证。定位期间只读;RTL 驱动错误交编辑修复,TB/采样错误交验证重放,期望轨迹错误交模型重算,行为有歧义交规格重确认。常见问题与定位依据
Files (verilog-generator)
-
references
-
faults.md 3.8 KB
Loading…
-
-
scripts
-
debugging
-
locate.py 15.1 KB
Loading…
-
-
-
SKILL.md 2.2 KB
--- name: readable-verilog-debug description: Locate Verilog simulation and synthesis faults from logs, waveforms, mismatched cycles or signals. Trace the direct RTL site through elaborated instances, actual port connections and upstream data or control drivers. --- # 仿真与综合故障定位 ## 从首个异常取证 1. 收集失败阶段、工具原文、顶层与有序源清单。仿真取最后一致拍、首次分歧拍、激励、期望/实际、时钟/复位/使能和完整实例位段。综合取器件、参数、约束及首条可操作的诊断。 2. 分清报错行、TB 观察行和 DUT 驱动行。复用已有日志;需要区分候选时才在临时目录按原设置复现。父模块的汇总报错只提供追踪起点。 3. 展开实际顶层。按需重复传 `-I`,用 `--module` 限定定义,`--max-depth` 调整上溯深度(默认 8)。 ```powershell & $py -m verilog_generator diagnose @sources --stage synthesis --top $dutTop --log $synthLog & $py -m verilog_generator diagnose @sources $tb --stage simulation --top $tbTop --message $failure --signal $instanceSignal ``` ## 从驱动追到父实例 - 从 `direct` 的赋值与条件,沿 `parents` 的子端口 → 父实参 → 父驱动反查;`upstream` 列中间依赖,`boundaries` 列顶层输入及未找到驱动的对象。核对参数覆盖、切片、宽度、符号、反相、未连接端口和跨域。 - `location_only` 即使 passed=true 也只确认源码位置;`caller_context` 只确认实例关系。`ambiguous` 用波形实例路径消歧;`unresolved` 补日志或绑定。位选、条件及时序驱动需用失败拍筛选;宏、厂商 IP、网表改名或时序路径另需编译设置、映射或报告。 - 报告“触发条件 → 直接代码 → 潜在父节点 → 判别证据”,附文件、行号、表达式及可排除候选的最小验证。定位期间只读;RTL 驱动错误交[编辑](../readable-verilog-edit/SKILL.md)修复,TB/采样错误交[验证](../readable-verilog-verify/SKILL.md)重放,期望轨迹错误交[模型](../readable-verilog-model/SKILL.md)重算,行为有歧义交[规格](../readable-verilog-spec/SKILL.md)重确认。[常见问题与定位依据](references/faults.md)
Reviews (0)
No reviews yet.
Comments
Sign in to join the conversation.
No comments yet. Start the conversation.