analog-hw-measure

Captures oscilloscope and FPGA ADC measurements of analog blocks and grades them against spec limits.

26|8|Updated Jun 13, 2026
One-click install
npx skills add https://github.com/vibeic/vibe-ic --skill analog-hw-measure-vibeic
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: analog-hw-measure
Source: https://github.com/vibeic/vibe-ic/tree/main/vibe-ic-marketplace/plugins/vibe-ic/skills/analog-hw-measure
Command: npx skills add https://github.com/vibeic/vibe-ic --skill analog-hw-measure-vibeic

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Hardware-in-the-loop verification of analog blocks (LDOs, oscillators, PORs, bandgaps, comparators) requires manually driving lab instruments, parsing waveform CSVs, and comparing results against specs — a slow, error-prone process. This Skill automates scope capture and FPGA ADC reads, then deterministically extracts metrics like DC level, rise time, settling time, overshoot, frequency, and jitter, grading each against spec min/max limits. ## Core Features & Use Cases - Instrument orchestration: Drives oscilloscope transient/periodic captures, FPGA MAX10 ADC DC reads, and LED pass/fail checks via MCP device tools. - Deterministic waveform metrics: Runs scope_waveform_metrics.py to compute DC level, rise time, settling time, overshoot, frequency, and jitter with frozen formulas — uncomputable metrics report SKIP, never a false FAIL. - Spec-graded reporting: Emits hw_measurements.json with per-metric PASS/FAIL against spec.json limits, ready for the analog tuning loop. - Use Case: After programming an FPGA testbench for an LDO, ask to measure Vout DC, load regulation, and transient settling; the Skill captures the scope waveform, extracts metrics, and returns a graded JSON report. ## Quick Start Measure the LDO output on the FPGA testbench and compare the captured scope waveform against the specs in analog/ldo_1v8/spec.json.

Frequently Asked Questions about analog-hw-measure

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I measure analog block specs on real hardware with an oscilloscope?▼

Program the FPGA testbench first, then run this Skill to configure the scope timebase and trigger, capture the transient or periodic waveform, and extract metrics like DC level, rise time, and settling time. Results are graded against spec.json limits into a PASS/FAIL JSON report.

How to extract rise time and settling time from an oscilloscope CSV?▼

Run scope_waveform_metrics.py on the captured time/voltage CSV. It computes rise time as the 10%-90% transition and settling time as the point the signal stays within ±2% of its final value, using fixed deterministic formulas.

What measurements does it support for LDOs and oscillators?▼

LDOs get Vout DC, load regulation, PSRR, and transient response via ADC plus scope. Oscillators get frequency, duty cycle, jitter, and startup time via periodic scope capture. POR, bandgap, and comparator blocks each have their own measurement table.

What happens if the oscilloscope is offline or the capture is too short?▼

The Skill checks instrument connectivity first and reports gracefully if the scope is unavailable. Captures shorter than the minimum sample count, lacking edges, or non-periodic report the affected metric as null with a SKIP note instead of a false FAIL.

Can I trust the PASS/FAIL grading of hardware measurements?▼

Grading compares each extracted metric against the min/max limits in spec.json using deterministic arithmetic, so identical captures always produce identical results. Metrics that cannot be computed are marked SKIP rather than guessed, and the AI decides whether to re-capture.