/vibe-ic:analog-hw-testbench-genfrom vibe-ic
Generates FPGA Verilog RTL for hardware-in-the-loop analog testing: digital stimulus controller, MAX10 ADC readback, and scope trigger. Use when verifying analog blocks on real hardware.
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.
Generates FPGA Verilog for exercising an external analog circuit on a breadboard or test PCB. The FPGA controls enable/trim/bias, generates stimulus, reads the MAX10 internal ADC, and triggers the oscilloscope.
analog-sizing-loop converges in SPICE (hardware verification phase)analog/<block>/spec.json — performance specs + pin interfaceanalog/<block>/sizing_final.json — converged device sizes (for BOM reference)analog/<block>/hw_test/<block>_hw_tb.v — stimulus + readback RTLanalog/<block>/hw_test/<block>_hw_tb_top.v — top-level with pin assignmentsanalog/<block>/hw_test/<block>_hw_tb.qpf — Quartus projectanalog/<block>/hw_test/pin_assignments.qsf — FPGA pin mappinganalog/<block>/hw_test/README.md — breadboard wiring guide with component BOM// MAX10 internal ADC — directly instantiable
altera_adc_control u_adc (
.clk (clk_50mhz),
.rst (rst),
.channel (5'd0), // ADC channel 0-16
.start (adc_start),
.done (adc_done),
.data (adc_data) // 12-bit result
);
Read Quartus pin-assignment and fitter reports for the emitted testbench. Resolve any duplicate signal assignment, unavailable pin, voltage-bank conflict or missing required connection before programming the board.
Exit 0 = PASS, 1 = FAIL (a pin shorted to two signals, or no
set_location_assignment anywhere in the target), 2 = QSF missing or not a
DE10-Lite (MAX10 10M50DAF484C7G) board (out of scope — cannot judge). The
check only fires on DE10-Lite QSFs.
The external-I/O budget is now YOUR judgment again, and here is why. The
program used to FAIL a QSF assigning more than 46 pins ("36 GPIO + 10
Arduino") to the two user headers. That ceiling contradicts the board: the
DE10-Lite offers 36 GPIO_0 + 16 Arduino digital I/O + ARDUINO_RESET_N =
53 external-I/O pins, all enumerated in the program's own manual-sourced
tables. Measured, a physically valid map using 36 GPIO + 11 Arduino pins
(47 real pins, none doubled) came back FAIL external-io-budget. And the
rule could never catch the defect it was named for: it counted only pins
inside that 53-pin catalogue, so a design that genuinely needs more external
I/O than the board has would put the surplus on pins the rule does not
count. It only had false positives available to it, so it was withdrawn. The
program still MEASURES and REPORTS the header-pin count
(external_io_pins_used / external_io_pins_available); it just does not
judge it. Keep the design inside 36 GPIO_0 + 16 Arduino I/O yourself.
(Full-board physical-pin-map validation — HEX/VGA/SDRAM/G-sensor pins — is also still your judgment: the program intentionally does not flag "unknown" pins to avoid false-firing on legitimate peripheral assignments.)
.v + .qpf → eda_fpga_compile → eda_fpga_programanalog-hw-measure for scope + ADC data collectionWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
fpga, verilog, analog-testing, hardware-verification, rtl-generation
71 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-orchestrateCanonical reference doc for the Analog A1-A9 track — spec extraction → topology → netlist → corner sweep → layout → per-block PV (DRC/LVS) → post-layout resim → hardmacro → HIL. Used when an agent wants to walk the A1-A9 plan step-by-step. For unified one-command execution (deterministic runner + AI fall-through + final audit aggregated), prefer the slash command `/vibe-ic-analog` (v1.6.13+) which merges this skill's workflow with `analog_one_shot_runner.py`./analog-hardmacro-genPackage a verified analog block into a hardmacro (LEF abstract + Liberty timing + GDS + behavioral Verilog) for digital PnR integration. Use when the user says "package analog block", "generate hardmacro", "create LEF/Liberty", or at Step A7 of the analog track./analog-hw-measureExecute hardware measurements on analog blocks via scope capture + FPGA ADC read. Use when running hardware-in-the-loop verification, "measure analog", "scope capture", "read ADC", or during analog hardware tuning./analog-hw-tuning-loopClosed-loop hardware-in-the-loop analog tuning — iterates SPICE sizing → hardware build → measure → compare → adjust until hardware matches SPICE matches spec. Use when the user says "tune analog on hardware", "hardware convergence", "HIL tuning loop".npx claudepluginhub vibeic/vibe-ic --plugin vibe-icOther plugins' skills for the same job