{
  "schema": "aisic.circuit/1",
  "entryType": "library-block",
  "domain": "analog",
  "id": "strongarm-pmos",
  "name": "StrongARM latch comparator, PMOS input",
  "group": "Comparators",
  "subgroup": "Clocked",
  "title": "StrongARM latch comparator, PMOS input",
  "summary": "This clocked comparator uses PMOS input transistors to compare voltages near ground. It resets while the clock is high and makes its decision while the clock is low. Output buffers reduce loading of the latch, but nearly equal inputs still take longer to resolve.",
  "reference": {
    "kind": "paper",
    "authors": "T. Kobayashi, K. Nogami, T. Shirotori, Y. Fujimoto",
    "title": "A current-mode latch sense amplifier and a static power saving input buffer for low-power architecture",
    "year": 1992,
    "where": "1992 Symposium on VLSI Circuits, Digest of Technical Papers, pp. 28-29",
    "doi": "10.1109/VLSIC.1992.229252",
    "takes": "The latch: an input pair under a cross-coupled pair, a clocked tail, and reset switches on every internal node, drawing charge only as it decides. The complementary form - PMOS input, reset to ground, decision on the clock's falling edge - the output buffers and the sizing are this library's, for SG13G2 at 1.2 V."
  },
  "resources": {
    "record": "/circuits/strongarm-pmos.json",
    "page": "/index.html#strongarm-pmos",
    "achieved": "/achieved/strongarm-pmos.json",
    "achievedScope": "Recorded results apply to the published default design and their recorded conditions, not arbitrary sizing edits in a downloaded record.",
    "modelCards": [
      {
        "name": "sg13g2_lv_tt.spice",
        "url": "/sg13g2_lv_tt.spice",
        "sha256": "5caf9c90dc6c7e6be36ae2a098835ffe50cca0d502cb4b2a7eafb000abfcc88a"
      }
    ],
    "urlBase": "Resource URLs start at this site's root. Save model cards beside exported SPICE decks using their include filenames.",
    "schema": "/schemas/circuit.schema.json"
  },
  "specificationPolicy": {
    "evidence": "Simulation evidence is not a production guarantee or completed physical signoff.",
    "defaultScope": "Numeric limits apply at every requested condition unless an explicit supported scope says otherwise.",
    "scopes": {
      "nominal": {
        "corner": "tt",
        "temp": 27,
        "vdd": 1,
        "temperatureUnit": "degC",
        "supplyMeaning": "scale of the bench's nominal supply"
      }
    },
    "characterization": "Out-of-scope results retain their numerical values and execution coverage, without a parametric-yield claim."
  },
  "corners": {
    "cards": "a deck's sg13g2_<family>_tt.spice (family lv, hv, passive, hbt) becomes sg13g2_<family>_<corner>.spice",
    "process": [
      "tt",
      "ss",
      "ff",
      "sf",
      "fs"
    ],
    "pairing": "resistors, capacitors and bipolars go to their worst-case-speed corner (wcs) with ss, their best case (bcs) with ff, and stay typical otherwise",
    "temperatures": [
      -40,
      27,
      125
    ],
    "supplyScale": [
      0.9,
      1,
      1.1
    ],
    "supply": "a deck's .param VDD, or its Vdd source, times supplyScale; a testbench that drives its supply itself keeps it",
    "held": "what a testbench gives from outside - bias currents, references - stays at its typical value at every corner and in every draw",
    "sets": {
      "essential": [
        {
          "corner": "tt",
          "temp": 27,
          "vdd": 1
        },
        {
          "corner": "ss",
          "temp": 27,
          "vdd": 1
        },
        {
          "corner": "ff",
          "temp": 27,
          "vdd": 1
        },
        {
          "corner": "sf",
          "temp": 27,
          "vdd": 1
        },
        {
          "corner": "fs",
          "temp": 27,
          "vdd": 1
        },
        {
          "corner": "tt",
          "temp": -40,
          "vdd": 1
        },
        {
          "corner": "tt",
          "temp": 125,
          "vdd": 1
        },
        {
          "corner": "tt",
          "temp": 27,
          "vdd": 0.9
        },
        {
          "corner": "tt",
          "temp": 27,
          "vdd": 1.1
        },
        {
          "corner": "ss",
          "temp": 125,
          "vdd": 0.9
        },
        {
          "corner": "ff",
          "temp": -40,
          "vdd": 1.1
        }
      ],
      "full": "all 45 combinations"
    },
    "montecarlo": {
      "cards": {
        "mc": "process and mismatch",
        "mcmm": "mismatch only",
        "mcproc": "process only"
      },
      "seed": "draw k adds .options seed=k, so draws are reproducible"
    }
  },
  "technology": {
    "id": "sg13g2",
    "name": "IHP SG13G2",
    "node": "130 nm",
    "corner": "tt",
    "vdd": 1.2,
    "lmin": 1.3e-7,
    "wmin": 1.5e-7,
    "models": "sg13g2_lv_tt.spice",
    "devices": {
      "nmos": "sg13_lv_nmos",
      "pmos": "sg13_lv_pmos",
      "resistor": "rppd, rhigh",
      "capacitor": "cap_cmim"
    },
    "defaultsScope": "vdd, lmin, wmin, models and devices above describe the core-PDK defaults, not every circuit's supply or device requirements. Use the sizing, device list, cards and testbench netlists for this implementation, including HV and bipolar devices where present.",
    "note": "Sizes are in metres (w=1u); ng is the number of gate fingers. The MOSFETs are PSP 103 and the resistors r3_cmc, Verilog-A models ngspice loads through OSDI - psp103.osdi and r3_cmc.osdi, compiled with OpenVAF."
  },
  "implementation": {
    "kind": "physical-device-reference",
    "purpose": "A reasonable SG13G2 realization for learning, reuse and technology retargeting; not a claim of globally optimal sizing.",
    "evidence": "schematic-simulation",
    "netlistBoundary": "Exported netlists are complete simulation benches, including ideal stimuli, loads, bias/reference sources and, where stated, parasitic surrogates or numerical aids; they are not fabrication netlists. Integrate and verify the physical support circuits separately.",
    "physicalSignoff": "Layout, DRC, LVS, extracted-parasitic simulation and silicon measurements are not supplied by this catalogue.",
    "retargeting": "Preserve topology, intent and interfaces; select legal devices and resize for the destination process, then repeat operating-range, PVT, mismatch and physical verification."
  },
  "cards": [
    "sg13g2_lv_tt.spice"
  ],
  "ports": [
    {
      "name": "inp",
      "kind": "input",
      "polarity": "+"
    },
    {
      "name": "inn",
      "kind": "input",
      "polarity": "-"
    },
    {
      "name": "clk",
      "kind": "clock",
      "note": "high resets, low decides"
    },
    {
      "name": "outp",
      "kind": "output"
    },
    {
      "name": "outn",
      "kind": "output"
    },
    {
      "name": "vdd",
      "kind": "supply"
    },
    {
      "name": "vss",
      "kind": "ground"
    }
  ],
  "devices": [
    {
      "name": "MT",
      "type": "pmos",
      "nodes": "t clk vdd vdd",
      "sizedBy": [
        "Wt",
        "Lt"
      ],
      "role": "tail switch, on while clk is low",
      "fingers": 1,
      "copies": 1
    },
    {
      "name": "M1",
      "type": "pmos",
      "nodes": "x1 inp t vdd",
      "sizedBy": [
        "Wi",
        "Li"
      ],
      "role": "input pair",
      "fingers": 4,
      "copies": 1
    },
    {
      "name": "M2",
      "type": "pmos",
      "nodes": "x2 inn t vdd",
      "sizedBy": [
        "Wi",
        "Li"
      ],
      "role": "input pair",
      "fingers": 4,
      "copies": 1
    },
    {
      "name": "M3",
      "type": "pmos",
      "nodes": "o1 o2 x1 vdd",
      "sizedBy": [
        "Wp",
        "L"
      ],
      "role": "latch, cross-coupled PMOS",
      "fingers": 2,
      "copies": 1
    },
    {
      "name": "M4",
      "type": "pmos",
      "nodes": "o2 o1 x2 vdd",
      "sizedBy": [
        "Wp",
        "L"
      ],
      "role": "latch, cross-coupled PMOS",
      "fingers": 2,
      "copies": 1
    },
    {
      "name": "M5",
      "type": "nmos",
      "nodes": "o1 o2 vss vss",
      "sizedBy": [
        "Wn",
        "L"
      ],
      "role": "latch, cross-coupled NMOS",
      "fingers": 1,
      "copies": 1
    },
    {
      "name": "M6",
      "type": "nmos",
      "nodes": "o2 o1 vss vss",
      "sizedBy": [
        "Wn",
        "L"
      ],
      "role": "latch, cross-coupled NMOS",
      "fingers": 1,
      "copies": 1
    },
    {
      "name": "M7",
      "type": "nmos",
      "nodes": "o1 clk vss vss",
      "sizedBy": [
        "Wr",
        "L"
      ],
      "role": "reset",
      "fingers": 1,
      "copies": 1
    },
    {
      "name": "M8",
      "type": "nmos",
      "nodes": "o2 clk vss vss",
      "sizedBy": [
        "Wr",
        "L"
      ],
      "role": "reset",
      "fingers": 1,
      "copies": 1
    },
    {
      "name": "M9",
      "type": "nmos",
      "nodes": "x1 clk vss vss",
      "sizedBy": [
        "Wr",
        "L"
      ],
      "role": "reset",
      "fingers": 1,
      "copies": 1
    },
    {
      "name": "M10",
      "type": "nmos",
      "nodes": "x2 clk vss vss",
      "sizedBy": [
        "Wr",
        "L"
      ],
      "role": "reset",
      "fingers": 1,
      "copies": 1
    },
    {
      "name": "M11",
      "type": "nmos",
      "nodes": "outp o1 vss vss",
      "sizedBy": [
        "Wbn",
        "L",
        "B"
      ],
      "role": "output buffer",
      "fingers": 1,
      "copies": 1
    },
    {
      "name": "M12",
      "type": "pmos",
      "nodes": "outp o1 vdd vdd",
      "sizedBy": [
        "Wbp",
        "L",
        "B"
      ],
      "role": "output buffer",
      "fingers": 1,
      "copies": 1
    },
    {
      "name": "M13",
      "type": "nmos",
      "nodes": "outn o2 vss vss",
      "sizedBy": [
        "Wbn",
        "L",
        "B"
      ],
      "role": "output buffer",
      "fingers": 1,
      "copies": 1
    },
    {
      "name": "M14",
      "type": "pmos",
      "nodes": "outn o2 vdd vdd",
      "sizedBy": [
        "Wbp",
        "L",
        "B"
      ],
      "role": "output buffer",
      "fingers": 1,
      "copies": 1
    }
  ],
  "intent": [
    {
      "rule": "match",
      "of": [
        "M1",
        "M2"
      ],
      "why": "The input pair: their mismatch is the latch's offset directly, and the largest share of it."
    },
    {
      "rule": "match",
      "of": [
        "M3",
        "M4",
        "M5",
        "M6"
      ],
      "why": "The regenerating pairs must be balanced, or the latch prefers one outcome whatever its inputs."
    },
    {
      "rule": "match",
      "of": [
        "M7",
        "M8",
        "M9",
        "M10"
      ],
      "why": "The reset must leave both sides equal - the same charge, the same time - or the latch starts each decision leaning."
    },
    {
      "rule": "match",
      "of": [
        "M11",
        "M13"
      ],
      "why": "The buffers load o1 and o2: unequal, they unbalance the latch's own capacitances."
    },
    {
      "rule": "no-static-current",
      "of": [
        "MT"
      ],
      "constraint": "the tail is a switch on the clock",
      "why": "There is no intentional static bias path. Clocked operation draws transient current during decisions and reset; leakage still flows while the latch resets or holds."
    },
    {
      "rule": "reset",
      "of": [
        "M7",
        "M8",
        "M9",
        "M10"
      ],
      "constraint": "all four internal nodes to ground while clk is high",
      "why": "Without a full reset the last decision biases the next: the latch remembers, and the memory looks like offset - or, over a sweep, like hysteresis."
    },
    {
      "rule": "regeneration",
      "of": [
        "M3",
        "M4",
        "M5",
        "M6"
      ],
      "constraint": "t_dec ≈ t_0 + τ ln(ΔV/V_id), τ = C/g_m",
      "why": "Each decade less overdrive costs the same time: sizing the latch is choosing τ against the clock budget, and a smaller node capacitance is worth more than a wider device."
    }
  ],
  "specs": [
    {
      "key": "t_dec",
      "label": "Decision time",
      "unit": "s",
      "direction": "min",
      "constraint": "<= 1.2e-9 s",
      "min": null,
      "max": 1.2e-9,
      "why": "10 mV past the threshold, from the clock edge to half the supply: 0.63 ns at tt and about 1 ns at the slowest corner - inside the 2 ns the 250 MHz bench gives each decision."
    },
    {
      "key": "t_dec_small",
      "label": "Decision time, smallest overdrive",
      "unit": "s",
      "direction": "min",
      "constraint": "<= 1.5e-9 s",
      "min": null,
      "max": 1.5e-9,
      "why": "1 mV past it: about τ·ln 10 later, and still inside the half period at every corner."
    },
    {
      "key": "tau",
      "label": "Regeneration time constant",
      "unit": "s",
      "direction": "min",
      "constraint": "<= 1.2e-10 s",
      "min": null,
      "max": 1.2e-10,
      "why": "The regeneration time constant, C/g_m of the latch: about 60 ps at tt, under 100 ps at the slowest corner."
    },
    {
      "key": "vos",
      "label": "Offset",
      "unit": "V",
      "direction": "target",
      "constraint": ">= -0.01 V, <= 0.01 V",
      "min": -0.01,
      "max": 0.01,
      "why": "Zero by symmetry; mismatch spreads it by about 3.3 mV σ, most of it the latch's own mismatch divided by the gain the input pair integrates first. ±10 mV is three sigma."
    },
    {
      "key": "v_hyst",
      "label": "Hysteresis",
      "unit": "V",
      "direction": "min",
      "constraint": "<= 0.001 V",
      "min": null,
      "max": 0.001,
      "why": "No memory: the reset erases the last decision, so the thresholds found going up and coming down agree to within the sweep's 1 mV step."
    },
    {
      "key": "e_dec",
      "label": "Energy per decision",
      "unit": "J",
      "direction": "min",
      "constraint": "<= 2.5e-13 J",
      "min": null,
      "max": 2.5e-13,
      "why": "The charge a decision takes from the supply - the internal nodes charged, one of them discharged again, an output switched - times V_DD: about 170 fJ at tt."
    },
    {
      "key": "i_reset",
      "label": "Supply current in reset",
      "unit": "A",
      "direction": "min",
      "constraint": "<= 0.000001 A",
      "min": null,
      "max": 0.000001,
      "why": "No intentional static bias path: in reset the tail is off, but device leakage still flows."
    },
    {
      "key": "voh",
      "label": "Output high level",
      "unit": "V",
      "direction": "max",
      "constraint": ">= 1.05 V",
      "min": 1.05,
      "max": null,
      "why": "Rail-to-rail outputs, at every supply the corners take it to."
    },
    {
      "key": "vol",
      "label": "Output low level",
      "unit": "V",
      "direction": "min",
      "constraint": "<= 0.05 V",
      "min": null,
      "max": 0.05,
      "why": "And ground."
    },
    {
      "key": "v_reset",
      "label": "Output level in reset",
      "unit": "V",
      "direction": "max",
      "constraint": ">= 1.05 V",
      "min": 1.05,
      "max": null,
      "why": "Both outputs high while the latch resets: what follows sees a decision only when one of them falls."
    }
  ],
  "explanation": {
    "idea": "This clocked comparator uses PMOS input transistors to compare voltages near ground. It resets while the clock is high and makes its decision while the clock is low. Output buffers reduce loading of the latch, but nearly equal inputs still take longer to resolve.",
    "detail": "The StrongARM latch turned upside down. While the clock is high it resets: the tail MT is off, and M7 to M10 hold both latch nodes and both input drains at ground. When the clock falls, MT turns on and the input pair charges x1 and x2, the side with the lower input faster; M3 and M4 pass that on to o1 and o2, and once those rise far enough the two cross-coupled inverters regenerate the difference until one node is at the supply and the other back at ground. A PMOS pair supports inputs near ground, where an NMOS pair would be off. There is no intentional static bias path, but leakage remains.",
    "lesson": {
      "relation": 1,
      "symbols": "t_dec is decision time; t_0 is the initial integration and fixed delay; τ is the regeneration time constant; V_DD is supply; G is input-phase gain; V_id is the magnitude of overdrive beyond the actual decision threshold.",
      "assumptions": "The logarithmic estimate assumes approximately exponential regeneration at a fixed operating point. Output-buffer delay and load add to the internal latch timing, and zero-overdrive decisions require statistical treatment.",
      "exercise": {
        "param": "CL",
        "value": 2e-14,
        "analysis": "delay",
        "expect": "Doubling the external output load should slow the buffered output decision. Compare the measured delays across overdrives; the external load is not the same as the latch's internal capacitance."
      },
      "limits": "The clock must provide adequate reset and evaluation time. The PMOS pair needs enough voltage from its tail node, so its usable common-mode range is limited. Reset leakage, kickback, random offset and downstream loading remain physical integration concerns."
    },
    "path": [
      {
        "part": "Reset",
        "devices": "M7, M8, M9, M10",
        "does": "While clk is high they hold o1, o2, x1 and x2 at ground with the tail off. Reset erases the old decision; there is no intentional static bias path, but leakage still flows."
      },
      {
        "part": "Input integration",
        "devices": "MT, M1, M2",
        "does": "clk falling turns MT on; M1 on inp and M2 on inn charge x1 and x2, the lower input's side faster, turning the overdrive into a growing difference."
      },
      {
        "part": "Regeneration",
        "devices": "M3, M4, M5, M6",
        "does": "M3 and M4 pass the charge on to o1 and o2; as those pass V_TN, M5 and M6 join in, and the cross-coupled pairs amplify the gap until one node reaches V_DD and the other returns to ground."
      },
      {
        "part": "Output buffers",
        "devices": "M11, M12, M13, M14",
        "does": "Inverters on o1 and o2: both outputs are high while the latch resets, and the one on the losing side falls - outp stays high when inp is above inn."
      }
    ],
    "bias": "No bias current: MT is a switch on clk. The bench clocks the latch at 250 MHz from 1.2 V with both inputs near 0.3 V; each decision takes about 170 fJ from the supply, and in reset only leakage flows. MT is narrow on purpose: it limits the current while the pair integrates, so the pair's source settles well below V_DD, the pair is less strongly inverted, and its g_m/I_D - the gain it builds before the latch takes over - is higher.",
    "relations": [
      {
        "what": "Regeneration",
        "expr": "ΔV(t) = ΔV_0·e^(t/τ), τ ≈ C_o/(g_m3 + g_m5)",
        "note": "C_o is o1 or o2, the buffer's gate included; about 60 ps at tt"
      },
      {
        "what": "Decision time",
        "expr": "t_dec ≈ t_0 + τ·ln(V_DD/(2 G V_id))",
        "note": "each decade less overdrive costs τ·ln 10, about 0.14 ns"
      },
      {
        "what": "Integration gain",
        "expr": "G ≈ (g_m/I_D)_1 · |V_TP|",
        "note": "the gain the input pair builds on x1 and x2 before M3 and M4 conduct; a strongly driven pair builds little"
      },
      {
        "what": "Offset",
        "expr": "σ_os² ≈ 2σ_VT,1² + 2(s_3 σ_VT,3)² + 2(s_5 σ_VT,5)²",
        "note": "s_3 and s_5, measured by shifting one device's threshold at a time, are about 0.5 and 0.3: the latch's mismatch is divided by the gain the input pair integrates first; about 3.3 mV σ in all"
      },
      {
        "what": "Input common mode",
        "expr": "V_CM + |V_TP| < V_t",
        "note": "the pair must conduct from the tail's node: it decides with its inputs anywhere from ground to about 0.6 V, where an NMOS pair would need its inputs well above V_TN"
      }
    ],
    "tradeoffs": [
      "Tail width (Wt): a stronger tail integrates faster but drives the pair harder, lowering its g_m/I_D and the gain it integrates, so the latch's own mismatch counts for more. With an 8 µm tail and a minimum-length latch the offset was 8 mV σ at 0.3 ns; the 2 µm tail and 0.2 µm latch give 3.5 mV at 0.63 ns.",
      "Latch length (L): at the minimum length each device's threshold moves with its drawn length, a mismatch no width averages away; 0.2 µm makes it small, at some regeneration speed.",
      "Input pair (Wi, Li): larger lowers its own mismatch and raises its g_m/I_D, but loads x1, x2 and whatever drives the inputs - 24 µm bought 12 % less offset for 13 % more delay.",
      "Input common mode (VCM): the latch decides from ground to about 0.6 V - 0.69 ns at 10 mV with the inputs at 0 V, 0.63 ns at 0.3 V, 0.96 ns at 0.6 V; above that the pair runs out of V_SG from the tail's node and the smallest inputs no longer resolve in time."
    ]
  },
  "sizing": [
    {
      "key": "Wi",
      "label": "W input pair (M1, M2)",
      "unit": "m",
      "value": 0.000012,
      "min": 3e-7,
      "max": 0.00004,
      "kind": "si"
    },
    {
      "key": "Li",
      "label": "L input pair",
      "unit": "m",
      "value": 4e-7,
      "min": 1.3e-7,
      "max": 0.000001,
      "kind": "si"
    },
    {
      "key": "Wt",
      "label": "W tail (MT)",
      "unit": "m",
      "value": 0.000002,
      "min": 3e-7,
      "max": 0.00004,
      "kind": "si"
    },
    {
      "key": "Lt",
      "label": "L tail",
      "unit": "m",
      "value": 1.3e-7,
      "min": 1.3e-7,
      "max": 0.000001,
      "kind": "si"
    },
    {
      "key": "Wp",
      "label": "W latch PMOS (M3, M4)",
      "unit": "m",
      "value": 0.000006,
      "min": 3e-7,
      "max": 0.00002,
      "kind": "si"
    },
    {
      "key": "Wn",
      "label": "W latch NMOS (M5, M6)",
      "unit": "m",
      "value": 0.000003,
      "min": 1.5e-7,
      "max": 0.00001,
      "kind": "si"
    },
    {
      "key": "Wr",
      "label": "W reset switches (M7-M10)",
      "unit": "m",
      "value": 5e-7,
      "min": 1.5e-7,
      "max": 0.000005,
      "kind": "si"
    },
    {
      "key": "L",
      "label": "L latch, reset and buffers",
      "unit": "m",
      "value": 2e-7,
      "min": 1.3e-7,
      "max": 5e-7,
      "kind": "si"
    },
    {
      "key": "Wbn",
      "label": "W buffer NMOS unit (M11, M13)",
      "unit": "m",
      "value": 5e-7,
      "min": 1.5e-7,
      "max": 0.000005,
      "kind": "si"
    },
    {
      "key": "Wbp",
      "label": "W buffer PMOS unit (M12, M14)",
      "unit": "m",
      "value": 0.000001,
      "min": 1.5e-7,
      "max": 0.00001,
      "kind": "si"
    },
    {
      "key": "B",
      "label": "Buffer copies",
      "unit": "",
      "value": 1,
      "min": 1,
      "max": 8,
      "kind": "int"
    },
    {
      "key": "CL",
      "label": "Load capacitance, each output",
      "unit": "F",
      "value": 1e-14,
      "min": 1e-15,
      "max": 2e-13,
      "kind": "si"
    },
    {
      "key": "VCM",
      "label": "Input common mode",
      "unit": "V",
      "value": 0.3,
      "min": 0,
      "max": 0.6,
      "kind": "si"
    }
  ],
  "testbenches": [
    {
      "id": "op",
      "label": "Decided states",
      "note": "Six decisions, alternately either way at a clear overdrive: the output levels, the level in reset, and the charge each decision takes from the supply.",
      "measures": [],
      "metricKeys": [
        "voh",
        "vol",
        "v_reset",
        "i_reset",
        "e_dec",
        "i_avg"
      ],
      "acceptance": [
        "voh",
        "vol",
        "v_reset",
        "i_reset",
        "e_dec"
      ],
      "acceptanceRules": [
        {
          "key": "voh",
          "unit": "V",
          "min": 1.05,
          "max": null,
          "classification": "simulation-limit",
          "conditions": "all requested testbench conditions",
          "outsideScope": "characterization; the measurement must still be present, unique and finite"
        },
        {
          "key": "vol",
          "unit": "V",
          "min": null,
          "max": 0.05,
          "classification": "simulation-limit",
          "conditions": "all requested testbench conditions",
          "outsideScope": "characterization; the measurement must still be present, unique and finite"
        },
        {
          "key": "v_reset",
          "unit": "V",
          "min": 1.05,
          "max": null,
          "classification": "simulation-limit",
          "conditions": "all requested testbench conditions",
          "outsideScope": "characterization; the measurement must still be present, unique and finite"
        },
        {
          "key": "i_reset",
          "unit": "A",
          "min": null,
          "max": 0.000001,
          "classification": "simulation-limit",
          "conditions": "all requested testbench conditions",
          "outsideScope": "characterization; the measurement must still be present, unique and finite"
        },
        {
          "key": "e_dec",
          "unit": "J",
          "min": null,
          "max": 2.5e-13,
          "classification": "simulation-limit",
          "conditions": "all requested testbench conditions",
          "outsideScope": "characterization; the measurement must still be present, unique and finite"
        }
      ],
      "cards": [
        "sg13g2_lv_tt.spice"
      ],
      "netlist": "* StrongARM latch comparator, PMOS input - decided states\n.include sg13g2_lv_tt.spice\n.param VDD=1.2\nVdd vdd 0 dc {VDD}\n.subckt sapmos inp inn clk outp outn vdd vss\n* the tail, on while clk is low, and the input pair: the lower input charges its side faster\nXMT t clk vdd vdd sg13_lv_pmos w=2u l=130n ng=1 m=1\nXM1 x1 inp t vdd sg13_lv_pmos w=12u l=400n ng=4 m=1\nXM2 x2 inn t vdd sg13_lv_pmos w=12u l=400n ng=4 m=1\n* the latch: two cross-coupled inverters, their PMOS on the pair's drains\nXM3 o1 o2 x1 vdd sg13_lv_pmos w=6u l=200n ng=2 m=1\nXM4 o2 o1 x2 vdd sg13_lv_pmos w=6u l=200n ng=2 m=1\nXM5 o1 o2 vss vss sg13_lv_nmos w=3u l=200n ng=1 m=1\nXM6 o2 o1 vss vss sg13_lv_nmos w=3u l=200n ng=1 m=1\n* reset: while clk is high, all four internal nodes to ground\nXM7 o1 clk vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1\nXM8 o2 clk vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1\nXM9 x1 clk vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1\nXM10 x2 clk vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1\n* output buffers: o1 wins when inp is below inn, and pulls outp down\nXM11 outp o1 vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1\nXM12 outp o1 vdd vdd sg13_lv_pmos w=1u l=200n ng=1 m=1\nXM13 outn o2 vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1\nXM14 outn o2 vdd vdd sg13_lv_pmos w=1u l=200n ng=1 m=1\n.ends\nXdut inp inn clk outp outn vdd 0 sapmos\nClp outp 0 10f\nCln outn 0 10f\nVclk clk 0 pulse({VDD} 0 2n 50p 50p 1.95n 4n)\n* one input level per clock cycle, changed while the comparator resets\nVcm cm 0 dc 300m\nVid id 0 pwl(0 -50m 4.975n -50m 5.025n 50m 8.975n 50m 9.025n -50m 12.975n -50m 13.025n 50m 16.975n 50m 17.025n -50m 20.975n -50m 21.025n 50m)\n* the differential input split evenly either side of the common mode\nEinp inp cm id 0 0.5\nEinn inn cm id 0 -0.5\n.tran 10p 24n\n.end"
    },
    {
      "id": "sweep",
      "label": "Thresholds",
      "note": "V_id stepped from -30 mV to +30 mV and back, one level per clock cycle over 120 cycles: where the decisions turn each way. A latch that keeps something of its last decision turns late each way - hysteresis.",
      "measures": [],
      "metricKeys": [
        "vtrip_hi",
        "vtrip_lo",
        "v_hyst",
        "vos"
      ],
      "acceptance": [
        "v_hyst",
        "vos"
      ],
      "acceptanceRules": [
        {
          "key": "v_hyst",
          "unit": "V",
          "min": null,
          "max": 0.001,
          "classification": "simulation-limit",
          "conditions": "all requested testbench conditions",
          "outsideScope": "characterization; the measurement must still be present, unique and finite"
        },
        {
          "key": "vos",
          "unit": "V",
          "min": -0.01,
          "max": 0.01,
          "classification": "simulation-limit",
          "conditions": "all requested testbench conditions",
          "outsideScope": "characterization; the measurement must still be present, unique and finite"
        }
      ],
      "seconds": 15,
      "cards": [
        "sg13g2_lv_tt.spice"
      ],
      "netlist": "* StrongARM latch comparator, PMOS input - thresholds, V_id stepped up and back down over 120 clock cycles\n.include sg13g2_lv_tt.spice\n.param VDD=1.2\nVdd vdd 0 dc {VDD}\n.subckt sapmos inp inn clk outp outn vdd vss\n* the tail, on while clk is low, and the input pair: the lower input charges its side faster\nXMT t clk vdd vdd sg13_lv_pmos w=2u l=130n ng=1 m=1\nXM1 x1 inp t vdd sg13_lv_pmos w=12u l=400n ng=4 m=1\nXM2 x2 inn t vdd sg13_lv_pmos w=12u l=400n ng=4 m=1\n* the latch: two cross-coupled inverters, their PMOS on the pair's drains\nXM3 o1 o2 x1 vdd sg13_lv_pmos w=6u l=200n ng=2 m=1\nXM4 o2 o1 x2 vdd sg13_lv_pmos w=6u l=200n ng=2 m=1\nXM5 o1 o2 vss vss sg13_lv_nmos w=3u l=200n ng=1 m=1\nXM6 o2 o1 vss vss sg13_lv_nmos w=3u l=200n ng=1 m=1\n* reset: while clk is high, all four internal nodes to ground\nXM7 o1 clk vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1\nXM8 o2 clk vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1\nXM9 x1 clk vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1\nXM10 x2 clk vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1\n* output buffers: o1 wins when inp is below inn, and pulls outp down\nXM11 outp o1 vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1\nXM12 outp o1 vdd vdd sg13_lv_pmos w=1u l=200n ng=1 m=1\nXM13 outn o2 vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1\nXM14 outn o2 vdd vdd sg13_lv_pmos w=1u l=200n ng=1 m=1\n.ends\nXdut inp inn clk outp outn vdd 0 sapmos\nClp outp 0 10f\nCln outn 0 10f\nVclk clk 0 pulse({VDD} 0 2n 50p 50p 1.95n 4n)\n* one input level per clock cycle, changed while the comparator resets\nVcm cm 0 dc 300m\nVid id 0 pwl(0 -29.5m 4.975n -29.5m 5.025n -28.5m 8.975n -28.5m 9.025n -27.5m 12.975n -27.5m 13.025n -26.5m 16.975n -26.5m 17.025n -25.5m 20.975n -25.5m 21.025n -24.5m 24.975n -24.5m 25.025n -23.5m 28.975n -23.5m 29.025n -22.5m 32.975n -22.5m 33.025n -21.5m 36.975n -21.5m 37.025n -20.5m 40.975n -20.5m 41.025n -19.5m 44.975n -19.5m 45.025n -18.5m 48.975n -18.5m 49.025n -17.5m 52.975n -17.5m 53.025n -16.5m 56.975n -16.5m 57.025n -15.5m 60.975n -15.5m 61.025n -14.5m 64.975n -14.5m 65.025n -13.5m 68.975n -13.5m 69.025n -12.5m 72.975n -12.5m 73.025n -11.5m 76.975n -11.5m 77.025n -10.5m 80.975n -10.5m 81.025n -9.5m 84.975n -9.5m 85.025n -8.5m 88.975n -8.5m 89.025n -7.5m 92.975n -7.5m 93.025n -6.5m 96.975n -6.5m 97.025n -5.5m 100.975n -5.5m 101.025n -4.5m 104.975n -4.5m 105.025n -3.5m 108.975n -3.5m 109.025n -2.5m 112.975n -2.5m 113.025n -1.5m 116.975n -1.5m 117.025n -500u 120.975n -500u 121.025n 500u 124.975n 500u 125.025n 1.5m 128.975n 1.5m 129.025n 2.5m 132.975n 2.5m 133.025n 3.5m 136.975n 3.5m 137.025n 4.5m 140.975n 4.5m 141.025n 5.5m 144.975n 5.5m 145.025n 6.5m 148.975n 6.5m 149.025n 7.5m 152.975n 7.5m 153.025n 8.5m 156.975n 8.5m 157.025n 9.5m 160.975n 9.5m 161.025n 10.5m 164.975n 10.5m 165.025n 11.5m 168.975n 11.5m 169.025n 12.5m 172.975n 12.5m 173.025n 13.5m 176.975n 13.5m 177.025n 14.5m 180.975n 14.5m 181.025n 15.5m 184.975n 15.5m 185.025n 16.5m 188.975n 16.5m 189.025n 17.5m 192.975n 17.5m 193.025n 18.5m 196.975n 18.5m 197.025n 19.5m 200.975n 19.5m 201.025n 20.5m 204.975n 20.5m 205.025n 21.5m 208.975n 21.5m 209.025n 22.5m 212.975n 22.5m 213.025n 23.5m 216.975n 23.5m 217.025n 24.5m 220.975n 24.5m 221.025n 25.5m 224.975n 25.5m 225.025n 26.5m 228.975n 26.5m 229.025n 27.5m 232.975n 27.5m 233.025n 28.5m 236.975n 28.5m 237.025n 29.5m 240.975n 29.5m 241.025n 29.5m 244.975n 29.5m 245.025n 28.5m 248.975n 28.5m 249.025n 27.5m 252.975n 27.5m 253.025n 26.5m 256.975n 26.5m 257.025n 25.5m 260.975n 25.5m 261.025n 24.5m 264.975n 24.5m 265.025n 23.5m 268.975n 23.5m 269.025n 22.5m 272.975n 22.5m 273.025n 21.5m 276.975n 21.5m 277.025n 20.5m 280.975n 20.5m 281.025n 19.5m 284.975n 19.5m 285.025n 18.5m 288.975n 18.5m 289.025n 17.5m 292.975n 17.5m 293.025n 16.5m 296.975n 16.5m 297.025n 15.5m 300.975n 15.5m 301.025n 14.5m 304.975n 14.5m 305.025n 13.5m 308.975n 13.5m 309.025n 12.5m 312.975n 12.5m 313.025n 11.5m 316.975n 11.5m 317.025n 10.5m 320.975n 10.5m 321.025n 9.5m 324.975n 9.5m 325.025n 8.5m 328.975n 8.5m 329.025n 7.5m 332.975n 7.5m 333.025n 6.5m 336.975n 6.5m 337.025n 5.5m 340.975n 5.5m 341.025n 4.5m 344.975n 4.5m 345.025n 3.5m 348.975n 3.5m 349.025n 2.5m 352.975n 2.5m 353.025n 1.5m 356.975n 1.5m 357.025n 500u 360.975n 500u 361.025n -500u 364.975n -500u 365.025n -1.5m 368.975n -1.5m 369.025n -2.5m 372.975n -2.5m 373.025n -3.5m 376.975n -3.5m 377.025n -4.5m 380.975n -4.5m 381.025n -5.5m 384.975n -5.5m 385.025n -6.5m 388.975n -6.5m 389.025n -7.5m 392.975n -7.5m 393.025n -8.5m 396.975n -8.5m 397.025n -9.5m 400.975n -9.5m 401.025n -10.5m 404.975n -10.5m 405.025n -11.5m 408.975n -11.5m 409.025n -12.5m 412.975n -12.5m 413.025n -13.5m 416.975n -13.5m 417.025n -14.5m 420.975n -14.5m 421.025n -15.5m 424.975n -15.5m 425.025n -16.5m 428.975n -16.5m 429.025n -17.5m 432.975n -17.5m 433.025n -18.5m 436.975n -18.5m 437.025n -19.5m 440.975n -19.5m 441.025n -20.5m 444.975n -20.5m 445.025n -21.5m 448.975n -21.5m 449.025n -22.5m 452.975n -22.5m 453.025n -23.5m 456.975n -23.5m 457.025n -24.5m 460.975n -24.5m 461.025n -25.5m 464.975n -25.5m 465.025n -26.5m 468.975n -26.5m 469.025n -27.5m 472.975n -27.5m 473.025n -28.5m 476.975n -28.5m 477.025n -29.5m)\n* the differential input split evenly either side of the common mode\nEinp inp cm id 0 0.5\nEinn inn cm id 0 -0.5\n.tran 10p 480n\n.end"
    },
    {
      "id": "delay",
      "label": "Decision time",
      "note": "The thresholds found first; then, for each overdrive from 1 mV to 100 mV, one decision each way past them, timed from the clock edge to the output at half the supply. 8 runs.",
      "measures": [],
      "metricKeys": [
        "t_dec",
        "t_dec_small",
        "tau"
      ],
      "acceptance": [
        "t_dec",
        "t_dec_small",
        "tau"
      ],
      "acceptanceRules": [
        {
          "key": "t_dec",
          "unit": "s",
          "min": null,
          "max": 1.2e-9,
          "classification": "simulation-limit",
          "conditions": "all requested testbench conditions",
          "outsideScope": "characterization; the measurement must still be present, unique and finite"
        },
        {
          "key": "t_dec_small",
          "unit": "s",
          "min": null,
          "max": 1.5e-9,
          "classification": "simulation-limit",
          "conditions": "all requested testbench conditions",
          "outsideScope": "characterization; the measurement must still be present, unique and finite"
        },
        {
          "key": "tau",
          "unit": "s",
          "min": null,
          "max": 1.2e-10,
          "classification": "simulation-limit",
          "conditions": "all requested testbench conditions",
          "outsideScope": "characterization; the measurement must still be present, unique and finite"
        }
      ],
      "seconds": 17,
      "cards": [
        "sg13g2_lv_tt.spice"
      ],
      "netlist": "* StrongARM latch comparator, PMOS input - decision time at 10 mV overdrive\n.include sg13g2_lv_tt.spice\n.param VDD=1.2\nVdd vdd 0 dc {VDD}\n.subckt sapmos inp inn clk outp outn vdd vss\n* the tail, on while clk is low, and the input pair: the lower input charges its side faster\nXMT t clk vdd vdd sg13_lv_pmos w=2u l=130n ng=1 m=1\nXM1 x1 inp t vdd sg13_lv_pmos w=12u l=400n ng=4 m=1\nXM2 x2 inn t vdd sg13_lv_pmos w=12u l=400n ng=4 m=1\n* the latch: two cross-coupled inverters, their PMOS on the pair's drains\nXM3 o1 o2 x1 vdd sg13_lv_pmos w=6u l=200n ng=2 m=1\nXM4 o2 o1 x2 vdd sg13_lv_pmos w=6u l=200n ng=2 m=1\nXM5 o1 o2 vss vss sg13_lv_nmos w=3u l=200n ng=1 m=1\nXM6 o2 o1 vss vss sg13_lv_nmos w=3u l=200n ng=1 m=1\n* reset: while clk is high, all four internal nodes to ground\nXM7 o1 clk vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1\nXM8 o2 clk vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1\nXM9 x1 clk vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1\nXM10 x2 clk vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1\n* output buffers: o1 wins when inp is below inn, and pulls outp down\nXM11 outp o1 vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1\nXM12 outp o1 vdd vdd sg13_lv_pmos w=1u l=200n ng=1 m=1\nXM13 outn o2 vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1\nXM14 outn o2 vdd vdd sg13_lv_pmos w=1u l=200n ng=1 m=1\n.ends\nXdut inp inn clk outp outn vdd 0 sapmos\nClp outp 0 10f\nCln outn 0 10f\nVclk clk 0 pulse({VDD} 0 2n 50p 50p 1.95n 4n)\n* one input level per clock cycle, changed while the comparator resets\nVcm cm 0 dc 300m\nVid id 0 pwl(0 -50m 4.975n -50m 5.025n 10m 8.975n 10m 9.025n -10m)\n* the differential input split evenly either side of the common mode\nEinp inp cm id 0 0.5\nEinn inn cm id 0 -0.5\n.tran 10p 12n\n.end"
    }
  ],
  "measurements": {
    "t_dec": {
      "label": "Decision time",
      "unit": "s",
      "spec": {
        "min": null,
        "max": 1.2e-9
      }
    },
    "t_dec_small": {
      "label": "Decision time, smallest overdrive",
      "unit": "s",
      "spec": {
        "min": null,
        "max": 1.5e-9
      }
    },
    "tau": {
      "label": "Regeneration time constant",
      "unit": "s",
      "spec": {
        "min": null,
        "max": 1.2e-10
      }
    },
    "vos": {
      "label": "Offset",
      "unit": "V",
      "spec": {
        "min": -0.01,
        "max": 0.01
      }
    },
    "v_hyst": {
      "label": "Hysteresis",
      "unit": "V",
      "spec": {
        "min": null,
        "max": 0.001
      }
    },
    "e_dec": {
      "label": "Energy per decision",
      "unit": "J",
      "spec": {
        "min": null,
        "max": 2.5e-13
      }
    },
    "i_reset": {
      "label": "Supply current in reset",
      "unit": "A",
      "spec": {
        "min": null,
        "max": 0.000001
      }
    },
    "voh": {
      "label": "Output high level",
      "unit": "V",
      "spec": {
        "min": 1.05,
        "max": null
      }
    },
    "vol": {
      "label": "Output low level",
      "unit": "V",
      "spec": {
        "min": null,
        "max": 0.05
      }
    },
    "v_reset": {
      "label": "Output level in reset",
      "unit": "V",
      "spec": {
        "min": 1.05,
        "max": null
      }
    }
  },
  "recordVersion": 1,
  "authoring": {
    "version": 1,
    "source": "this-record",
    "fields": [
      "name",
      "title",
      "group",
      "subgroup",
      "summary",
      "reference",
      "ports",
      "devices (except fingers/copies)",
      "intent",
      "specs",
      "explanation",
      "sizing[].label",
      "testbenches[].label",
      "testbenches[].note"
    ],
    "generated": [
      "revision",
      "technology",
      "cards",
      "corners",
      "specificationPolicy",
      "sizing (except label)",
      "measurements",
      "testbenches (except label/note)",
      "diagrams",
      "provenance",
      "devices[].fingers",
      "devices[].copies"
    ],
    "workflow": "Edit author-owned fields in this JSON, then run tools/export-circuits.mjs. Change executable circuit generators for numerical changes; rebuild and requalify those changes. The build preserves authored content.",
    "sha256": "90d6784cc72064e9830443be6adf98ae42693decd0353b246ebb33326857bceb"
  },
  "provenance": {
    "schema": "aisic.record-provenance/1",
    "parameterScope": "published-defaults",
    "generator": {
      "url": "/library/strongarm-pmos.js",
      "sha256": "cff4a3101274300d0a76d7e704f1022b2184cb59ad3c433ad5258b4ee2ef2d7e"
    },
    "simulationFingerprints": {
      "op": "3288579c210073fefc90b83f0152a2ced74838cc3bcf91556642a95ebda0c0af",
      "sweep": "2fe26b463780a0f0b31120f9c60604b8d46d90373eeedbc4b4038999f8586aff",
      "delay": "3e4236a339081fa80332294a5173a432ceaba9fa0673a4c4e4db751af799415d"
    },
    "meaning": "Fingerprints identify simulation inputs, not a passing result. Follow resources.achieved for measured evidence and compare its fingerprints. Explanatory edits do not establish new physical qualification."
  },
  "revision": "a62222a4a78724d6ad0cb834fff71dedc6d3810fc3616f5c9c00cab768d07d31",
  "diagrams": {
    "schema": "aisic.diagrams/1",
    "circuit": "strongarm-pmos",
    "parameters": {
      "Wi": 0.000012,
      "Li": 4e-7,
      "Wt": 0.000002,
      "Lt": 1.3e-7,
      "Wp": 0.000006,
      "Wn": 0.000003,
      "Wr": 5e-7,
      "L": 2e-7,
      "Wbn": 5e-7,
      "Wbp": 0.000001,
      "B": 1,
      "CL": 1e-14,
      "VCM": 0.3
    },
    "parameterScope": "published-defaults",
    "boundary": "Electrical graphs retain physical device terminals; SVG symbols can collapse tied bipolar terminals, group transmission gates or hide passive substrates. Neither view is layout or a fabrication netlist.",
    "variants": {
      "choiceParameters": [],
      "coverage": "This bundle represents only the selected values. Declared choices can be regenerated; numeric ranges and combinations are not exhaustively qualified by diagram generation."
    },
    "resourceBase": "/circuits/strongarm-pmos/",
    "graphs": [
      {
        "id": "graph-1",
        "kind": "electrical-connectivity",
        "boundary": "Device pins and net incidence from the generated SPICE deck, including ideal bench elements. PDK/model internals are referenced, not expanded. This is not layout, extraction, DRC/LVS or silicon evidence.",
        "root": "dut",
        "globalDefinitions": [
          ".param VDD=1.2"
        ],
        "scopes": [
          {
            "id": "dut",
            "name": "sapmos",
            "ports": [
              {
                "name": "inp",
                "net": "inp",
                "kind": "input"
              },
              {
                "name": "inn",
                "net": "inn",
                "kind": "input"
              },
              {
                "name": "clk",
                "net": "clk",
                "kind": "clock"
              },
              {
                "name": "outp",
                "net": "outp",
                "kind": "output"
              },
              {
                "name": "outn",
                "net": "outn",
                "kind": "output"
              },
              {
                "name": "vdd",
                "net": "vdd",
                "kind": "supply"
              },
              {
                "name": "vss",
                "net": "vss",
                "kind": "ground"
              }
            ],
            "definitions": [],
            "devices": [
              {
                "id": "XMT",
                "displayName": "MT",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=2u l=130n ng=1 m=1",
                "source": "XMT t clk vdd vdd sg13_lv_pmos w=2u l=130n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "t"
                  },
                  {
                    "id": "g",
                    "net": "clk"
                  },
                  {
                    "id": "s",
                    "net": "vdd"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM1",
                "displayName": "M1",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=12u l=400n ng=4 m=1",
                "source": "XM1 x1 inp t vdd sg13_lv_pmos w=12u l=400n ng=4 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "x1"
                  },
                  {
                    "id": "g",
                    "net": "inp"
                  },
                  {
                    "id": "s",
                    "net": "t"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM2",
                "displayName": "M2",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=12u l=400n ng=4 m=1",
                "source": "XM2 x2 inn t vdd sg13_lv_pmos w=12u l=400n ng=4 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "x2"
                  },
                  {
                    "id": "g",
                    "net": "inn"
                  },
                  {
                    "id": "s",
                    "net": "t"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM3",
                "displayName": "M3",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=6u l=200n ng=2 m=1",
                "source": "XM3 o1 o2 x1 vdd sg13_lv_pmos w=6u l=200n ng=2 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "o1"
                  },
                  {
                    "id": "g",
                    "net": "o2"
                  },
                  {
                    "id": "s",
                    "net": "x1"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM4",
                "displayName": "M4",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=6u l=200n ng=2 m=1",
                "source": "XM4 o2 o1 x2 vdd sg13_lv_pmos w=6u l=200n ng=2 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "o2"
                  },
                  {
                    "id": "g",
                    "net": "o1"
                  },
                  {
                    "id": "s",
                    "net": "x2"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM5",
                "displayName": "M5",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=3u l=200n ng=1 m=1",
                "source": "XM5 o1 o2 vss vss sg13_lv_nmos w=3u l=200n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "o1"
                  },
                  {
                    "id": "g",
                    "net": "o2"
                  },
                  {
                    "id": "s",
                    "net": "vss"
                  },
                  {
                    "id": "b",
                    "net": "vss"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM6",
                "displayName": "M6",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=3u l=200n ng=1 m=1",
                "source": "XM6 o2 o1 vss vss sg13_lv_nmos w=3u l=200n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "o2"
                  },
                  {
                    "id": "g",
                    "net": "o1"
                  },
                  {
                    "id": "s",
                    "net": "vss"
                  },
                  {
                    "id": "b",
                    "net": "vss"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM7",
                "displayName": "M7",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=500n l=200n ng=1 m=1",
                "source": "XM7 o1 clk vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "o1"
                  },
                  {
                    "id": "g",
                    "net": "clk"
                  },
                  {
                    "id": "s",
                    "net": "vss"
                  },
                  {
                    "id": "b",
                    "net": "vss"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM8",
                "displayName": "M8",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=500n l=200n ng=1 m=1",
                "source": "XM8 o2 clk vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "o2"
                  },
                  {
                    "id": "g",
                    "net": "clk"
                  },
                  {
                    "id": "s",
                    "net": "vss"
                  },
                  {
                    "id": "b",
                    "net": "vss"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM9",
                "displayName": "M9",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=500n l=200n ng=1 m=1",
                "source": "XM9 x1 clk vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "x1"
                  },
                  {
                    "id": "g",
                    "net": "clk"
                  },
                  {
                    "id": "s",
                    "net": "vss"
                  },
                  {
                    "id": "b",
                    "net": "vss"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM10",
                "displayName": "M10",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=500n l=200n ng=1 m=1",
                "source": "XM10 x2 clk vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "x2"
                  },
                  {
                    "id": "g",
                    "net": "clk"
                  },
                  {
                    "id": "s",
                    "net": "vss"
                  },
                  {
                    "id": "b",
                    "net": "vss"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM11",
                "displayName": "M11",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=500n l=200n ng=1 m=1",
                "source": "XM11 outp o1 vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "outp"
                  },
                  {
                    "id": "g",
                    "net": "o1"
                  },
                  {
                    "id": "s",
                    "net": "vss"
                  },
                  {
                    "id": "b",
                    "net": "vss"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM12",
                "displayName": "M12",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=1u l=200n ng=1 m=1",
                "source": "XM12 outp o1 vdd vdd sg13_lv_pmos w=1u l=200n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "outp"
                  },
                  {
                    "id": "g",
                    "net": "o1"
                  },
                  {
                    "id": "s",
                    "net": "vdd"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM13",
                "displayName": "M13",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=500n l=200n ng=1 m=1",
                "source": "XM13 outn o2 vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "outn"
                  },
                  {
                    "id": "g",
                    "net": "o2"
                  },
                  {
                    "id": "s",
                    "net": "vss"
                  },
                  {
                    "id": "b",
                    "net": "vss"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM14",
                "displayName": "M14",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=1u l=200n ng=1 m=1",
                "source": "XM14 outn o2 vdd vdd sg13_lv_pmos w=1u l=200n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "outn"
                  },
                  {
                    "id": "g",
                    "net": "o2"
                  },
                  {
                    "id": "s",
                    "net": "vdd"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              }
            ],
            "nets": [
              {
                "id": "t",
                "ground": false,
                "terminals": [
                  {
                    "device": "XMT",
                    "pin": "d"
                  },
                  {
                    "device": "XM1",
                    "pin": "s"
                  },
                  {
                    "device": "XM2",
                    "pin": "s"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "clk",
                "ground": false,
                "terminals": [
                  {
                    "device": "XMT",
                    "pin": "g"
                  },
                  {
                    "device": "XM7",
                    "pin": "g"
                  },
                  {
                    "device": "XM8",
                    "pin": "g"
                  },
                  {
                    "device": "XM9",
                    "pin": "g"
                  },
                  {
                    "device": "XM10",
                    "pin": "g"
                  }
                ],
                "ports": [
                  "clk"
                ],
                "voltageReferences": []
              },
              {
                "id": "vdd",
                "ground": false,
                "terminals": [
                  {
                    "device": "XMT",
                    "pin": "s"
                  },
                  {
                    "device": "XMT",
                    "pin": "b"
                  },
                  {
                    "device": "XM1",
                    "pin": "b"
                  },
                  {
                    "device": "XM2",
                    "pin": "b"
                  },
                  {
                    "device": "XM3",
                    "pin": "b"
                  },
                  {
                    "device": "XM4",
                    "pin": "b"
                  },
                  {
                    "device": "XM12",
                    "pin": "s"
                  },
                  {
                    "device": "XM12",
                    "pin": "b"
                  },
                  {
                    "device": "XM14",
                    "pin": "s"
                  },
                  {
                    "device": "XM14",
                    "pin": "b"
                  }
                ],
                "ports": [
                  "vdd"
                ],
                "voltageReferences": []
              },
              {
                "id": "x1",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM1",
                    "pin": "d"
                  },
                  {
                    "device": "XM3",
                    "pin": "s"
                  },
                  {
                    "device": "XM9",
                    "pin": "d"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "inp",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM1",
                    "pin": "g"
                  }
                ],
                "ports": [
                  "inp"
                ],
                "voltageReferences": []
              },
              {
                "id": "x2",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM2",
                    "pin": "d"
                  },
                  {
                    "device": "XM4",
                    "pin": "s"
                  },
                  {
                    "device": "XM10",
                    "pin": "d"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "inn",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM2",
                    "pin": "g"
                  }
                ],
                "ports": [
                  "inn"
                ],
                "voltageReferences": []
              },
              {
                "id": "o1",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM3",
                    "pin": "d"
                  },
                  {
                    "device": "XM4",
                    "pin": "g"
                  },
                  {
                    "device": "XM5",
                    "pin": "d"
                  },
                  {
                    "device": "XM6",
                    "pin": "g"
                  },
                  {
                    "device": "XM7",
                    "pin": "d"
                  },
                  {
                    "device": "XM11",
                    "pin": "g"
                  },
                  {
                    "device": "XM12",
                    "pin": "g"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "o2",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM3",
                    "pin": "g"
                  },
                  {
                    "device": "XM4",
                    "pin": "d"
                  },
                  {
                    "device": "XM5",
                    "pin": "g"
                  },
                  {
                    "device": "XM6",
                    "pin": "d"
                  },
                  {
                    "device": "XM8",
                    "pin": "d"
                  },
                  {
                    "device": "XM13",
                    "pin": "g"
                  },
                  {
                    "device": "XM14",
                    "pin": "g"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "vss",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM5",
                    "pin": "s"
                  },
                  {
                    "device": "XM5",
                    "pin": "b"
                  },
                  {
                    "device": "XM6",
                    "pin": "s"
                  },
                  {
                    "device": "XM6",
                    "pin": "b"
                  },
                  {
                    "device": "XM7",
                    "pin": "s"
                  },
                  {
                    "device": "XM7",
                    "pin": "b"
                  },
                  {
                    "device": "XM8",
                    "pin": "s"
                  },
                  {
                    "device": "XM8",
                    "pin": "b"
                  },
                  {
                    "device": "XM9",
                    "pin": "s"
                  },
                  {
                    "device": "XM9",
                    "pin": "b"
                  },
                  {
                    "device": "XM10",
                    "pin": "s"
                  },
                  {
                    "device": "XM10",
                    "pin": "b"
                  },
                  {
                    "device": "XM11",
                    "pin": "s"
                  },
                  {
                    "device": "XM11",
                    "pin": "b"
                  },
                  {
                    "device": "XM13",
                    "pin": "s"
                  },
                  {
                    "device": "XM13",
                    "pin": "b"
                  }
                ],
                "ports": [
                  "vss"
                ],
                "voltageReferences": []
              },
              {
                "id": "outp",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM11",
                    "pin": "d"
                  },
                  {
                    "device": "XM12",
                    "pin": "d"
                  }
                ],
                "ports": [
                  "outp"
                ],
                "voltageReferences": []
              },
              {
                "id": "outn",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM13",
                    "pin": "d"
                  },
                  {
                    "device": "XM14",
                    "pin": "d"
                  }
                ],
                "ports": [
                  "outn"
                ],
                "voltageReferences": []
              }
            ]
          }
        ]
      },
      {
        "id": "graph-2",
        "kind": "electrical-connectivity",
        "boundary": "Device pins and net incidence from the generated SPICE deck, including ideal bench elements. PDK/model internals are referenced, not expanded. This is not layout, extraction, DRC/LVS or silicon evidence.",
        "root": "top",
        "globalDefinitions": [
          ".param VDD=1.2"
        ],
        "scopes": [
          {
            "id": "top",
            "name": "top",
            "ports": [],
            "definitions": [
              ".param VDD=1.2"
            ],
            "devices": [
              {
                "id": "Vdd",
                "displayName": "Vdd",
                "spiceType": "V",
                "model": null,
                "parametersOrValue": "dc {VDD}",
                "source": "Vdd vdd 0 dc {VDD}",
                "pins": [
                  {
                    "id": "p",
                    "net": "vdd"
                  },
                  {
                    "id": "n",
                    "net": "0"
                  }
                ],
                "pinMeaning": "SPICE primitive terminal order"
              },
              {
                "id": "Xdut",
                "displayName": "Xdut",
                "spiceType": "X",
                "model": "sapmos",
                "parametersOrValue": "",
                "source": "Xdut inp inn clk outp outn vdd 0 sapmos",
                "pins": [
                  {
                    "id": "inp",
                    "net": "inp"
                  },
                  {
                    "id": "inn",
                    "net": "inn"
                  },
                  {
                    "id": "clk",
                    "net": "clk"
                  },
                  {
                    "id": "outp",
                    "net": "outp"
                  },
                  {
                    "id": "outn",
                    "net": "outn"
                  },
                  {
                    "id": "vdd",
                    "net": "vdd"
                  },
                  {
                    "id": "vss",
                    "net": "0"
                  }
                ],
                "pinMeaning": "Declared .subckt port order",
                "subcircuit": "subckt/sapmos"
              },
              {
                "id": "Clp",
                "displayName": "Clp",
                "spiceType": "C",
                "model": null,
                "parametersOrValue": "10f",
                "source": "Clp outp 0 10f",
                "pins": [
                  {
                    "id": "p",
                    "net": "outp"
                  },
                  {
                    "id": "n",
                    "net": "0"
                  }
                ],
                "pinMeaning": "SPICE primitive terminal order"
              },
              {
                "id": "Cln",
                "displayName": "Cln",
                "spiceType": "C",
                "model": null,
                "parametersOrValue": "10f",
                "source": "Cln outn 0 10f",
                "pins": [
                  {
                    "id": "p",
                    "net": "outn"
                  },
                  {
                    "id": "n",
                    "net": "0"
                  }
                ],
                "pinMeaning": "SPICE primitive terminal order"
              },
              {
                "id": "Vclk",
                "displayName": "Vclk",
                "spiceType": "V",
                "model": null,
                "parametersOrValue": "pulse({VDD} 0 2n 50p 50p 1.95n 4n)",
                "source": "Vclk clk 0 pulse({VDD} 0 2n 50p 50p 1.95n 4n)",
                "pins": [
                  {
                    "id": "p",
                    "net": "clk"
                  },
                  {
                    "id": "n",
                    "net": "0"
                  }
                ],
                "pinMeaning": "SPICE primitive terminal order"
              },
              {
                "id": "Vcm",
                "displayName": "Vcm",
                "spiceType": "V",
                "model": null,
                "parametersOrValue": "dc 300m",
                "source": "Vcm cm 0 dc 300m",
                "pins": [
                  {
                    "id": "p",
                    "net": "cm"
                  },
                  {
                    "id": "n",
                    "net": "0"
                  }
                ],
                "pinMeaning": "SPICE primitive terminal order"
              },
              {
                "id": "Vid",
                "displayName": "Vid",
                "spiceType": "V",
                "model": null,
                "parametersOrValue": "pwl(0 -50m 4.975n -50m 5.025n 50m 8.975n 50m 9.025n -50m 12.975n -50m 13.025n 50m 16.975n 50m 17.025n -50m 20.975n -50m 21.025n 50m)",
                "source": "Vid id 0 pwl(0 -50m 4.975n -50m 5.025n 50m 8.975n 50m 9.025n -50m 12.975n -50m 13.025n 50m 16.975n 50m 17.025n -50m 20.975n -50m 21.025n 50m)",
                "pins": [
                  {
                    "id": "p",
                    "net": "id"
                  },
                  {
                    "id": "n",
                    "net": "0"
                  }
                ],
                "pinMeaning": "SPICE primitive terminal order"
              },
              {
                "id": "Einp",
                "displayName": "Einp",
                "spiceType": "E",
                "model": null,
                "parametersOrValue": "0.5",
                "source": "Einp inp cm id 0 0.5",
                "pins": [
                  {
                    "id": "p",
                    "net": "inp"
                  },
                  {
                    "id": "n",
                    "net": "cm"
                  },
                  {
                    "id": "cp",
                    "net": "id"
                  },
                  {
                    "id": "cn",
                    "net": "0"
                  }
                ],
                "pinMeaning": "SPICE primitive terminal order"
              },
              {
                "id": "Einn",
                "displayName": "Einn",
                "spiceType": "E",
                "model": null,
                "parametersOrValue": "-0.5",
                "source": "Einn inn cm id 0 -0.5",
                "pins": [
                  {
                    "id": "p",
                    "net": "inn"
                  },
                  {
                    "id": "n",
                    "net": "cm"
                  },
                  {
                    "id": "cp",
                    "net": "id"
                  },
                  {
                    "id": "cn",
                    "net": "0"
                  }
                ],
                "pinMeaning": "SPICE primitive terminal order"
              }
            ],
            "nets": [
              {
                "id": "vdd",
                "ground": false,
                "terminals": [
                  {
                    "device": "Vdd",
                    "pin": "p"
                  },
                  {
                    "device": "Xdut",
                    "pin": "vdd"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "0",
                "ground": true,
                "terminals": [
                  {
                    "device": "Vdd",
                    "pin": "n"
                  },
                  {
                    "device": "Xdut",
                    "pin": "vss"
                  },
                  {
                    "device": "Clp",
                    "pin": "n"
                  },
                  {
                    "device": "Cln",
                    "pin": "n"
                  },
                  {
                    "device": "Vclk",
                    "pin": "n"
                  },
                  {
                    "device": "Vcm",
                    "pin": "n"
                  },
                  {
                    "device": "Vid",
                    "pin": "n"
                  },
                  {
                    "device": "Einp",
                    "pin": "cn"
                  },
                  {
                    "device": "Einn",
                    "pin": "cn"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "inp",
                "ground": false,
                "terminals": [
                  {
                    "device": "Xdut",
                    "pin": "inp"
                  },
                  {
                    "device": "Einp",
                    "pin": "p"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "inn",
                "ground": false,
                "terminals": [
                  {
                    "device": "Xdut",
                    "pin": "inn"
                  },
                  {
                    "device": "Einn",
                    "pin": "p"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "clk",
                "ground": false,
                "terminals": [
                  {
                    "device": "Xdut",
                    "pin": "clk"
                  },
                  {
                    "device": "Vclk",
                    "pin": "p"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "outp",
                "ground": false,
                "terminals": [
                  {
                    "device": "Xdut",
                    "pin": "outp"
                  },
                  {
                    "device": "Clp",
                    "pin": "p"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "outn",
                "ground": false,
                "terminals": [
                  {
                    "device": "Xdut",
                    "pin": "outn"
                  },
                  {
                    "device": "Cln",
                    "pin": "p"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "cm",
                "ground": false,
                "terminals": [
                  {
                    "device": "Vcm",
                    "pin": "p"
                  },
                  {
                    "device": "Einp",
                    "pin": "n"
                  },
                  {
                    "device": "Einn",
                    "pin": "n"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "id",
                "ground": false,
                "terminals": [
                  {
                    "device": "Vid",
                    "pin": "p"
                  },
                  {
                    "device": "Einp",
                    "pin": "cp"
                  },
                  {
                    "device": "Einn",
                    "pin": "cp"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              }
            ]
          },
          {
            "id": "subckt/sapmos",
            "name": "sapmos",
            "ports": [
              {
                "name": "inp",
                "net": "inp"
              },
              {
                "name": "inn",
                "net": "inn"
              },
              {
                "name": "clk",
                "net": "clk"
              },
              {
                "name": "outp",
                "net": "outp"
              },
              {
                "name": "outn",
                "net": "outn"
              },
              {
                "name": "vdd",
                "net": "vdd"
              },
              {
                "name": "vss",
                "net": "vss"
              }
            ],
            "definitions": [],
            "devices": [
              {
                "id": "XMT",
                "displayName": "MT",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=2u l=130n ng=1 m=1",
                "source": "XMT t clk vdd vdd sg13_lv_pmos w=2u l=130n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "t"
                  },
                  {
                    "id": "g",
                    "net": "clk"
                  },
                  {
                    "id": "s",
                    "net": "vdd"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM1",
                "displayName": "M1",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=12u l=400n ng=4 m=1",
                "source": "XM1 x1 inp t vdd sg13_lv_pmos w=12u l=400n ng=4 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "x1"
                  },
                  {
                    "id": "g",
                    "net": "inp"
                  },
                  {
                    "id": "s",
                    "net": "t"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM2",
                "displayName": "M2",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=12u l=400n ng=4 m=1",
                "source": "XM2 x2 inn t vdd sg13_lv_pmos w=12u l=400n ng=4 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "x2"
                  },
                  {
                    "id": "g",
                    "net": "inn"
                  },
                  {
                    "id": "s",
                    "net": "t"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM3",
                "displayName": "M3",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=6u l=200n ng=2 m=1",
                "source": "XM3 o1 o2 x1 vdd sg13_lv_pmos w=6u l=200n ng=2 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "o1"
                  },
                  {
                    "id": "g",
                    "net": "o2"
                  },
                  {
                    "id": "s",
                    "net": "x1"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM4",
                "displayName": "M4",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=6u l=200n ng=2 m=1",
                "source": "XM4 o2 o1 x2 vdd sg13_lv_pmos w=6u l=200n ng=2 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "o2"
                  },
                  {
                    "id": "g",
                    "net": "o1"
                  },
                  {
                    "id": "s",
                    "net": "x2"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM5",
                "displayName": "M5",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=3u l=200n ng=1 m=1",
                "source": "XM5 o1 o2 vss vss sg13_lv_nmos w=3u l=200n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "o1"
                  },
                  {
                    "id": "g",
                    "net": "o2"
                  },
                  {
                    "id": "s",
                    "net": "vss"
                  },
                  {
                    "id": "b",
                    "net": "vss"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM6",
                "displayName": "M6",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=3u l=200n ng=1 m=1",
                "source": "XM6 o2 o1 vss vss sg13_lv_nmos w=3u l=200n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "o2"
                  },
                  {
                    "id": "g",
                    "net": "o1"
                  },
                  {
                    "id": "s",
                    "net": "vss"
                  },
                  {
                    "id": "b",
                    "net": "vss"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM7",
                "displayName": "M7",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=500n l=200n ng=1 m=1",
                "source": "XM7 o1 clk vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "o1"
                  },
                  {
                    "id": "g",
                    "net": "clk"
                  },
                  {
                    "id": "s",
                    "net": "vss"
                  },
                  {
                    "id": "b",
                    "net": "vss"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM8",
                "displayName": "M8",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=500n l=200n ng=1 m=1",
                "source": "XM8 o2 clk vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "o2"
                  },
                  {
                    "id": "g",
                    "net": "clk"
                  },
                  {
                    "id": "s",
                    "net": "vss"
                  },
                  {
                    "id": "b",
                    "net": "vss"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM9",
                "displayName": "M9",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=500n l=200n ng=1 m=1",
                "source": "XM9 x1 clk vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "x1"
                  },
                  {
                    "id": "g",
                    "net": "clk"
                  },
                  {
                    "id": "s",
                    "net": "vss"
                  },
                  {
                    "id": "b",
                    "net": "vss"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM10",
                "displayName": "M10",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=500n l=200n ng=1 m=1",
                "source": "XM10 x2 clk vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "x2"
                  },
                  {
                    "id": "g",
                    "net": "clk"
                  },
                  {
                    "id": "s",
                    "net": "vss"
                  },
                  {
                    "id": "b",
                    "net": "vss"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM11",
                "displayName": "M11",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=500n l=200n ng=1 m=1",
                "source": "XM11 outp o1 vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "outp"
                  },
                  {
                    "id": "g",
                    "net": "o1"
                  },
                  {
                    "id": "s",
                    "net": "vss"
                  },
                  {
                    "id": "b",
                    "net": "vss"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM12",
                "displayName": "M12",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=1u l=200n ng=1 m=1",
                "source": "XM12 outp o1 vdd vdd sg13_lv_pmos w=1u l=200n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "outp"
                  },
                  {
                    "id": "g",
                    "net": "o1"
                  },
                  {
                    "id": "s",
                    "net": "vdd"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM13",
                "displayName": "M13",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=500n l=200n ng=1 m=1",
                "source": "XM13 outn o2 vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "outn"
                  },
                  {
                    "id": "g",
                    "net": "o2"
                  },
                  {
                    "id": "s",
                    "net": "vss"
                  },
                  {
                    "id": "b",
                    "net": "vss"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM14",
                "displayName": "M14",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=1u l=200n ng=1 m=1",
                "source": "XM14 outn o2 vdd vdd sg13_lv_pmos w=1u l=200n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "outn"
                  },
                  {
                    "id": "g",
                    "net": "o2"
                  },
                  {
                    "id": "s",
                    "net": "vdd"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              }
            ],
            "nets": [
              {
                "id": "t",
                "ground": false,
                "terminals": [
                  {
                    "device": "XMT",
                    "pin": "d"
                  },
                  {
                    "device": "XM1",
                    "pin": "s"
                  },
                  {
                    "device": "XM2",
                    "pin": "s"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "clk",
                "ground": false,
                "terminals": [
                  {
                    "device": "XMT",
                    "pin": "g"
                  },
                  {
                    "device": "XM7",
                    "pin": "g"
                  },
                  {
                    "device": "XM8",
                    "pin": "g"
                  },
                  {
                    "device": "XM9",
                    "pin": "g"
                  },
                  {
                    "device": "XM10",
                    "pin": "g"
                  }
                ],
                "ports": [
                  "clk"
                ],
                "voltageReferences": []
              },
              {
                "id": "vdd",
                "ground": false,
                "terminals": [
                  {
                    "device": "XMT",
                    "pin": "s"
                  },
                  {
                    "device": "XMT",
                    "pin": "b"
                  },
                  {
                    "device": "XM1",
                    "pin": "b"
                  },
                  {
                    "device": "XM2",
                    "pin": "b"
                  },
                  {
                    "device": "XM3",
                    "pin": "b"
                  },
                  {
                    "device": "XM4",
                    "pin": "b"
                  },
                  {
                    "device": "XM12",
                    "pin": "s"
                  },
                  {
                    "device": "XM12",
                    "pin": "b"
                  },
                  {
                    "device": "XM14",
                    "pin": "s"
                  },
                  {
                    "device": "XM14",
                    "pin": "b"
                  }
                ],
                "ports": [
                  "vdd"
                ],
                "voltageReferences": []
              },
              {
                "id": "x1",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM1",
                    "pin": "d"
                  },
                  {
                    "device": "XM3",
                    "pin": "s"
                  },
                  {
                    "device": "XM9",
                    "pin": "d"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "inp",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM1",
                    "pin": "g"
                  }
                ],
                "ports": [
                  "inp"
                ],
                "voltageReferences": []
              },
              {
                "id": "x2",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM2",
                    "pin": "d"
                  },
                  {
                    "device": "XM4",
                    "pin": "s"
                  },
                  {
                    "device": "XM10",
                    "pin": "d"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "inn",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM2",
                    "pin": "g"
                  }
                ],
                "ports": [
                  "inn"
                ],
                "voltageReferences": []
              },
              {
                "id": "o1",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM3",
                    "pin": "d"
                  },
                  {
                    "device": "XM4",
                    "pin": "g"
                  },
                  {
                    "device": "XM5",
                    "pin": "d"
                  },
                  {
                    "device": "XM6",
                    "pin": "g"
                  },
                  {
                    "device": "XM7",
                    "pin": "d"
                  },
                  {
                    "device": "XM11",
                    "pin": "g"
                  },
                  {
                    "device": "XM12",
                    "pin": "g"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "o2",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM3",
                    "pin": "g"
                  },
                  {
                    "device": "XM4",
                    "pin": "d"
                  },
                  {
                    "device": "XM5",
                    "pin": "g"
                  },
                  {
                    "device": "XM6",
                    "pin": "d"
                  },
                  {
                    "device": "XM8",
                    "pin": "d"
                  },
                  {
                    "device": "XM13",
                    "pin": "g"
                  },
                  {
                    "device": "XM14",
                    "pin": "g"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "vss",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM5",
                    "pin": "s"
                  },
                  {
                    "device": "XM5",
                    "pin": "b"
                  },
                  {
                    "device": "XM6",
                    "pin": "s"
                  },
                  {
                    "device": "XM6",
                    "pin": "b"
                  },
                  {
                    "device": "XM7",
                    "pin": "s"
                  },
                  {
                    "device": "XM7",
                    "pin": "b"
                  },
                  {
                    "device": "XM8",
                    "pin": "s"
                  },
                  {
                    "device": "XM8",
                    "pin": "b"
                  },
                  {
                    "device": "XM9",
                    "pin": "s"
                  },
                  {
                    "device": "XM9",
                    "pin": "b"
                  },
                  {
                    "device": "XM10",
                    "pin": "s"
                  },
                  {
                    "device": "XM10",
                    "pin": "b"
                  },
                  {
                    "device": "XM11",
                    "pin": "s"
                  },
                  {
                    "device": "XM11",
                    "pin": "b"
                  },
                  {
                    "device": "XM13",
                    "pin": "s"
                  },
                  {
                    "device": "XM13",
                    "pin": "b"
                  }
                ],
                "ports": [
                  "vss"
                ],
                "voltageReferences": []
              },
              {
                "id": "outp",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM11",
                    "pin": "d"
                  },
                  {
                    "device": "XM12",
                    "pin": "d"
                  }
                ],
                "ports": [
                  "outp"
                ],
                "voltageReferences": []
              },
              {
                "id": "outn",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM13",
                    "pin": "d"
                  },
                  {
                    "device": "XM14",
                    "pin": "d"
                  }
                ],
                "ports": [
                  "outn"
                ],
                "voltageReferences": []
              }
            ]
          }
        ],
        "uninstantiatedDefinitions": [],
        "dut": {
          "kind": "subcircuit-instance",
          "scope": "top",
          "device": "Xdut",
          "definition": "subckt/sapmos"
        }
      },
      {
        "id": "graph-3",
        "kind": "functional-graph",
        "classification": "heuristic-device-grouping",
        "electricalScope": "dut",
        "boundary": "Automatic device-role grouping and shared-net hyperedges, not a verified behavioral signal-flow model. Shared nets do not establish direction, gain or causality; power nets are omitted here but retained in electrical connectivity. Any inferredStages values are transistor-depth hints, not gain-stage counts. The SVG shows device groups and net labels, or a separately authored functional diagram.",
        "nodes": [
          {
            "id": "block-1",
            "label": "Tail switch",
            "devices": [
              {
                "scope": "dut",
                "device": "XMT"
              }
            ],
            "inferredStages": [
              1
            ]
          },
          {
            "id": "block-2",
            "label": "Input pair",
            "devices": [
              {
                "scope": "dut",
                "device": "XM1"
              },
              {
                "scope": "dut",
                "device": "XM2"
              }
            ],
            "inferredStages": [
              1
            ]
          },
          {
            "id": "block-3",
            "label": "Latch",
            "devices": [
              {
                "scope": "dut",
                "device": "XM3"
              },
              {
                "scope": "dut",
                "device": "XM4"
              },
              {
                "scope": "dut",
                "device": "XM5"
              },
              {
                "scope": "dut",
                "device": "XM6"
              }
            ],
            "inferredStages": [
              2
            ]
          },
          {
            "id": "block-4",
            "label": "Reset",
            "devices": [
              {
                "scope": "dut",
                "device": "XM7"
              },
              {
                "scope": "dut",
                "device": "XM8"
              },
              {
                "scope": "dut",
                "device": "XM9"
              },
              {
                "scope": "dut",
                "device": "XM10"
              }
            ],
            "inferredStages": [
              2,
              1
            ]
          },
          {
            "id": "block-5",
            "label": "Output buffer",
            "devices": [
              {
                "scope": "dut",
                "device": "XM11"
              },
              {
                "scope": "dut",
                "device": "XM12"
              },
              {
                "scope": "dut",
                "device": "XM13"
              },
              {
                "scope": "dut",
                "device": "XM14"
              }
            ],
            "inferredStages": [
              3
            ]
          }
        ],
        "edges": [
          {
            "id": "net-1",
            "net": "t",
            "nodes": [
              "block-1",
              "block-2"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-2",
            "net": "clk",
            "nodes": [
              "block-1",
              "block-4"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-3",
            "net": "x1",
            "nodes": [
              "block-2",
              "block-3",
              "block-4"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-4",
            "net": "x2",
            "nodes": [
              "block-2",
              "block-3",
              "block-4"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-5",
            "net": "o1",
            "nodes": [
              "block-3",
              "block-4",
              "block-5"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-6",
            "net": "o2",
            "nodes": [
              "block-3",
              "block-4",
              "block-5"
            ],
            "direction": "undirected-shared-net"
          }
        ],
        "ports": [
          {
            "name": "inp",
            "net": "inp",
            "kind": "input"
          },
          {
            "name": "inn",
            "net": "inn",
            "kind": "input"
          },
          {
            "name": "clk",
            "net": "clk",
            "kind": "clock"
          },
          {
            "name": "outp",
            "net": "outp",
            "kind": "output"
          },
          {
            "name": "outn",
            "net": "outn",
            "kind": "output"
          },
          {
            "name": "vdd",
            "net": "vdd",
            "kind": "supply"
          },
          {
            "name": "vss",
            "net": "vss",
            "kind": "ground"
          }
        ],
        "coverage": "Every root DUT device belongs to one group; hierarchical instances refer to electrical child scopes."
      },
      {
        "id": "graph-4",
        "kind": "electrical-connectivity",
        "boundary": "Device pins and net incidence from the generated SPICE deck, including ideal bench elements. PDK/model internals are referenced, not expanded. This is not layout, extraction, DRC/LVS or silicon evidence.",
        "root": "top",
        "globalDefinitions": [
          ".param VDD=1.2"
        ],
        "scopes": [
          {
            "id": "top",
            "name": "top",
            "ports": [],
            "definitions": [
              ".param VDD=1.2"
            ],
            "devices": [
              {
                "id": "Vdd",
                "displayName": "Vdd",
                "spiceType": "V",
                "model": null,
                "parametersOrValue": "dc {VDD}",
                "source": "Vdd vdd 0 dc {VDD}",
                "pins": [
                  {
                    "id": "p",
                    "net": "vdd"
                  },
                  {
                    "id": "n",
                    "net": "0"
                  }
                ],
                "pinMeaning": "SPICE primitive terminal order"
              },
              {
                "id": "Xdut",
                "displayName": "Xdut",
                "spiceType": "X",
                "model": "sapmos",
                "parametersOrValue": "",
                "source": "Xdut inp inn clk outp outn vdd 0 sapmos",
                "pins": [
                  {
                    "id": "inp",
                    "net": "inp"
                  },
                  {
                    "id": "inn",
                    "net": "inn"
                  },
                  {
                    "id": "clk",
                    "net": "clk"
                  },
                  {
                    "id": "outp",
                    "net": "outp"
                  },
                  {
                    "id": "outn",
                    "net": "outn"
                  },
                  {
                    "id": "vdd",
                    "net": "vdd"
                  },
                  {
                    "id": "vss",
                    "net": "0"
                  }
                ],
                "pinMeaning": "Declared .subckt port order",
                "subcircuit": "subckt/sapmos"
              },
              {
                "id": "Clp",
                "displayName": "Clp",
                "spiceType": "C",
                "model": null,
                "parametersOrValue": "10f",
                "source": "Clp outp 0 10f",
                "pins": [
                  {
                    "id": "p",
                    "net": "outp"
                  },
                  {
                    "id": "n",
                    "net": "0"
                  }
                ],
                "pinMeaning": "SPICE primitive terminal order"
              },
              {
                "id": "Cln",
                "displayName": "Cln",
                "spiceType": "C",
                "model": null,
                "parametersOrValue": "10f",
                "source": "Cln outn 0 10f",
                "pins": [
                  {
                    "id": "p",
                    "net": "outn"
                  },
                  {
                    "id": "n",
                    "net": "0"
                  }
                ],
                "pinMeaning": "SPICE primitive terminal order"
              },
              {
                "id": "Vclk",
                "displayName": "Vclk",
                "spiceType": "V",
                "model": null,
                "parametersOrValue": "pulse({VDD} 0 2n 50p 50p 1.95n 4n)",
                "source": "Vclk clk 0 pulse({VDD} 0 2n 50p 50p 1.95n 4n)",
                "pins": [
                  {
                    "id": "p",
                    "net": "clk"
                  },
                  {
                    "id": "n",
                    "net": "0"
                  }
                ],
                "pinMeaning": "SPICE primitive terminal order"
              },
              {
                "id": "Vcm",
                "displayName": "Vcm",
                "spiceType": "V",
                "model": null,
                "parametersOrValue": "dc 300m",
                "source": "Vcm cm 0 dc 300m",
                "pins": [
                  {
                    "id": "p",
                    "net": "cm"
                  },
                  {
                    "id": "n",
                    "net": "0"
                  }
                ],
                "pinMeaning": "SPICE primitive terminal order"
              },
              {
                "id": "Vid",
                "displayName": "Vid",
                "spiceType": "V",
                "model": null,
                "parametersOrValue": "pwl(0 -29.5m 4.975n -29.5m 5.025n -28.5m 8.975n -28.5m 9.025n -27.5m 12.975n -27.5m 13.025n -26.5m 16.975n -26.5m 17.025n -25.5m 20.975n -25.5m 21.025n -24.5m 24.975n -24.5m 25.025n -23.5m 28.975n -23.5m 29.025n -22.5m 32.975n -22.5m 33.025n -21.5m 36.975n -21.5m 37.025n -20.5m 40.975n -20.5m 41.025n -19.5m 44.975n -19.5m 45.025n -18.5m 48.975n -18.5m 49.025n -17.5m 52.975n -17.5m 53.025n -16.5m 56.975n -16.5m 57.025n -15.5m 60.975n -15.5m 61.025n -14.5m 64.975n -14.5m 65.025n -13.5m 68.975n -13.5m 69.025n -12.5m 72.975n -12.5m 73.025n -11.5m 76.975n -11.5m 77.025n -10.5m 80.975n -10.5m 81.025n -9.5m 84.975n -9.5m 85.025n -8.5m 88.975n -8.5m 89.025n -7.5m 92.975n -7.5m 93.025n -6.5m 96.975n -6.5m 97.025n -5.5m 100.975n -5.5m 101.025n -4.5m 104.975n -4.5m 105.025n -3.5m 108.975n -3.5m 109.025n -2.5m 112.975n -2.5m 113.025n -1.5m 116.975n -1.5m 117.025n -500u 120.975n -500u 121.025n 500u 124.975n 500u 125.025n 1.5m 128.975n 1.5m 129.025n 2.5m 132.975n 2.5m 133.025n 3.5m 136.975n 3.5m 137.025n 4.5m 140.975n 4.5m 141.025n 5.5m 144.975n 5.5m 145.025n 6.5m 148.975n 6.5m 149.025n 7.5m 152.975n 7.5m 153.025n 8.5m 156.975n 8.5m 157.025n 9.5m 160.975n 9.5m 161.025n 10.5m 164.975n 10.5m 165.025n 11.5m 168.975n 11.5m 169.025n 12.5m 172.975n 12.5m 173.025n 13.5m 176.975n 13.5m 177.025n 14.5m 180.975n 14.5m 181.025n 15.5m 184.975n 15.5m 185.025n 16.5m 188.975n 16.5m 189.025n 17.5m 192.975n 17.5m 193.025n 18.5m 196.975n 18.5m 197.025n 19.5m 200.975n 19.5m 201.025n 20.5m 204.975n 20.5m 205.025n 21.5m 208.975n 21.5m 209.025n 22.5m 212.975n 22.5m 213.025n 23.5m 216.975n 23.5m 217.025n 24.5m 220.975n 24.5m 221.025n 25.5m 224.975n 25.5m 225.025n 26.5m 228.975n 26.5m 229.025n 27.5m 232.975n 27.5m 233.025n 28.5m 236.975n 28.5m 237.025n 29.5m 240.975n 29.5m 241.025n 29.5m 244.975n 29.5m 245.025n 28.5m 248.975n 28.5m 249.025n 27.5m 252.975n 27.5m 253.025n 26.5m 256.975n 26.5m 257.025n 25.5m 260.975n 25.5m 261.025n 24.5m 264.975n 24.5m 265.025n 23.5m 268.975n 23.5m 269.025n 22.5m 272.975n 22.5m 273.025n 21.5m 276.975n 21.5m 277.025n 20.5m 280.975n 20.5m 281.025n 19.5m 284.975n 19.5m 285.025n 18.5m 288.975n 18.5m 289.025n 17.5m 292.975n 17.5m 293.025n 16.5m 296.975n 16.5m 297.025n 15.5m 300.975n 15.5m 301.025n 14.5m 304.975n 14.5m 305.025n 13.5m 308.975n 13.5m 309.025n 12.5m 312.975n 12.5m 313.025n 11.5m 316.975n 11.5m 317.025n 10.5m 320.975n 10.5m 321.025n 9.5m 324.975n 9.5m 325.025n 8.5m 328.975n 8.5m 329.025n 7.5m 332.975n 7.5m 333.025n 6.5m 336.975n 6.5m 337.025n 5.5m 340.975n 5.5m 341.025n 4.5m 344.975n 4.5m 345.025n 3.5m 348.975n 3.5m 349.025n 2.5m 352.975n 2.5m 353.025n 1.5m 356.975n 1.5m 357.025n 500u 360.975n 500u 361.025n -500u 364.975n -500u 365.025n -1.5m 368.975n -1.5m 369.025n -2.5m 372.975n -2.5m 373.025n -3.5m 376.975n -3.5m 377.025n -4.5m 380.975n -4.5m 381.025n -5.5m 384.975n -5.5m 385.025n -6.5m 388.975n -6.5m 389.025n -7.5m 392.975n -7.5m 393.025n -8.5m 396.975n -8.5m 397.025n -9.5m 400.975n -9.5m 401.025n -10.5m 404.975n -10.5m 405.025n -11.5m 408.975n -11.5m 409.025n -12.5m 412.975n -12.5m 413.025n -13.5m 416.975n -13.5m 417.025n -14.5m 420.975n -14.5m 421.025n -15.5m 424.975n -15.5m 425.025n -16.5m 428.975n -16.5m 429.025n -17.5m 432.975n -17.5m 433.025n -18.5m 436.975n -18.5m 437.025n -19.5m 440.975n -19.5m 441.025n -20.5m 444.975n -20.5m 445.025n -21.5m 448.975n -21.5m 449.025n -22.5m 452.975n -22.5m 453.025n -23.5m 456.975n -23.5m 457.025n -24.5m 460.975n -24.5m 461.025n -25.5m 464.975n -25.5m 465.025n -26.5m 468.975n -26.5m 469.025n -27.5m 472.975n -27.5m 473.025n -28.5m 476.975n -28.5m 477.025n -29.5m)",
                "source": "Vid id 0 pwl(0 -29.5m 4.975n -29.5m 5.025n -28.5m 8.975n -28.5m 9.025n -27.5m 12.975n -27.5m 13.025n -26.5m 16.975n -26.5m 17.025n -25.5m 20.975n -25.5m 21.025n -24.5m 24.975n -24.5m 25.025n -23.5m 28.975n -23.5m 29.025n -22.5m 32.975n -22.5m 33.025n -21.5m 36.975n -21.5m 37.025n -20.5m 40.975n -20.5m 41.025n -19.5m 44.975n -19.5m 45.025n -18.5m 48.975n -18.5m 49.025n -17.5m 52.975n -17.5m 53.025n -16.5m 56.975n -16.5m 57.025n -15.5m 60.975n -15.5m 61.025n -14.5m 64.975n -14.5m 65.025n -13.5m 68.975n -13.5m 69.025n -12.5m 72.975n -12.5m 73.025n -11.5m 76.975n -11.5m 77.025n -10.5m 80.975n -10.5m 81.025n -9.5m 84.975n -9.5m 85.025n -8.5m 88.975n -8.5m 89.025n -7.5m 92.975n -7.5m 93.025n -6.5m 96.975n -6.5m 97.025n -5.5m 100.975n -5.5m 101.025n -4.5m 104.975n -4.5m 105.025n -3.5m 108.975n -3.5m 109.025n -2.5m 112.975n -2.5m 113.025n -1.5m 116.975n -1.5m 117.025n -500u 120.975n -500u 121.025n 500u 124.975n 500u 125.025n 1.5m 128.975n 1.5m 129.025n 2.5m 132.975n 2.5m 133.025n 3.5m 136.975n 3.5m 137.025n 4.5m 140.975n 4.5m 141.025n 5.5m 144.975n 5.5m 145.025n 6.5m 148.975n 6.5m 149.025n 7.5m 152.975n 7.5m 153.025n 8.5m 156.975n 8.5m 157.025n 9.5m 160.975n 9.5m 161.025n 10.5m 164.975n 10.5m 165.025n 11.5m 168.975n 11.5m 169.025n 12.5m 172.975n 12.5m 173.025n 13.5m 176.975n 13.5m 177.025n 14.5m 180.975n 14.5m 181.025n 15.5m 184.975n 15.5m 185.025n 16.5m 188.975n 16.5m 189.025n 17.5m 192.975n 17.5m 193.025n 18.5m 196.975n 18.5m 197.025n 19.5m 200.975n 19.5m 201.025n 20.5m 204.975n 20.5m 205.025n 21.5m 208.975n 21.5m 209.025n 22.5m 212.975n 22.5m 213.025n 23.5m 216.975n 23.5m 217.025n 24.5m 220.975n 24.5m 221.025n 25.5m 224.975n 25.5m 225.025n 26.5m 228.975n 26.5m 229.025n 27.5m 232.975n 27.5m 233.025n 28.5m 236.975n 28.5m 237.025n 29.5m 240.975n 29.5m 241.025n 29.5m 244.975n 29.5m 245.025n 28.5m 248.975n 28.5m 249.025n 27.5m 252.975n 27.5m 253.025n 26.5m 256.975n 26.5m 257.025n 25.5m 260.975n 25.5m 261.025n 24.5m 264.975n 24.5m 265.025n 23.5m 268.975n 23.5m 269.025n 22.5m 272.975n 22.5m 273.025n 21.5m 276.975n 21.5m 277.025n 20.5m 280.975n 20.5m 281.025n 19.5m 284.975n 19.5m 285.025n 18.5m 288.975n 18.5m 289.025n 17.5m 292.975n 17.5m 293.025n 16.5m 296.975n 16.5m 297.025n 15.5m 300.975n 15.5m 301.025n 14.5m 304.975n 14.5m 305.025n 13.5m 308.975n 13.5m 309.025n 12.5m 312.975n 12.5m 313.025n 11.5m 316.975n 11.5m 317.025n 10.5m 320.975n 10.5m 321.025n 9.5m 324.975n 9.5m 325.025n 8.5m 328.975n 8.5m 329.025n 7.5m 332.975n 7.5m 333.025n 6.5m 336.975n 6.5m 337.025n 5.5m 340.975n 5.5m 341.025n 4.5m 344.975n 4.5m 345.025n 3.5m 348.975n 3.5m 349.025n 2.5m 352.975n 2.5m 353.025n 1.5m 356.975n 1.5m 357.025n 500u 360.975n 500u 361.025n -500u 364.975n -500u 365.025n -1.5m 368.975n -1.5m 369.025n -2.5m 372.975n -2.5m 373.025n -3.5m 376.975n -3.5m 377.025n -4.5m 380.975n -4.5m 381.025n -5.5m 384.975n -5.5m 385.025n -6.5m 388.975n -6.5m 389.025n -7.5m 392.975n -7.5m 393.025n -8.5m 396.975n -8.5m 397.025n -9.5m 400.975n -9.5m 401.025n -10.5m 404.975n -10.5m 405.025n -11.5m 408.975n -11.5m 409.025n -12.5m 412.975n -12.5m 413.025n -13.5m 416.975n -13.5m 417.025n -14.5m 420.975n -14.5m 421.025n -15.5m 424.975n -15.5m 425.025n -16.5m 428.975n -16.5m 429.025n -17.5m 432.975n -17.5m 433.025n -18.5m 436.975n -18.5m 437.025n -19.5m 440.975n -19.5m 441.025n -20.5m 444.975n -20.5m 445.025n -21.5m 448.975n -21.5m 449.025n -22.5m 452.975n -22.5m 453.025n -23.5m 456.975n -23.5m 457.025n -24.5m 460.975n -24.5m 461.025n -25.5m 464.975n -25.5m 465.025n -26.5m 468.975n -26.5m 469.025n -27.5m 472.975n -27.5m 473.025n -28.5m 476.975n -28.5m 477.025n -29.5m)",
                "pins": [
                  {
                    "id": "p",
                    "net": "id"
                  },
                  {
                    "id": "n",
                    "net": "0"
                  }
                ],
                "pinMeaning": "SPICE primitive terminal order"
              },
              {
                "id": "Einp",
                "displayName": "Einp",
                "spiceType": "E",
                "model": null,
                "parametersOrValue": "0.5",
                "source": "Einp inp cm id 0 0.5",
                "pins": [
                  {
                    "id": "p",
                    "net": "inp"
                  },
                  {
                    "id": "n",
                    "net": "cm"
                  },
                  {
                    "id": "cp",
                    "net": "id"
                  },
                  {
                    "id": "cn",
                    "net": "0"
                  }
                ],
                "pinMeaning": "SPICE primitive terminal order"
              },
              {
                "id": "Einn",
                "displayName": "Einn",
                "spiceType": "E",
                "model": null,
                "parametersOrValue": "-0.5",
                "source": "Einn inn cm id 0 -0.5",
                "pins": [
                  {
                    "id": "p",
                    "net": "inn"
                  },
                  {
                    "id": "n",
                    "net": "cm"
                  },
                  {
                    "id": "cp",
                    "net": "id"
                  },
                  {
                    "id": "cn",
                    "net": "0"
                  }
                ],
                "pinMeaning": "SPICE primitive terminal order"
              }
            ],
            "nets": [
              {
                "id": "vdd",
                "ground": false,
                "terminals": [
                  {
                    "device": "Vdd",
                    "pin": "p"
                  },
                  {
                    "device": "Xdut",
                    "pin": "vdd"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "0",
                "ground": true,
                "terminals": [
                  {
                    "device": "Vdd",
                    "pin": "n"
                  },
                  {
                    "device": "Xdut",
                    "pin": "vss"
                  },
                  {
                    "device": "Clp",
                    "pin": "n"
                  },
                  {
                    "device": "Cln",
                    "pin": "n"
                  },
                  {
                    "device": "Vclk",
                    "pin": "n"
                  },
                  {
                    "device": "Vcm",
                    "pin": "n"
                  },
                  {
                    "device": "Vid",
                    "pin": "n"
                  },
                  {
                    "device": "Einp",
                    "pin": "cn"
                  },
                  {
                    "device": "Einn",
                    "pin": "cn"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "inp",
                "ground": false,
                "terminals": [
                  {
                    "device": "Xdut",
                    "pin": "inp"
                  },
                  {
                    "device": "Einp",
                    "pin": "p"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "inn",
                "ground": false,
                "terminals": [
                  {
                    "device": "Xdut",
                    "pin": "inn"
                  },
                  {
                    "device": "Einn",
                    "pin": "p"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "clk",
                "ground": false,
                "terminals": [
                  {
                    "device": "Xdut",
                    "pin": "clk"
                  },
                  {
                    "device": "Vclk",
                    "pin": "p"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "outp",
                "ground": false,
                "terminals": [
                  {
                    "device": "Xdut",
                    "pin": "outp"
                  },
                  {
                    "device": "Clp",
                    "pin": "p"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "outn",
                "ground": false,
                "terminals": [
                  {
                    "device": "Xdut",
                    "pin": "outn"
                  },
                  {
                    "device": "Cln",
                    "pin": "p"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "cm",
                "ground": false,
                "terminals": [
                  {
                    "device": "Vcm",
                    "pin": "p"
                  },
                  {
                    "device": "Einp",
                    "pin": "n"
                  },
                  {
                    "device": "Einn",
                    "pin": "n"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "id",
                "ground": false,
                "terminals": [
                  {
                    "device": "Vid",
                    "pin": "p"
                  },
                  {
                    "device": "Einp",
                    "pin": "cp"
                  },
                  {
                    "device": "Einn",
                    "pin": "cp"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              }
            ]
          },
          {
            "id": "subckt/sapmos",
            "name": "sapmos",
            "ports": [
              {
                "name": "inp",
                "net": "inp"
              },
              {
                "name": "inn",
                "net": "inn"
              },
              {
                "name": "clk",
                "net": "clk"
              },
              {
                "name": "outp",
                "net": "outp"
              },
              {
                "name": "outn",
                "net": "outn"
              },
              {
                "name": "vdd",
                "net": "vdd"
              },
              {
                "name": "vss",
                "net": "vss"
              }
            ],
            "definitions": [],
            "devices": [
              {
                "id": "XMT",
                "displayName": "MT",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=2u l=130n ng=1 m=1",
                "source": "XMT t clk vdd vdd sg13_lv_pmos w=2u l=130n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "t"
                  },
                  {
                    "id": "g",
                    "net": "clk"
                  },
                  {
                    "id": "s",
                    "net": "vdd"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM1",
                "displayName": "M1",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=12u l=400n ng=4 m=1",
                "source": "XM1 x1 inp t vdd sg13_lv_pmos w=12u l=400n ng=4 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "x1"
                  },
                  {
                    "id": "g",
                    "net": "inp"
                  },
                  {
                    "id": "s",
                    "net": "t"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM2",
                "displayName": "M2",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=12u l=400n ng=4 m=1",
                "source": "XM2 x2 inn t vdd sg13_lv_pmos w=12u l=400n ng=4 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "x2"
                  },
                  {
                    "id": "g",
                    "net": "inn"
                  },
                  {
                    "id": "s",
                    "net": "t"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM3",
                "displayName": "M3",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=6u l=200n ng=2 m=1",
                "source": "XM3 o1 o2 x1 vdd sg13_lv_pmos w=6u l=200n ng=2 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "o1"
                  },
                  {
                    "id": "g",
                    "net": "o2"
                  },
                  {
                    "id": "s",
                    "net": "x1"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM4",
                "displayName": "M4",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=6u l=200n ng=2 m=1",
                "source": "XM4 o2 o1 x2 vdd sg13_lv_pmos w=6u l=200n ng=2 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "o2"
                  },
                  {
                    "id": "g",
                    "net": "o1"
                  },
                  {
                    "id": "s",
                    "net": "x2"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM5",
                "displayName": "M5",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=3u l=200n ng=1 m=1",
                "source": "XM5 o1 o2 vss vss sg13_lv_nmos w=3u l=200n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "o1"
                  },
                  {
                    "id": "g",
                    "net": "o2"
                  },
                  {
                    "id": "s",
                    "net": "vss"
                  },
                  {
                    "id": "b",
                    "net": "vss"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM6",
                "displayName": "M6",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=3u l=200n ng=1 m=1",
                "source": "XM6 o2 o1 vss vss sg13_lv_nmos w=3u l=200n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "o2"
                  },
                  {
                    "id": "g",
                    "net": "o1"
                  },
                  {
                    "id": "s",
                    "net": "vss"
                  },
                  {
                    "id": "b",
                    "net": "vss"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM7",
                "displayName": "M7",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=500n l=200n ng=1 m=1",
                "source": "XM7 o1 clk vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "o1"
                  },
                  {
                    "id": "g",
                    "net": "clk"
                  },
                  {
                    "id": "s",
                    "net": "vss"
                  },
                  {
                    "id": "b",
                    "net": "vss"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM8",
                "displayName": "M8",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=500n l=200n ng=1 m=1",
                "source": "XM8 o2 clk vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "o2"
                  },
                  {
                    "id": "g",
                    "net": "clk"
                  },
                  {
                    "id": "s",
                    "net": "vss"
                  },
                  {
                    "id": "b",
                    "net": "vss"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM9",
                "displayName": "M9",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=500n l=200n ng=1 m=1",
                "source": "XM9 x1 clk vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "x1"
                  },
                  {
                    "id": "g",
                    "net": "clk"
                  },
                  {
                    "id": "s",
                    "net": "vss"
                  },
                  {
                    "id": "b",
                    "net": "vss"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM10",
                "displayName": "M10",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=500n l=200n ng=1 m=1",
                "source": "XM10 x2 clk vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "x2"
                  },
                  {
                    "id": "g",
                    "net": "clk"
                  },
                  {
                    "id": "s",
                    "net": "vss"
                  },
                  {
                    "id": "b",
                    "net": "vss"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM11",
                "displayName": "M11",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=500n l=200n ng=1 m=1",
                "source": "XM11 outp o1 vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "outp"
                  },
                  {
                    "id": "g",
                    "net": "o1"
                  },
                  {
                    "id": "s",
                    "net": "vss"
                  },
                  {
                    "id": "b",
                    "net": "vss"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM12",
                "displayName": "M12",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=1u l=200n ng=1 m=1",
                "source": "XM12 outp o1 vdd vdd sg13_lv_pmos w=1u l=200n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "outp"
                  },
                  {
                    "id": "g",
                    "net": "o1"
                  },
                  {
                    "id": "s",
                    "net": "vdd"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM13",
                "displayName": "M13",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=500n l=200n ng=1 m=1",
                "source": "XM13 outn o2 vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "outn"
                  },
                  {
                    "id": "g",
                    "net": "o2"
                  },
                  {
                    "id": "s",
                    "net": "vss"
                  },
                  {
                    "id": "b",
                    "net": "vss"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM14",
                "displayName": "M14",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=1u l=200n ng=1 m=1",
                "source": "XM14 outn o2 vdd vdd sg13_lv_pmos w=1u l=200n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "outn"
                  },
                  {
                    "id": "g",
                    "net": "o2"
                  },
                  {
                    "id": "s",
                    "net": "vdd"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              }
            ],
            "nets": [
              {
                "id": "t",
                "ground": false,
                "terminals": [
                  {
                    "device": "XMT",
                    "pin": "d"
                  },
                  {
                    "device": "XM1",
                    "pin": "s"
                  },
                  {
                    "device": "XM2",
                    "pin": "s"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "clk",
                "ground": false,
                "terminals": [
                  {
                    "device": "XMT",
                    "pin": "g"
                  },
                  {
                    "device": "XM7",
                    "pin": "g"
                  },
                  {
                    "device": "XM8",
                    "pin": "g"
                  },
                  {
                    "device": "XM9",
                    "pin": "g"
                  },
                  {
                    "device": "XM10",
                    "pin": "g"
                  }
                ],
                "ports": [
                  "clk"
                ],
                "voltageReferences": []
              },
              {
                "id": "vdd",
                "ground": false,
                "terminals": [
                  {
                    "device": "XMT",
                    "pin": "s"
                  },
                  {
                    "device": "XMT",
                    "pin": "b"
                  },
                  {
                    "device": "XM1",
                    "pin": "b"
                  },
                  {
                    "device": "XM2",
                    "pin": "b"
                  },
                  {
                    "device": "XM3",
                    "pin": "b"
                  },
                  {
                    "device": "XM4",
                    "pin": "b"
                  },
                  {
                    "device": "XM12",
                    "pin": "s"
                  },
                  {
                    "device": "XM12",
                    "pin": "b"
                  },
                  {
                    "device": "XM14",
                    "pin": "s"
                  },
                  {
                    "device": "XM14",
                    "pin": "b"
                  }
                ],
                "ports": [
                  "vdd"
                ],
                "voltageReferences": []
              },
              {
                "id": "x1",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM1",
                    "pin": "d"
                  },
                  {
                    "device": "XM3",
                    "pin": "s"
                  },
                  {
                    "device": "XM9",
                    "pin": "d"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "inp",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM1",
                    "pin": "g"
                  }
                ],
                "ports": [
                  "inp"
                ],
                "voltageReferences": []
              },
              {
                "id": "x2",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM2",
                    "pin": "d"
                  },
                  {
                    "device": "XM4",
                    "pin": "s"
                  },
                  {
                    "device": "XM10",
                    "pin": "d"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "inn",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM2",
                    "pin": "g"
                  }
                ],
                "ports": [
                  "inn"
                ],
                "voltageReferences": []
              },
              {
                "id": "o1",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM3",
                    "pin": "d"
                  },
                  {
                    "device": "XM4",
                    "pin": "g"
                  },
                  {
                    "device": "XM5",
                    "pin": "d"
                  },
                  {
                    "device": "XM6",
                    "pin": "g"
                  },
                  {
                    "device": "XM7",
                    "pin": "d"
                  },
                  {
                    "device": "XM11",
                    "pin": "g"
                  },
                  {
                    "device": "XM12",
                    "pin": "g"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "o2",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM3",
                    "pin": "g"
                  },
                  {
                    "device": "XM4",
                    "pin": "d"
                  },
                  {
                    "device": "XM5",
                    "pin": "g"
                  },
                  {
                    "device": "XM6",
                    "pin": "d"
                  },
                  {
                    "device": "XM8",
                    "pin": "d"
                  },
                  {
                    "device": "XM13",
                    "pin": "g"
                  },
                  {
                    "device": "XM14",
                    "pin": "g"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "vss",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM5",
                    "pin": "s"
                  },
                  {
                    "device": "XM5",
                    "pin": "b"
                  },
                  {
                    "device": "XM6",
                    "pin": "s"
                  },
                  {
                    "device": "XM6",
                    "pin": "b"
                  },
                  {
                    "device": "XM7",
                    "pin": "s"
                  },
                  {
                    "device": "XM7",
                    "pin": "b"
                  },
                  {
                    "device": "XM8",
                    "pin": "s"
                  },
                  {
                    "device": "XM8",
                    "pin": "b"
                  },
                  {
                    "device": "XM9",
                    "pin": "s"
                  },
                  {
                    "device": "XM9",
                    "pin": "b"
                  },
                  {
                    "device": "XM10",
                    "pin": "s"
                  },
                  {
                    "device": "XM10",
                    "pin": "b"
                  },
                  {
                    "device": "XM11",
                    "pin": "s"
                  },
                  {
                    "device": "XM11",
                    "pin": "b"
                  },
                  {
                    "device": "XM13",
                    "pin": "s"
                  },
                  {
                    "device": "XM13",
                    "pin": "b"
                  }
                ],
                "ports": [
                  "vss"
                ],
                "voltageReferences": []
              },
              {
                "id": "outp",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM11",
                    "pin": "d"
                  },
                  {
                    "device": "XM12",
                    "pin": "d"
                  }
                ],
                "ports": [
                  "outp"
                ],
                "voltageReferences": []
              },
              {
                "id": "outn",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM13",
                    "pin": "d"
                  },
                  {
                    "device": "XM14",
                    "pin": "d"
                  }
                ],
                "ports": [
                  "outn"
                ],
                "voltageReferences": []
              }
            ]
          }
        ],
        "uninstantiatedDefinitions": [],
        "dut": {
          "kind": "subcircuit-instance",
          "scope": "top",
          "device": "Xdut",
          "definition": "subckt/sapmos"
        }
      },
      {
        "id": "graph-5",
        "kind": "electrical-connectivity",
        "boundary": "Device pins and net incidence from the generated SPICE deck, including ideal bench elements. PDK/model internals are referenced, not expanded. This is not layout, extraction, DRC/LVS or silicon evidence.",
        "root": "top",
        "globalDefinitions": [
          ".param VDD=1.2"
        ],
        "scopes": [
          {
            "id": "top",
            "name": "top",
            "ports": [],
            "definitions": [
              ".param VDD=1.2"
            ],
            "devices": [
              {
                "id": "Vdd",
                "displayName": "Vdd",
                "spiceType": "V",
                "model": null,
                "parametersOrValue": "dc {VDD}",
                "source": "Vdd vdd 0 dc {VDD}",
                "pins": [
                  {
                    "id": "p",
                    "net": "vdd"
                  },
                  {
                    "id": "n",
                    "net": "0"
                  }
                ],
                "pinMeaning": "SPICE primitive terminal order"
              },
              {
                "id": "Xdut",
                "displayName": "Xdut",
                "spiceType": "X",
                "model": "sapmos",
                "parametersOrValue": "",
                "source": "Xdut inp inn clk outp outn vdd 0 sapmos",
                "pins": [
                  {
                    "id": "inp",
                    "net": "inp"
                  },
                  {
                    "id": "inn",
                    "net": "inn"
                  },
                  {
                    "id": "clk",
                    "net": "clk"
                  },
                  {
                    "id": "outp",
                    "net": "outp"
                  },
                  {
                    "id": "outn",
                    "net": "outn"
                  },
                  {
                    "id": "vdd",
                    "net": "vdd"
                  },
                  {
                    "id": "vss",
                    "net": "0"
                  }
                ],
                "pinMeaning": "Declared .subckt port order",
                "subcircuit": "subckt/sapmos"
              },
              {
                "id": "Clp",
                "displayName": "Clp",
                "spiceType": "C",
                "model": null,
                "parametersOrValue": "10f",
                "source": "Clp outp 0 10f",
                "pins": [
                  {
                    "id": "p",
                    "net": "outp"
                  },
                  {
                    "id": "n",
                    "net": "0"
                  }
                ],
                "pinMeaning": "SPICE primitive terminal order"
              },
              {
                "id": "Cln",
                "displayName": "Cln",
                "spiceType": "C",
                "model": null,
                "parametersOrValue": "10f",
                "source": "Cln outn 0 10f",
                "pins": [
                  {
                    "id": "p",
                    "net": "outn"
                  },
                  {
                    "id": "n",
                    "net": "0"
                  }
                ],
                "pinMeaning": "SPICE primitive terminal order"
              },
              {
                "id": "Vclk",
                "displayName": "Vclk",
                "spiceType": "V",
                "model": null,
                "parametersOrValue": "pulse({VDD} 0 2n 50p 50p 1.95n 4n)",
                "source": "Vclk clk 0 pulse({VDD} 0 2n 50p 50p 1.95n 4n)",
                "pins": [
                  {
                    "id": "p",
                    "net": "clk"
                  },
                  {
                    "id": "n",
                    "net": "0"
                  }
                ],
                "pinMeaning": "SPICE primitive terminal order"
              },
              {
                "id": "Vcm",
                "displayName": "Vcm",
                "spiceType": "V",
                "model": null,
                "parametersOrValue": "dc 300m",
                "source": "Vcm cm 0 dc 300m",
                "pins": [
                  {
                    "id": "p",
                    "net": "cm"
                  },
                  {
                    "id": "n",
                    "net": "0"
                  }
                ],
                "pinMeaning": "SPICE primitive terminal order"
              },
              {
                "id": "Vid",
                "displayName": "Vid",
                "spiceType": "V",
                "model": null,
                "parametersOrValue": "pwl(0 -50m 4.975n -50m 5.025n 10m 8.975n 10m 9.025n -10m)",
                "source": "Vid id 0 pwl(0 -50m 4.975n -50m 5.025n 10m 8.975n 10m 9.025n -10m)",
                "pins": [
                  {
                    "id": "p",
                    "net": "id"
                  },
                  {
                    "id": "n",
                    "net": "0"
                  }
                ],
                "pinMeaning": "SPICE primitive terminal order"
              },
              {
                "id": "Einp",
                "displayName": "Einp",
                "spiceType": "E",
                "model": null,
                "parametersOrValue": "0.5",
                "source": "Einp inp cm id 0 0.5",
                "pins": [
                  {
                    "id": "p",
                    "net": "inp"
                  },
                  {
                    "id": "n",
                    "net": "cm"
                  },
                  {
                    "id": "cp",
                    "net": "id"
                  },
                  {
                    "id": "cn",
                    "net": "0"
                  }
                ],
                "pinMeaning": "SPICE primitive terminal order"
              },
              {
                "id": "Einn",
                "displayName": "Einn",
                "spiceType": "E",
                "model": null,
                "parametersOrValue": "-0.5",
                "source": "Einn inn cm id 0 -0.5",
                "pins": [
                  {
                    "id": "p",
                    "net": "inn"
                  },
                  {
                    "id": "n",
                    "net": "cm"
                  },
                  {
                    "id": "cp",
                    "net": "id"
                  },
                  {
                    "id": "cn",
                    "net": "0"
                  }
                ],
                "pinMeaning": "SPICE primitive terminal order"
              }
            ],
            "nets": [
              {
                "id": "vdd",
                "ground": false,
                "terminals": [
                  {
                    "device": "Vdd",
                    "pin": "p"
                  },
                  {
                    "device": "Xdut",
                    "pin": "vdd"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "0",
                "ground": true,
                "terminals": [
                  {
                    "device": "Vdd",
                    "pin": "n"
                  },
                  {
                    "device": "Xdut",
                    "pin": "vss"
                  },
                  {
                    "device": "Clp",
                    "pin": "n"
                  },
                  {
                    "device": "Cln",
                    "pin": "n"
                  },
                  {
                    "device": "Vclk",
                    "pin": "n"
                  },
                  {
                    "device": "Vcm",
                    "pin": "n"
                  },
                  {
                    "device": "Vid",
                    "pin": "n"
                  },
                  {
                    "device": "Einp",
                    "pin": "cn"
                  },
                  {
                    "device": "Einn",
                    "pin": "cn"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "inp",
                "ground": false,
                "terminals": [
                  {
                    "device": "Xdut",
                    "pin": "inp"
                  },
                  {
                    "device": "Einp",
                    "pin": "p"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "inn",
                "ground": false,
                "terminals": [
                  {
                    "device": "Xdut",
                    "pin": "inn"
                  },
                  {
                    "device": "Einn",
                    "pin": "p"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "clk",
                "ground": false,
                "terminals": [
                  {
                    "device": "Xdut",
                    "pin": "clk"
                  },
                  {
                    "device": "Vclk",
                    "pin": "p"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "outp",
                "ground": false,
                "terminals": [
                  {
                    "device": "Xdut",
                    "pin": "outp"
                  },
                  {
                    "device": "Clp",
                    "pin": "p"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "outn",
                "ground": false,
                "terminals": [
                  {
                    "device": "Xdut",
                    "pin": "outn"
                  },
                  {
                    "device": "Cln",
                    "pin": "p"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "cm",
                "ground": false,
                "terminals": [
                  {
                    "device": "Vcm",
                    "pin": "p"
                  },
                  {
                    "device": "Einp",
                    "pin": "n"
                  },
                  {
                    "device": "Einn",
                    "pin": "n"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "id",
                "ground": false,
                "terminals": [
                  {
                    "device": "Vid",
                    "pin": "p"
                  },
                  {
                    "device": "Einp",
                    "pin": "cp"
                  },
                  {
                    "device": "Einn",
                    "pin": "cp"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              }
            ]
          },
          {
            "id": "subckt/sapmos",
            "name": "sapmos",
            "ports": [
              {
                "name": "inp",
                "net": "inp"
              },
              {
                "name": "inn",
                "net": "inn"
              },
              {
                "name": "clk",
                "net": "clk"
              },
              {
                "name": "outp",
                "net": "outp"
              },
              {
                "name": "outn",
                "net": "outn"
              },
              {
                "name": "vdd",
                "net": "vdd"
              },
              {
                "name": "vss",
                "net": "vss"
              }
            ],
            "definitions": [],
            "devices": [
              {
                "id": "XMT",
                "displayName": "MT",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=2u l=130n ng=1 m=1",
                "source": "XMT t clk vdd vdd sg13_lv_pmos w=2u l=130n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "t"
                  },
                  {
                    "id": "g",
                    "net": "clk"
                  },
                  {
                    "id": "s",
                    "net": "vdd"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM1",
                "displayName": "M1",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=12u l=400n ng=4 m=1",
                "source": "XM1 x1 inp t vdd sg13_lv_pmos w=12u l=400n ng=4 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "x1"
                  },
                  {
                    "id": "g",
                    "net": "inp"
                  },
                  {
                    "id": "s",
                    "net": "t"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM2",
                "displayName": "M2",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=12u l=400n ng=4 m=1",
                "source": "XM2 x2 inn t vdd sg13_lv_pmos w=12u l=400n ng=4 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "x2"
                  },
                  {
                    "id": "g",
                    "net": "inn"
                  },
                  {
                    "id": "s",
                    "net": "t"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM3",
                "displayName": "M3",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=6u l=200n ng=2 m=1",
                "source": "XM3 o1 o2 x1 vdd sg13_lv_pmos w=6u l=200n ng=2 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "o1"
                  },
                  {
                    "id": "g",
                    "net": "o2"
                  },
                  {
                    "id": "s",
                    "net": "x1"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM4",
                "displayName": "M4",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=6u l=200n ng=2 m=1",
                "source": "XM4 o2 o1 x2 vdd sg13_lv_pmos w=6u l=200n ng=2 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "o2"
                  },
                  {
                    "id": "g",
                    "net": "o1"
                  },
                  {
                    "id": "s",
                    "net": "x2"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM5",
                "displayName": "M5",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=3u l=200n ng=1 m=1",
                "source": "XM5 o1 o2 vss vss sg13_lv_nmos w=3u l=200n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "o1"
                  },
                  {
                    "id": "g",
                    "net": "o2"
                  },
                  {
                    "id": "s",
                    "net": "vss"
                  },
                  {
                    "id": "b",
                    "net": "vss"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM6",
                "displayName": "M6",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=3u l=200n ng=1 m=1",
                "source": "XM6 o2 o1 vss vss sg13_lv_nmos w=3u l=200n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "o2"
                  },
                  {
                    "id": "g",
                    "net": "o1"
                  },
                  {
                    "id": "s",
                    "net": "vss"
                  },
                  {
                    "id": "b",
                    "net": "vss"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM7",
                "displayName": "M7",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=500n l=200n ng=1 m=1",
                "source": "XM7 o1 clk vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "o1"
                  },
                  {
                    "id": "g",
                    "net": "clk"
                  },
                  {
                    "id": "s",
                    "net": "vss"
                  },
                  {
                    "id": "b",
                    "net": "vss"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM8",
                "displayName": "M8",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=500n l=200n ng=1 m=1",
                "source": "XM8 o2 clk vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "o2"
                  },
                  {
                    "id": "g",
                    "net": "clk"
                  },
                  {
                    "id": "s",
                    "net": "vss"
                  },
                  {
                    "id": "b",
                    "net": "vss"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM9",
                "displayName": "M9",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=500n l=200n ng=1 m=1",
                "source": "XM9 x1 clk vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "x1"
                  },
                  {
                    "id": "g",
                    "net": "clk"
                  },
                  {
                    "id": "s",
                    "net": "vss"
                  },
                  {
                    "id": "b",
                    "net": "vss"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM10",
                "displayName": "M10",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=500n l=200n ng=1 m=1",
                "source": "XM10 x2 clk vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "x2"
                  },
                  {
                    "id": "g",
                    "net": "clk"
                  },
                  {
                    "id": "s",
                    "net": "vss"
                  },
                  {
                    "id": "b",
                    "net": "vss"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM11",
                "displayName": "M11",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=500n l=200n ng=1 m=1",
                "source": "XM11 outp o1 vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "outp"
                  },
                  {
                    "id": "g",
                    "net": "o1"
                  },
                  {
                    "id": "s",
                    "net": "vss"
                  },
                  {
                    "id": "b",
                    "net": "vss"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM12",
                "displayName": "M12",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=1u l=200n ng=1 m=1",
                "source": "XM12 outp o1 vdd vdd sg13_lv_pmos w=1u l=200n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "outp"
                  },
                  {
                    "id": "g",
                    "net": "o1"
                  },
                  {
                    "id": "s",
                    "net": "vdd"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM13",
                "displayName": "M13",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=500n l=200n ng=1 m=1",
                "source": "XM13 outn o2 vss vss sg13_lv_nmos w=500n l=200n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "outn"
                  },
                  {
                    "id": "g",
                    "net": "o2"
                  },
                  {
                    "id": "s",
                    "net": "vss"
                  },
                  {
                    "id": "b",
                    "net": "vss"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM14",
                "displayName": "M14",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=1u l=200n ng=1 m=1",
                "source": "XM14 outn o2 vdd vdd sg13_lv_pmos w=1u l=200n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "outn"
                  },
                  {
                    "id": "g",
                    "net": "o2"
                  },
                  {
                    "id": "s",
                    "net": "vdd"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              }
            ],
            "nets": [
              {
                "id": "t",
                "ground": false,
                "terminals": [
                  {
                    "device": "XMT",
                    "pin": "d"
                  },
                  {
                    "device": "XM1",
                    "pin": "s"
                  },
                  {
                    "device": "XM2",
                    "pin": "s"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "clk",
                "ground": false,
                "terminals": [
                  {
                    "device": "XMT",
                    "pin": "g"
                  },
                  {
                    "device": "XM7",
                    "pin": "g"
                  },
                  {
                    "device": "XM8",
                    "pin": "g"
                  },
                  {
                    "device": "XM9",
                    "pin": "g"
                  },
                  {
                    "device": "XM10",
                    "pin": "g"
                  }
                ],
                "ports": [
                  "clk"
                ],
                "voltageReferences": []
              },
              {
                "id": "vdd",
                "ground": false,
                "terminals": [
                  {
                    "device": "XMT",
                    "pin": "s"
                  },
                  {
                    "device": "XMT",
                    "pin": "b"
                  },
                  {
                    "device": "XM1",
                    "pin": "b"
                  },
                  {
                    "device": "XM2",
                    "pin": "b"
                  },
                  {
                    "device": "XM3",
                    "pin": "b"
                  },
                  {
                    "device": "XM4",
                    "pin": "b"
                  },
                  {
                    "device": "XM12",
                    "pin": "s"
                  },
                  {
                    "device": "XM12",
                    "pin": "b"
                  },
                  {
                    "device": "XM14",
                    "pin": "s"
                  },
                  {
                    "device": "XM14",
                    "pin": "b"
                  }
                ],
                "ports": [
                  "vdd"
                ],
                "voltageReferences": []
              },
              {
                "id": "x1",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM1",
                    "pin": "d"
                  },
                  {
                    "device": "XM3",
                    "pin": "s"
                  },
                  {
                    "device": "XM9",
                    "pin": "d"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "inp",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM1",
                    "pin": "g"
                  }
                ],
                "ports": [
                  "inp"
                ],
                "voltageReferences": []
              },
              {
                "id": "x2",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM2",
                    "pin": "d"
                  },
                  {
                    "device": "XM4",
                    "pin": "s"
                  },
                  {
                    "device": "XM10",
                    "pin": "d"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "inn",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM2",
                    "pin": "g"
                  }
                ],
                "ports": [
                  "inn"
                ],
                "voltageReferences": []
              },
              {
                "id": "o1",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM3",
                    "pin": "d"
                  },
                  {
                    "device": "XM4",
                    "pin": "g"
                  },
                  {
                    "device": "XM5",
                    "pin": "d"
                  },
                  {
                    "device": "XM6",
                    "pin": "g"
                  },
                  {
                    "device": "XM7",
                    "pin": "d"
                  },
                  {
                    "device": "XM11",
                    "pin": "g"
                  },
                  {
                    "device": "XM12",
                    "pin": "g"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "o2",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM3",
                    "pin": "g"
                  },
                  {
                    "device": "XM4",
                    "pin": "d"
                  },
                  {
                    "device": "XM5",
                    "pin": "g"
                  },
                  {
                    "device": "XM6",
                    "pin": "d"
                  },
                  {
                    "device": "XM8",
                    "pin": "d"
                  },
                  {
                    "device": "XM13",
                    "pin": "g"
                  },
                  {
                    "device": "XM14",
                    "pin": "g"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "vss",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM5",
                    "pin": "s"
                  },
                  {
                    "device": "XM5",
                    "pin": "b"
                  },
                  {
                    "device": "XM6",
                    "pin": "s"
                  },
                  {
                    "device": "XM6",
                    "pin": "b"
                  },
                  {
                    "device": "XM7",
                    "pin": "s"
                  },
                  {
                    "device": "XM7",
                    "pin": "b"
                  },
                  {
                    "device": "XM8",
                    "pin": "s"
                  },
                  {
                    "device": "XM8",
                    "pin": "b"
                  },
                  {
                    "device": "XM9",
                    "pin": "s"
                  },
                  {
                    "device": "XM9",
                    "pin": "b"
                  },
                  {
                    "device": "XM10",
                    "pin": "s"
                  },
                  {
                    "device": "XM10",
                    "pin": "b"
                  },
                  {
                    "device": "XM11",
                    "pin": "s"
                  },
                  {
                    "device": "XM11",
                    "pin": "b"
                  },
                  {
                    "device": "XM13",
                    "pin": "s"
                  },
                  {
                    "device": "XM13",
                    "pin": "b"
                  }
                ],
                "ports": [
                  "vss"
                ],
                "voltageReferences": []
              },
              {
                "id": "outp",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM11",
                    "pin": "d"
                  },
                  {
                    "device": "XM12",
                    "pin": "d"
                  }
                ],
                "ports": [
                  "outp"
                ],
                "voltageReferences": []
              },
              {
                "id": "outn",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM13",
                    "pin": "d"
                  },
                  {
                    "device": "XM14",
                    "pin": "d"
                  }
                ],
                "ports": [
                  "outn"
                ],
                "voltageReferences": []
              }
            ]
          }
        ],
        "uninstantiatedDefinitions": [],
        "dut": {
          "kind": "subcircuit-instance",
          "scope": "top",
          "device": "Xdut",
          "definition": "subckt/sapmos"
        }
      }
    ],
    "views": [
      {
        "bench": "op",
        "source": {
          "recordField": "testbenches",
          "id": "op",
          "field": "netlist"
        },
        "schematic": {
          "graph": "graph-1",
          "svg": {
            "url": "/circuits/strongarm-pmos/op-schematic.svg",
            "asset": "op-schematic.svg"
          },
          "drawingCheck": {
            "method": "checkSchematic",
            "problems": []
          },
          "sheets": [
            {
              "name": "StrongARM latch comparator, PMOS input",
              "instances": []
            }
          ]
        },
        "benchDiagram": {
          "graph": "graph-2",
          "svg": {
            "url": "/circuits/strongarm-pmos/op-bench.svg",
            "asset": "op-bench.svg"
          }
        },
        "blockDiagram": {
          "graph": "graph-3",
          "electricalGraph": "graph-1",
          "svg": {
            "url": "/circuits/strongarm-pmos/op-block.svg",
            "asset": "op-block.svg"
          }
        }
      },
      {
        "bench": "sweep",
        "source": {
          "recordField": "testbenches",
          "id": "sweep",
          "field": "netlist"
        },
        "schematic": {
          "graph": "graph-1",
          "svg": {
            "url": "/circuits/strongarm-pmos/op-schematic.svg",
            "asset": "op-schematic.svg"
          },
          "drawingCheck": {
            "method": "checkSchematic",
            "problems": []
          },
          "sheets": [
            {
              "name": "StrongARM latch comparator, PMOS input",
              "instances": []
            }
          ]
        },
        "benchDiagram": {
          "graph": "graph-4",
          "svg": {
            "url": "/circuits/strongarm-pmos/op-bench.svg",
            "asset": "op-bench.svg"
          }
        },
        "blockDiagram": {
          "graph": "graph-3",
          "electricalGraph": "graph-1",
          "svg": {
            "url": "/circuits/strongarm-pmos/op-block.svg",
            "asset": "op-block.svg"
          }
        }
      },
      {
        "bench": "delay",
        "source": {
          "recordField": "testbenches",
          "id": "delay",
          "field": "netlist"
        },
        "schematic": {
          "graph": "graph-1",
          "svg": {
            "url": "/circuits/strongarm-pmos/op-schematic.svg",
            "asset": "op-schematic.svg"
          },
          "drawingCheck": {
            "method": "checkSchematic",
            "problems": []
          },
          "sheets": [
            {
              "name": "StrongARM latch comparator, PMOS input",
              "instances": []
            }
          ]
        },
        "benchDiagram": {
          "graph": "graph-5",
          "svg": {
            "url": "/circuits/strongarm-pmos/op-bench.svg",
            "asset": "op-bench.svg"
          }
        },
        "blockDiagram": {
          "graph": "graph-3",
          "electricalGraph": "graph-1",
          "svg": {
            "url": "/circuits/strongarm-pmos/op-block.svg",
            "asset": "op-block.svg"
          }
        }
      }
    ]
  }
}
