readable-verilog-verify

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

A Verilog compile-and-simulation guide with self-checking testbench instructions. A testbench is code that drives a hardware module and compares its outputs with expected results.

In plain words
What is it for?
Use it to compile Verilog-2001 with Icarus or an explicitly required simulator, create or review a testbench, run simulations, and report the first failing cycle with expected and actual values.
Why use it?
It helps find the first compile, elaboration, or simulation failure instead of hiding it behind later errors. It also checks reset, timing, unknown values, boundary cases, and multi-clock behavior.

Skill for Claude CodeCodex

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

Good fit Use it to compile Verilog-2001 with Icarus or an explicitly required simulator, create or review a testbench, run simulations, and report the first failing cycle with expected and actual values.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/eriemon/verilog-generator/readable-verilog-verify
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-verify
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-verify

README.md
[![agentmods](https://agentmods.dev/badge/skills/eriemon/verilog-generator/readable-verilog-verify/github.svg)](https://agentmods.dev/skills/eriemon/verilog-generator/readable-verilog-verify)
Your own site
<a href="https://agentmods.dev/skills/eriemon/verilog-generator/readable-verilog-verify"><img src="https://agentmods.dev/badge/skills/eriemon/verilog-generator/readable-verilog-verify/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-verify

Your own site · 80×15
<a href="https://agentmods.dev/skills/eriemon/verilog-generator/readable-verilog-verify"><img src="https://agentmods.dev/badge/skills/eriemon/verilog-generator/readable-verilog-verify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,252 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.00039 $0.01252
Opus 5.5 $0.00016 $0.00501
Sonnet 5.5 $0.00008 $0.00250
Haiku 4.5 $0.00004 $0.00125

Measured today against content hash 18869ca469af, 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-verify 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 today.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/verification/simulate.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-verify/SKILL.md · 37 lines

How it starts

The opening of the file, as written. The whole thing — 37 lines — stays where its author put it; the contents beside it link to each section on GitHub.

编译与自检仿真

准备自检台

撰写 Verilog TB 前同轮读取代码压缩。任务调用或循环体可按单条语句收紧;保留检查、报错和计数之间的顺序及采样时刻。

  • 从 spec 推导激励、期望与采样时刻。覆盖相关边界:复位与使能同拍、连续传输后停顿、空满、参数极值、符号边界、首次进位和非法恢复。多时钟域按各域事件记账,按事务顺序对照。
  • 标明激励条件、采样沿与调度阶段、独立期望来源。载荷和有效位同拍比较,未知值用四态比较。各模块头英中双语;正文与区域标题用 comment_language,协议名、信号和机器标记保留原文。
  • 设置超时及完成判据,失败打印首个周期、期望与实际。硬件设计的仿真激励与延迟放在 TB;纯仿真 DUT 可含规格约定的延迟。参数诊断沿用 > INFO: [Verilog]、> WARNING: [Verilog]、> ERR: [Verilog]。

编译、运行、判读

调度返回 write_testbench 时,按 case_files 的顺序驱动每例的 inputs。按规格约定的时刻采样,每拍将 output_ports 中的真实 DUT 端口一起输出。单输出示例为 RVG_TRACE {"case":"toggle","cycle":0,"outputs":{"y":1}}。每例的拍号从零开始。

每个 RVG_TRACE 行应为合法 JSON。TB 遇到四态数据时可输出带引号的 "x"、"z";已约定无效且无独立检查点的载荷也可输出 null。避免直接用 %0d 把未知数据打印成裸 x。首次 verify 若报告 trace_error,按场景、拍号和端口修 TB 的序列化。保留 DUT 行为;对拍采用经用户确认的 valid_when 条款及显式检查点。

  1. 核对 DUT/TB 顶层、源顺序、include 和向量路径。从能解析相对向量的目录运行;有头文件追加 -I $includeDir。默认用套件的 iverilog -g2001 和 vvp;指定其他仿真器时走工程已有入口。

    按规格确认表核对正式验收工具。普通功能仿真优先用套件 Icarus。若明确要求 XSim、Questa、VCS 等,先查现有回归脚本,在指定主机核对版本、库映射和运行条件,再用该工程入口重放自检。缺少入口或依赖时列明已检测的结果并向用户补问。内置 verify 的报告只证明该次 Icarus 运行;指定工具的验收引用该工具自己的命令、日志和自检结果。

& $py -m verilog_generator verify @rtlFiles --top $designTop
& $py -m verilog_generator verify @rtlFiles $tbFile --top $tbTop --run --timeout 120 --pass-marker $passMarker --fail-marker $failMarker --report-dir reports/simulation
  1. 新 TB 的成功、失败标记独立成行,检查 self_check.pass_seen、fail_seen 和进程退出码。失败或超时须非零。已有 TB 可按原判据验收;报告功能结果读 functional_verdict。未传标记或仅编译为 not_checked;正常运行并满足标记判据为 pass,自检失败为 fail。原 passed 保留进程/标记判定。完整调度的功能通过还须 golden 对拍成功。

完整任务已有最终 RTL 和 TB 时,先按 dispatch 的续跑命令验收;独立仿真或复现故障才直接调用 verify。指定 --report-dir 后,按摘要判读,需原始日志时读取 report_path。分别报告轨迹行数和规格定义的检查点数。 3. 报告顶层、工具、实测场景和自检证据。编译失败标明未运行仿真;首条错误或首次失配连同文件/行、输入、采样拍、实例路径和原始日志交故障定位。期望值或采样约定有疑问时,把场景与拍号交模型复核;完整设计对拍通过后,将验证报告交手册出版。逐值对拍见完整流程。

Read the full file on GitHub · 37 lines

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. today Changed · +2 lines 18869ca469af
  2. yesterday First seen · 35 lines · 39 tokens per session scan A cd4843f1122e

Subscribe to this mod's changes

readable-verilog-verify is a skill published in the GitHub repository Eriemon/verilog-generator (350 stars, last pushed today), licensed Apache-2.0. It adds 39 tokens to every session and 1,252 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-verify compared with skills from other repositories

readable-verilog-verify next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
readable-verilog-verifyEriemon/verilog-generatorSkill350todayApache-2.0A39Claude 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
regression-issue-fixvibeic/vibe-icSkill33todayApache-2.0A22Claude Code
waveqIshaanDugar/waveqSkill29d agoAGPL-3.0A70Claude Code