Nov 21, 2026

Verilog Generator Shows You the Waveform Before It Writes the RTL

An Apache-2.0 agent skill for Verilog-2001 work previews interface, state transitions, and WaveDrom behavior for your confirmation first — and never reports a check that did not run as if it did.

#tutorial#developer-tools#engineering

RTL comes back from an agent looking plausible and wrong in the places you find last. Verilog Generator, an agent skill from a Southeast University lab (Jiyuan Liu and He Li, HIQC), targets practical Verilog-2001 work and inverts the order: the skill asks for missing interface and timing details, shows you a module spec and a WaveDrom behavior preview, and only generates RTL after you confirm the behavior matches your intent.

Why This Skill Matters

The skill covers five tasks: turn a module requirement into readable, synthesizable Verilog-2001 RTL; explain an existing module through its ports, clock/reset behavior, state, timing, and data flow; add or improve semantic comments without silently changing behavior; repair a design against a compiler, linter, simulator, or tool log; and prepare a testbench scaffold or request real simulation results when the environment is available. What sets it apart is its honesty rule, stated in the README: a static review, a simulation, a synthesis run, and a hardware result are reported separately — a check that did not run is never presented as a completed result. The published example is a 32-bit AXI-Stream meter whose README sample reports formatter AST and readability checks as PASS with zero errors and zero strict warnings, explicitly noting that no simulator, synthesis tool, or hardware target ran.

Installation

The README's primary path is one sentence to your agent: ask it to install the skill from https://github.com/Eriemon/verilog-generator. The v2.0.0 release package also ships install.ps1, install.sh, and install.bat beside SKILL.md for manual installation, with Codex (codex), Claude (claude), Gemini (gemini), and DeepSeek (deepseek) as the supported harness targets. From the release directory:

./install.sh --platform codex --dry-run --json
./install.sh --platform codex --json

The real installer backs up an existing target before replacing it, DryRun never writes, and source directories without the configured release receipt are rejected. After installation, call the skill in the same conversation with $readable-verilog-generator or just describe the Verilog task directly.

Real Workflow: Create an AXI-Stream Packet Counter

  1. Describe the task and make the preview contract explicit:
Use $readable-verilog-generator to create a Verilog-2001 AXI-Stream packet counter.
First ask for any missing interface and timing details, then show me the module spec
and WaveDrom behavior preview before generating RTL.
  1. The skill asks for whatever is missing before making a consequential change — for a new module that means purpose, module name, ports, clock and reset semantics, cycle-by-cycle behavior, protocol rules, boundary cases, and the checks you expect.
  2. Read the preview for four things: interface and port directions with widths, clock, and reset behavior; state transitions, handshake conditions, data-path timing, and corner cases; at least one WaveDrom scenario showing the intended cycle behavior; and the checks that will run, with what each result can prove.
  3. Confirm only when the behavior matches your intent; if it does not, revise the requirement and preview again — the README's rule is that an unconfirmed interpretation does not become the final design.
  4. The handoff can include the readable .v source, a same-name <module>_spec.md, WaveDrom behavior files (.json5 and rendered .svg), a testbench scaffold when requested, reports showing only checks that actually ran, and a concise explanation of remaining assumptions and unverified areas.

For existing RTL, the same skill reviews without touching files — the README's example scopes it to "reset behavior, handshake errors, width issues, naming, comments, and synthesis risks" with "Do not modify the file" — and repairs from a real diagnostic by showing the proposed change and validation results before writing anything.

Tips

  • Comment-only work has its own contract: the README's example prompt asks the skill to "Preserve every RTL token and show the comment-only verification result."
  • Ask for the preview even when you didn't request it — the README scopes the preview-then-confirm flow to new modules and behavior-changing repairs, which is most of the interesting work.
  • The README's examples show $readable-verilog-generator invoked inside a plain sentence; you can also just describe the task directly, as the README suggests.
  • The installers are parameterized per platform; references/skill/installation.md carries the full contract the README points to.

When Not to Use This

The skill scopes itself to Verilog-2001; the README does not claim support beyond that. Simulation and synthesis results depend on your environment — the README's "when the environment is available" qualifier means a testbench without a usable simulator ends in a scaffold plus a static report, not fabricated waveforms. And the honesty rule cuts both ways: if your flow requires a sign-off grade, the skill's reports tell you exactly which checks ran, so a static-PASS-only handoff is a handoff you should treat as unverified.


See the leaderboard for more skills.