/analog-design-architecture:analog-architecturefrom analog-design-architecture
Budgets noise/linearity/power across an analog/mixed-signal signal chain, allocates per-block specifications, and assesses feasibility before circuit design. Use when planning receiver front-ends, data-converter front-ends, sensor AFEs, PLL/clocks, or PMICs.
Ships in analog-design-architecture. 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.
None: SKILL.md is the whole skill.
analog-chip-design-agents:analog-architecture-orchestrator agent and pass the full user
request and any available context. Do not execute stages directly.analog-architecture-orchestrator mid-flow: do not spawn a new
agent. Treat this file as read-only — return the requested stage rules, sign-off criteria,
or loop-back guidance.Spawning the orchestrator from within an active orchestrator run causes recursive delegation and must never happen.
Before executing or advising on any stage, read the following if they exist:
memory/architecture/knowledge.md — known budgeting recipes, cascade pitfalls,
process/topology trade-offs. Incorporate its guidance into every allocation decision.memory/architecture/run_state.md — current run identity (run_id, design_name,
pdk, last_stage) for resume-after-interruption.Translate a top-level system specification into a closed, feasible per-block specification
contract. Architecture is the upstream domain: it budgets noise, linearity, power, and
area across the signal chain and hands circuit-design a per-block spec table. Five stages
with explicit QoR gates and loop-back criteria enforced by the analog-architecture
orchestrator. Architecture is intentionally technology-light — it runs from system specs
and does not require a pdk.
python, NumPy / scikit-rf) — cascaded noise/linearity/power mathjupyter) — interactive budget exploration and documentationngspice) / Xyce (Xyce) — behavioral-source sanity checks of allocationsspectre) — system/behavioral verificationmatlab) — system models and budget analysisdesign_state.constraints.supply.vdd_v), total power (constraints.specs.power_mw), and area (constraints.area_um2). Record each as a budget target.constraints.rf_specs (nf_db, iip3_dbm, gain_db).spec_gap escalation candidate — do not invent a missing top-level target.spec_gap raised)| Issue | Fix |
|---|---|
| Missing top-level noise/linearity target | Raise spec_gap; request the system spec from the user |
| Ambiguous single-ended vs differential | Fix the convention before budgeting; differential doubles swing, halves even-order distortion |
| ENOB given but no noise/distortion split | Allocate ENOB to a noise floor + distortion budget (e.g. 6.02·N + 1.76 dB SNDR target) |
F = F1 + (F2−1)/G1 + (F3−1)/(G1·G2) + … (linear power gains); allocate so early stages carry low NF / high gain. Convert to input-referred noise density and integrate over BW.1/IIP3_tot = 1/IIP3_1 + G1/IIP3_2 + (G1·G2)/IIP3_3 + … (linear power units); later stages dominate distortion as gain accumulates, so back-load gain only as far as the noise budget allows.constraints.specs.power_mw, weighting blocks by their noise/linearity demand (low-noise input stages and output drivers get more); keep ≥ 10% reserve.constraints.area_um2 from device-count / passive-area heuristics; keep ≥ 15% reserve for routing and matching dummies.specs.input_noise_nv_rthz × √BW, or rf_specs.nf_db) with ≥ 1 dB marginspecs.iip3_dbm (or rf_specs.iip3_dbm); cascaded THD ≤ specs.thd_dbspecs.power_mw with ≥ 10% reservearea_um2 with ≥ 15% reserve| Issue | Fix |
|---|---|
| Cascaded NF exceeds target | Raise front-stage gain / lower front-stage NF; move gain earlier in the chain |
| Cascaded IIP3 below target | Reduce back-stage gain or add back-stage linearity (degeneration); back-load gain less |
| Power budget overruns | Trade gain for current on noise-non-critical stages; share bias |
| Budget cannot close (noise vs power conflict) | Renegotiate top spec (spec_capture loop) or change chain architecture |
constraints.supply.vdd_v — headroom check: stacked Vdsat + Vgs ≤ vdd with ≥ 10% margin — so circuit-design inherits a viable starting point.constraints.specs / rf_specs field names so downstream QoR gates compare like-for-like.| Issue | Fix |
|---|---|
| No topology meets headroom at low VDD | Re-allocate gain; choose folded/current-reuse class; flag for circuit-design |
| Matched pair split across blocks | Move the boundary so the pair stays in one block |
| Block sub-budget infeasible alone | Merge with a neighbour or re-allocate from reserve |
specs / rf_specs)| Issue | Fix |
|---|---|
| Block needs NF below kT floor at allotted current | Raise the block's power/area allocation, or relax the top spec |
| Chain sim misses top spec despite closed paper budget | Re-check cascade gains; account for impedance mismatch loss |
| Feasibility high-risk on the dominant block | Prioritise it for early circuit-design; widen its reserve |
| Check | Criterion |
|---|---|
| Noise budget | cascaded input-referred noise ≤ target (specs.input_noise_nv_rthz / rf_specs.nf_db) with margin |
| Linearity budget | cascaded IIP3 ≥ specs.iip3_dbm (or rf_specs.iip3_dbm); THD ≤ specs.thd_db |
| Power budget | Σ block power ≤ specs.power_mw |
| Area budget | Σ block area ≤ area_um2 |
| Per-block specs | every block has a feasible, allocated spec set |
| Feasibility | no block flagged infeasible by behavioral_feasibility |
constraints.specs source per block; downstream circuit-design reads architecture.blocks[].specs.failure_class: spec_gap)See plugins/meta/skills/pipeline-orchestration/SKILL.md §Constraints Schema for the authoritative schema and stage-entry validation rule.
Required at entry (spec_capture) — hard-fail if missing:
constraints.supply.vdd_v — for per-block headroom feasibilityconstraints.specs.power_mw, input_noise_nv_rthz, iip3_dbm (or the rf_specs equivalents), or constraints.area_um2Optional (no default required):
constraints.pdk — architecture is technology-light; absence is not a failureconstraints.area_um2 — area budgeting is skipped (with a note) when absentArchitecture does not run in fix-request-servicing mode — it is upstream of the circuit
repair loop and neither opens nor services fix_requests in this phase.
Write memory/architecture/run_state.md as the first action before launching any tool:
run_id: architecture_<YYYYMMDD>_<HHMMSS>
design_name: <design>
pdk: <pdk or unknown>
tool: <primary tool>
start_time: <ISO-8601>
last_stage: null
Update last_stage to the completed stage name only after each stage finishes successfully.
After each stage completes, upsert one JSON record in memory/architecture/experiences.jsonl
keyed by run_id (do not append a second line for the same run). key_metrics fields:
noise_budget_nv, power_budget_mw, area_estimate_um2. Set signoff_achieved: false
until architecture_signoff passes; then true. Create the file and parent directories if
they do not exist.
If mcp__plugin_ecc_memory__add_observations is available, emit each budgeting decision as an
observation to entity analog-design-architecture-fixes after writing to experiences.jsonl.
Skip silently if absent — the JSONL file is the canonical record.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub hdl-tools/analog-chip-design-agents --plugin analog-design-architectureOther plugins' skills for the same job