readable-verilog-debug

readable-verilog-debug is a skill for Claude Code, Codex from Eriemon/verilog-generator. It costs 45 tokens per session (641 once invoked), scanned A, original, Apache-2.0.

A Verilog debugging guide for tracing simulation or synthesis failures from logs and waveforms back through module instances and signal drivers.

In plain words
What is it for?
Use it to find the first mismatching clock cycle, trace signals through parent modules, and report the triggering condition with source locations and evidence.
Why use it?
It helps distinguish the reported error from the actual faulty RTL, testbench observation, or upstream connection that caused it.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to find the first mismatching clock cycle, trace signals through parent modules, and report the triggering condition with source locations and evidence.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/eriemon/verilog-generator/readable-verilog-debug
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Eriemon/verilog-generator --skill readable-verilog-debug
Clone the repo
git clone --depth 1 https://github.com/Eriemon/verilog-generator

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for readable-verilog-debug

README.md
[![agentmods](https://agentmods.dev/badge/skills/eriemon/verilog-generator/readable-verilog-debug/github.svg)](https://agentmods.dev/skills/eriemon/verilog-generator/readable-verilog-debug)
Your own site
<a href="https://agentmods.dev/skills/eriemon/verilog-generator/readable-verilog-debug"><img src="https://agentmods.dev/badge/skills/eriemon/verilog-generator/readable-verilog-debug/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for readable-verilog-debug

Your own site · 80×15
<a href="https://agentmods.dev/skills/eriemon/verilog-generator/readable-verilog-debug"><img src="https://agentmods.dev/badge/skills/eriemon/verilog-generator/readable-verilog-debug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 641 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00045 $0.00641
Opus 5.5 $0.00018 $0.00256
Sonnet 5.5 $0.00009 $0.00128
Haiku 4.5 $0.00005 $0.00064

Measured yesterday against content hash 7b9f5f2e66ea, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

readable-verilog-debug scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/debugging/locate.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/readable-verilog-debug/SKILL.md · 24 lines

What it actually says

仿真与综合故障定位

从首个异常取证

  1. 收集失败阶段、工具原文、顶层与有序源清单。仿真取最后一致拍、首次分歧拍、激励、期望/实际、时钟/复位/使能和完整实例位段。综合取器件、参数、约束及首条可操作的诊断。
  2. 分清报错行、TB 观察行和 DUT 驱动行。复用已有日志;需要区分候选时才在临时目录按原设置复现。父模块的汇总报错只提供追踪起点。
  3. 展开实际顶层。按需重复传 -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

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 24 lines · 45 tokens per session scan A 7b9f5f2e66ea

Subscribe to this mod's changes

readable-verilog-debug is a skill published in the GitHub repository Eriemon/verilog-generator (350 stars, last pushed today), licensed Apache-2.0. It adds 45 tokens to every session and 641 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-03.

Related

readable-verilog-debug compared with skills from other repositories

readable-verilog-debug next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
readable-verilog-debugEriemon/verilog-generatorSkill350todayApache-2.0A45Claude Code, Codex
readable-hls-generatorEriemon/hls-generatorSkill353mo agononeA40Codex
vivado-cdc-auditmapleleavessssssss-wq/vivado-mcpSkill1811mo agoApache-2.0A58Claude Code, Codex
vivado-timing-closuremapleleavessssssss-wq/vivado-mcpSkill1811mo agoApache-2.0A56Claude Code, Codex
vivado-waveform-debugmapleleavessssssss-wq/vivado-mcpSkill1811mo agoApache-2.0A62Claude Code, Codex
fpga-hardware-design-and-review-guidecobbpeng/fpga-hardware-design-and-review-guideSkill2110mo agoMITA99Claude Code
vdebugphamcuong21478/rtl-skillsSkill285mo agoApache-2.0C27Claude Code