/vibe-ic:benchmark-verifyfrom vibe-ic
Mandatory end-to-end verification for benchmark ICs after RTL generation through silicon. Produces a BENCHMARK_VERIFICATION_REPORT.md covering six hard gates: 100% functional verification coverage, open-source reference comparison, code coverage >= 90%, FPGA digital verification, analog closed-loop verification, and Design-for-ECO readiness.
Ships in vibe-ic. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
We run benchmark ICs to validate the whole Vibe-IC flow: that starting from a complete set of Design Documents we can reach a production-ready result. A benchmark run is not finished when the flow returns a verdict — it is finished when this skill's five pillars all pass and the single report is written.
This skill is chip-AGNOSTIC and MANDATORY for every benchmark IC. Apply it
to each IC under benchmark_clean/<ic>/ (and any future benchmark set).
Read benchmark_clean/METHODOLOGY.md first. Non-negotiable:
REUSED-IP in SOURCE_MANIFEST.md (vs GENERATED). Production-readiness credit
applies only to GENERATED content; reused content is reported separately.LLM judgment (irreducible): walk L1–L27 (functional spec, interface, register map, command/protocol, timing, behavioral sequences, test cases) and enumerate every requirement — a program cannot reliably know that a prose timing sentence in L8 is a distinct testable requirement (vs a restatement) nor author the directed test that covers it. For each requirement, bind a verification item (directed test, assertion, golden-vector check, or formal property) and confirm it PASSES against the generated RTL.
reports/functional_coverage.json: {"requirements":[{"id","source","desc","status":"PASS|FAIL|PENDING"}]}.rtl-repair)
and re-verify until 100%. Do not waive a requirement; if a doc requirement is genuinely
untestable, that is a spec defect to record, not a pass.Spec-first coverage attribution (ORGANIC #697, BINDING — program-first): before claiming Pillar-1 PASS, run
programs/spec_coverage_check.pyto enumerate coverage of the supplied input chain (prompt → fact graph → L1-L27). This local check does not establish hidden-test coverage:python3 programs/spec_coverage_check.py --prompt input/prompt.md \ [--fact-graph input/fact_graph.json] --ldocs generated_docs/ \ --rtl <rtl> --tb <self_tb> --strict --json reports/gates/spec_coverage.jsonEvery spec-derived checklist item (ports, reset, latency, table rows, worked examples, every ENUMERATED SET + its outside-the-set/default boundary, signed-ness, byte order, overflow, handshake) must be COVERED by the self-TB. A
--strictBLOCK means our TB is weaker than the hidden one — close the gap (write the missing assertion) before PASS. On any FAIL, run with--failure "<behavior>": acoverage-gap⇒ enhance our TB; anextraction-gap⇒ the program names theroute_to:station (ic-expert-agent / spec-to-rtl) that dropped the requirement; only aspec-absent(nowhere in the chain, with the searched stations cited) is a genuine floor and never a Pillar-1 fail. (The structural extraction + per-station routing is deterministic; deciding whether a prose sentence is a distinct testable requirement is the LLM step above.)
Verify behavior through the selected native simulator or formal tool. Keep benchmark oracle material outside author/reviewer environments and use only input-derived tests for design changes.
Read flow/steps.json and the exact run's selected steps/<step-name>/result.json
results. Compare every selected applicable native tool output with the reference's
corresponding output. Report the step's position in the run's complete flow/steps.json table and name.
Unselected and inapplicable steps do not count as PASS. Compare engineering
meaning rather than requiring identical bytes.
Write the benchmark report from the completed native results and official scoring outputs. Disclose cohort scope, unresolved cases and every unavailable measurement; do not fabricate an accepted score.
LLM judgment (irreducible): for a metric step, deciding whether two magnitudes are in a sensible range (vs a hard threshold) requires understanding WHY they diverge; for a layout-endpoint step, deciding that a different micro-architecture (our carry-save vs the ref's array) is a benign divergence rather than a failure is design judgment, not a fixed compare.
Produce one cross_check/steps/<step-name>.md per selected applicable row
(step name, canonical position, what ran, OUR result, REF result, and verdict
token from the enum above).
Close runnable GAPs (e.g. run SPEF/IR/EM/antenna/power if the flow skipped them). Genuine
NO-TOOL items (e.g. open-source full-chip fast-SPICE) are recorded honestly — and noted if the
reference shares the same limitation. No step may be left unresolved.
Use native coverage results to select the next input-derived test. Rerun the simulator and retain the original coverage target and actual measured denominator. Read line, branch, toggle and assertion coverage from the actual native simulator. Compare coverage with the original requested target and add input-derived tests for the uncovered behavior.
reports/code_coverage.json:
{"line_pct","branch_pct","toggle_pct"}.Generate test patterns and run the digital portion on FPGA (fpga_test_harness_gen.py,
eda_fpga_compile, eda_fpga_program, on-board or BFM). Record reports/hw_test.json
{"verdict":"PASS|FAIL","patterns":N}. A core with no board-pin contract may run a BFM/
gate-level equivalent — state which. N/A only with explicit justification.
If the IC has analog blocks (analog/analog_block_list.json or phase3/analog/*), run the
analog closed-loop: analog-sizing-loop → corner sweep (ams-sim / eda_spice_corner) →
post-layout resim (analog-extraction-resim) → per-block PV (analog-output-verify) →
HIL if a bench is available (analog-hw-tuning-loop). Pure-digital ICs mark this N/A.
A production IC must be ready for a cheap metal-only ECO instead of a full base-layer
respin. That requires a distributed, tied-off pool of spare std cells/gates
(inverter/nand2/nor2/dff/mux2/aoi/oai) + reserved ECO pads — all dont_touch/keep, placed
after placement and before CTS at ~1-5% density. The methodology is the design-for-eco
skill. This pillar reads the two deterministic checker outputs:
reports/spare_cell_coverage.json from
spare_cell_coverage_check.py: density / distribution / tie-off targets met → status: PASS.Applicability: this gate applies to any digital place-and-route IC (a DEF/GDS exists
under phase3/). It is N/A only for an IC that genuinely never reached place-and-route
(e.g. analog-only). A missing spare report is PENDING, never a silent PASS.
Closed-loop: if PENDING/FAIL, run the stage3 Design-for-ECO step + its two checkers (or
restore any spare a prior optimization dropped) until coverage PASS + preservation intact.
SOURCE_MANIFEST.md.cross_check/steps/<step-name>.md with the current registry position as
display metadata. Run REAL tools in vibeic-eda; close gaps.reports/functional_coverage.json from the L-doc requirements; close-loop to 100%.reports/code_coverage.json; close-loop to >= 90%.reports/hw_test.json.reports/spare_cell_coverage.json (readiness PASS) + reports/spare_preservation.json
(all_keep_attr_intact + removed:0). N/A only if the IC never reached place-and-route.<project>/BENCHMARK_VERIFICATION_REPORT.md with the 6-pillar gate summary +
the complete selected-applicable flow row comparison table. The table must
identify every row by step name and current position and must not treat position
as execution authority. The gate remains non-PASS until every selected applicable
row is represented and every pillar passes.A benchmark IC passes benchmark-verify iff its BENCHMARK_VERIFICATION_REPORT.md shows:
SOURCE_MANIFEST.md present with GENERATED/REUSED-IP tagged.
Anything short of that is NOT complete — keep working (closed-loop), do not claim done.If verification changes plugin code, run the relevant existing tests and the
full suite when requested by the owner. Inspect the current pytest.ini and
run_tests.sh discovery so the report distinguishes configured pytest
collection from other test directories. Use ./run_tests.sh --list-tiers to
inspect that discovery and ./run_tests.sh for the requested full run. Report
the actual commands, collected and executed tests, failures, skips, and missing
dependencies. A collection error is not a passing test; a log or added policy
checker does not replace execution. Keep the IC coverage and engineering
limits above unchanged.
benchmark_clean/spm/ is a report-shape example only: retain its RTL provenance,
functional equivalence evidence, and signed-off DRC/LVS/STA evidence where their
hashes remain current. For Pillar 2, derive the exact selected step names from
the current flow plan/request, record each current registry position for
display, and write one comparison per selected applicable row under
benchmark_clean/spm/cross_check/steps/. Historical fixed-count tables are
not current acceptance authority.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub vibeic/vibe-ic --plugin vibe-ic71 skills in this plugin
/ams-simPlan and run analog / mixed-signal simulations — DC op, AC, transient, Monte Carlo, corner sweeps, PSRR/CMRR, noise — using ngspice, Xyce, Spectre, or HSPICE, and triage the results. Use when the user says "SPICE", "ngspice", "Monte Carlo", "corner simulation", "analog sim", "AC analysis", "transient", "PSRR", "CMRR", "noise analysis"./analog-extraction-resimPost-layout parasitic extraction + re-simulation for analog blocks — compares pre-layout vs post-layout specs. Use when the user says "post-layout resim", "extract and resimulate", "parasitic check", or at Step A7 of the analog track./analog-flow-orchestrateOther plugins' skills for the same job