analog-sizing-loop

Automates closed-loop analog transistor sizing through iterative SPICE corner sweeps until all PVT specs pass.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Analog block sizing traditionally requires 5-14 manual iterations of adjusting transistor W/L values, regenerating netlists, and re-running SPICE corner simulations. This Skill automates that closed loop, converging on a sizing that passes all PVT corners with deterministic pass/fail gating. ## Core Features & Use Cases - Closed-loop optimization: Orchestrates sizing, netlist generation, and SPICE corner sweeps (TT/SS/FF across -40/25/125°C) until every spec in spec.json passes, with a hard 5-iteration cap. - Deterministic convergence policy: Maps named failure modes (gain_low, bandwidth_low, phase_margin_low, noise_high, power_high, output_swing_low) to canonical sizing deltas via enforced policy scripts, plus runaway/duplicate-trial guards before each expensive corner sweep. - Structured audit outputs: Produces sizing_final.json, corner_results.json, and sizing_history.json with schema validation so results feed directly into layout and verification gates. - Use Case: After an initial sizing of an LDO in gf180 shows gain failing at the SS -40°C corner, run the loop to automatically widen the input pair, re-simulate all corners, and emit a converged sizing_final.json ready for layout. ## Quick Start Optimize the analog block by running the closed-loop sizing flow on analog/ldo_1v8 until all PVT corners pass the specs in spec.json.

Frequently Asked Questions about analog-sizing-loop

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

FAQPage Schema
How do I automatically size analog transistors to meet SPICE corner specs?▼

Run the closed sizing loop: it generates an initial sizing, builds a SPICE netlist, sweeps all PVT corners, and applies canonical sizing deltas for each named failure mode until every spec passes or the 5-iteration cap is reached.

How to fix gain or bandwidth failures at worst-case PVT corners?▼

The loop identifies the worst corner and dominant failure mode, then applies a deterministic delta such as +50% input-pair width for gain_low or reduced width plus higher bias current for bandwidth_low, then re-simulates all corners.

Which PDKs does the analog sizing loop support?▼

The documented inputs list gf180 and sky130 as the supported PDKs. The sizing loop consumes the PDK through the netlist generation and SPICE corner sweep steps.

What happens if analog sizing does not converge after several iterations?▼

The loop stops after 5 iterations and reports the best-so-far sizing plus remaining failures. If a fundamental topology limitation is detected, it recommends returning to topology selection rather than continuing to re-size.

Why does the sizing loop reject a proposed transistor sizing before simulation?▼

An admission guard rejects duplicate sizings already simulated in the session and runaway values outside bounds or caps, preventing wasted multi-corner SPICE sweeps on redundant or unsafe design points.