Skip to content
Skill

Hw debug loop

Guides a bounded hardware debug loop for chips that pass simulation but fail on silicon

Hw debug loop is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
Python
Platforms
Claude Code
GitHub stars
33
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Hw debug loop

This skill gives an agent a fixed sequence for diagnosing a half-duplex protocol IC whose simulation testbench passes but whose burned FPGA image fails the host acceptance test. It sets up a baseline failure record, burns a known-good reference image to confirm the test rig is sound, and captures scope traces from both images to compare pulse timing.

Based on the scope comparison, the agent follows a decision tree. Matching waveforms point to pad-level or synthesis-inference differences, which are tested by swapping wrapper expressions one at a time. Differing byte streams are diffed against a bytewise dump of the reference image, and each deviation is recorded as a waiver rather than silently copied into the design. Each fix is followed by a re-burn, a re-test and saved evidence files.

The workflow relies on Quartus compile and program steps, an oscilloscope capture tool and a device tester exposed through MCP tools, and it expects a reference SOF file and a Keysight-class scope. The skill is written as a methodology from one reference project and uses Python-based scripts.

When your agent uses it

Closed-loop hardware debug methodology for half-duplex protocol ICs when BFM passes but real-silicon connect_test FAILs (Category B/C from the A/B/C extraction-gap analysis). Use after spec-to-rtl and the selected native tool results meet their original requirements, the SOF has been burned to FPGA, and the host-side acceptance test (e.g., <half-duplex-tester> byte[6]=0x02) is FAILing. The skill drives a deterministic bisect using scope capture + oracle bytewise dump + controlled wrapper-flip experiments until byte[6]=0xF2 PASS or until the failing item is recorded as an irreducible Category-B silicon discrepancy. Triggers on "byte[6]=0x02 FAIL", "BFM passes HW fails", "connect_test FAIL", "silicon-vs-spec mismatch", or "I have an oracle SOF and need to bisect".

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 3 files (20 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the vibe-ic plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add vibeic/vibe-ic
/plugin install vibe-ic@vibe-ic-marketplace

Or copy only this skill to ~/.claude/skills/hw-debug-loop:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vibeic/vibe-ic.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/hw-debug-loop &&
cp -R "$tmp/vibe-ic-marketplace/plugins/vibe-ic/skills/hw-debug-loop" ~/.claude/skills/hw-debug-loop &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/hw-debug-loop inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/hw-debug-loop to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vibeic/vibe-ic.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/hw-debug-loop &&
cp -R "$tmp/vibe-ic-marketplace/plugins/vibe-ic/skills/hw-debug-loop" ~/.agents/skills/hw-debug-loop &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/hw-debug-loop inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/hw-debug-loop to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vibeic/vibe-ic.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/hw-debug-loop &&
cp -R "$tmp/vibe-ic-marketplace/plugins/vibe-ic/skills/hw-debug-loop" ~/.cursor/skills/hw-debug-loop &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/hw-debug-loop inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/vibeic/vibe-ic.git --path vibe-ic-marketplace/plugins/vibe-ic/skills/hw-debug-loop

Or copy the folder to ~/.gemini/skills/hw-debug-loop yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/hw-debug-loop:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vibeic/vibe-ic.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/hw-debug-loop &&
cp -R "$tmp/vibe-ic-marketplace/plugins/vibe-ic/skills/hw-debug-loop" ~/.copilot/skills/hw-debug-loop &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/hw-debug-loop inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/vibeic/vibe-ic.git

Then copy vibe-ic/vibe-ic-marketplace/plugins/vibe-ic/skills/hw-debug-loop into your agent's skills folder as hw-debug-loop. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Baseline failure capture
Records the host acceptance verdict, frame bytes and build identity before any changes are made.
Oracle rig verification
Burns a known-good reference image to confirm the test rig works before blaming the design.
Scope comparison workflow
Captures bus pulse trains from both images and compares wake width and interval.
Decision tree for fault class
Routes timing mismatches and byte-stream mismatches to separate investigation paths.
Recorded spec deviations
Logs each silicon-versus-specification difference as a waiver linked to dump evidence.
Convergence audit
Checks saved evidence and reviews native tool results before declaring the chip passing.

Good for

  • Diagnose why a chip passes simulation but fails the host connect test on hardware
  • Compare scope captures from a failing FPGA image against a known-good reference
  • Bisect RTL wrapper expression changes to find which style flips a pass to a fail
  • Record byte-level differences between the spec and measured silicon behavior
  • Assemble evidence files proving a hardware fix before moving to the next project phase

Hw debug loop FAQ

When should Hw debug loop be used?

When the simulation bytewise test passes, the SOF is burned and the host acceptance test returns a FAIL with a non-canonical byte[6]. It should not be used if a selected native tool result itself fails or if the simulation is not yet fully passing.

Does Hw debug loop change the specification automatically?

No. Silicon deviations are recorded in waivers.json, and the spec is only changed through an explicitly accepted input amendment.

What inputs does Hw debug loop need?

A burned failing SOF, a known-passing oracle SOF or bytewise dump, and a scope reachable through the device_scope_capture tool, such as a Keysight DSO-X class instrument.

Which AI clients can run Hw debug loop?

The skill is distributed as a Claude Code plugin in a marketplace, so it is written for Claude Code and uses its MCP tool names.

How do I install Hw debug loop in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/hw-debug-loop to use it in all your projects, or to .claude/skills/hw-debug-loop in one project. Or install the vibe-ic plugin, which includes it: /plugin marketplace add vibeic/vibe-ic, then /plugin install vibe-ic@vibe-ic-marketplace.

Does Hw debug loop run scripts?

Yes. It runs Python scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Hw debug loop?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Hw debug loop?

The closest alternatives to Hw debug loop are Bus debugging, Diagnosing bugs, Probe debugging, Hardware TDD and Analog hw measure.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from vibeic/vibe-ic

  1. Plans and runs analog circuit simulations and triages the results across corners

    • Open source
    • 33 GitHub stars
    • Developer tools
  2. Re-simulates analog blocks after layout to measure parasitic performance loss

    • Open source
    • 33 GitHub stars
    • Developer tools
  3. Walks an agent through a nine-step analog circuit design flow from spec to hardware

    • Open source
    • 33 GitHub stars
    • Developer tools
  4. Packages a verified analog block into LEF, Liberty, GDS and Verilog hardmacro files

    • Open source
    • 33 GitHub stars
    • Developer tools
  5. Runs hardware measurements on analog blocks using a scope and FPGA ADC

    • Open source
    • 33 GitHub stars
    • Developer tools
  6. Generates FPGA Verilog for hardware-in-the-loop testing of analog circuits

    • Open source
    • 33 GitHub stars
    • Developer tools