Skip to content

ngspice CI flow - #107

Open
Nimok15 wants to merge 2 commits into
ReaLLMASIC:mainfrom
Nimok15:restore-sim-harness
Open

ngspice CI flow#107
Nimok15 wants to merge 2 commits into
ReaLLMASIC:mainfrom
Nimok15:restore-sim-harness

Conversation

@Nimok15

@Nimok15 Nimok15 commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

The CI currently verifies cells structurally, i.e., DRC + LVS. This PR adds a functional layer: ngspice testbenches that simulate each block and check measured behaviour against expected values within a ±10% tolerance.

  1. ngspice testbenches — Use the extracted netlist from DRC artifacts, apply stimulus and bias, and measure the figures of merit.

  2. JSON test specs — one JSON per cell declaring the expected value and the pass band (default ±10%).

  3. Results table — the runner parses ngspice output, compares measured vs expected, and renders a pass/fail row per metric

PDK compatibility is only verified for sky130

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant