{
  "schema": "aisic.circuit/1",
  "entryType": "library-block",
  "domain": "mixed-signal",
  "id": "sar-monotonic",
  "name": "SAR ADC, monotonic switching",
  "group": "Data converters",
  "subgroup": "ADCs",
  "title": "SAR ADC, monotonic switching",
  "summary": "This ADC converts the difference between two sampled voltages into a binary number. It decides the first bit directly, then lowers one capacitor plate per decision. This saves capacitor area and switching energy, but the comparator must keep working as its inputs approach ground.",
  "reference": {
    "kind": "paper",
    "authors": "C.-C. Liu, S.-J. Chang, G.-Y. Huang and Y.-Z. Lin",
    "title": "A 10-bit 50-MS/s SAR ADC with a monotonic capacitor switching procedure",
    "publisher": "IEEE Journal of Solid-State Circuits, vol. 45, no. 4, pp. 731-740",
    "year": 2010,
    "where": "the monotonic switching procedure: top-plate sampling, the MSB decided without switching, one side switched down per bit",
    "takes": "The procedure, the halved array, the falling common mode and what it asks of the comparator, and the switching-energy argument."
  },
  "resources": {
    "record": "/circuits/sar-monotonic.json",
    "page": "/index.html#sar-monotonic",
    "achieved": "/achieved/sar-monotonic.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"
      },
      {
        "name": "sg13g2_passive_tt.spice",
        "url": "/sg13g2_passive_tt.spice",
        "sha256": "c00886f0de9e2a3bbd746e3771812e7ffea84cd452f2dbda6cc0fb7699a539cc"
      },
      {
        "name": "sg13g2_stdcell.spice",
        "url": "/sg13g2_stdcell.spice",
        "sha256": "cfd805c964d3238b3342b5b1432522c3cf614d167b848d540a1499d1253ef3d4"
      }
    ],
    "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",
    "sg13g2_passive_tt.spice",
    "sg13g2_stdcell.spice"
  ],
  "ports": [
    {
      "name": "vip",
      "kind": "input",
      "polarity": "+",
      "note": "sampled onto the P array's top plate"
    },
    {
      "name": "vin",
      "kind": "input",
      "polarity": "-",
      "note": "sampled onto the N array's top plate"
    },
    {
      "name": "vref",
      "kind": "bias",
      "note": "the level every bottom plate starts on, and the drivers' supply"
    },
    {
      "name": "ib",
      "kind": "bias",
      "note": "the bench sinks 20 uA from it: the preamplifier's bias"
    },
    {
      "name": "clk",
      "kind": "clock",
      "note": "high: the comparator precharges; each rising edge ends a trial"
    },
    {
      "name": "samp",
      "kind": "clock",
      "note": "high: the top plates track the inputs; its falling edge samples them"
    },
    {
      "name": "d0..dN-1",
      "kind": "output",
      "note": "the result, valid once eoc rises"
    },
    {
      "name": "eoc",
      "kind": "output",
      "note": "end of conversion"
    },
    {
      "name": "vdd",
      "kind": "supply"
    }
  ],
  "devices": [
    {
      "name": "CP0..CPN-2",
      "type": "capacitor",
      "sizedBy": [
        "Cu",
        "bits"
      ],
      "role": "the P array, CP_k = 2^k C_u, on the top plate topp"
    },
    {
      "name": "CN0..CNN-2",
      "type": "capacitor",
      "sizedBy": [
        "Cu",
        "bits"
      ],
      "role": "the N array, the same, on topn"
    },
    {
      "name": "CPt",
      "type": "capacitor",
      "sizedBy": [
        "Cu"
      ],
      "role": "one more unit on each side (with CNt), on ground: 2^(N-1) units a side"
    },
    {
      "name": "Sp",
      "type": "switch",
      "sizedBy": [
        "Wsw"
      ],
      "role": "vip onto topp while sampling (with Sn for vin): transmission gates"
    },
    {
      "name": "LP0..LPN-2",
      "type": "logic",
      "role": "P side: capacitor k to ground once bit k+1 is decided 1"
    },
    {
      "name": "LN0..LNN-2",
      "type": "logic",
      "role": "N side: capacitor k to ground once bit k+1 is decided 0 (s_k says it is decided)"
    },
    {
      "name": "DP0..DPN-2",
      "type": "logic",
      "role": "bottom-plate drivers, supplied from vref, their drive in proportion to the capacitor (with DN)"
    },
    {
      "name": "P1",
      "type": "pmos",
      "role": "preamplifier pair (with P2), 4/0.5 um, loaded by 20 kOhm to ground (R1..R4); tail Pbt mirrors pin ib",
      "fingers": 1,
      "copies": 1
    },
    {
      "name": "R1..R4",
      "type": "resistor",
      "role": "the preamplifier's loads, 10 kOhm p+ poly units, two in series a side: R1 and R3 on pn, R2 and R4 on pp"
    },
    {
      "name": "M1..M10",
      "type": "pmos",
      "role": "StrongARM latch with a PMOS input pair, the SAR page's turned over: input pair M1-M2 (16/0.26 um), cross-coupled M3-M6, reset to ground M7-M10, clocked tail Mt"
    },
    {
      "name": "Ls",
      "type": "logic",
      "role": "NOR latch (with Lr) holding the decision, behind the buffers Ikn and Ikp"
    },
    {
      "name": "T0..TN-2",
      "type": "logic",
      "role": "the thermometer s_k: a 1 shifted down one bit per clock, which stays"
    },
    {
      "name": "F0..FN-1",
      "type": "logic",
      "role": "the bit registers, loading the decision through the muxes K0..KN-1 in their turn t_k (H0..HN-1)"
    }
  ],
  "intent": [
    {
      "rule": "msb-without-switching",
      "of": [
        "CP0..CPN-2",
        "CN0..CNN-2"
      ],
      "constraint": "N bits from N - 1 capacitors a side, 2^(N-1) units",
      "why": "The first comparison is made on the sampled inputs as they are, before any bottom plate moves, so the arrays only have to make the remaining N - 1 steps: 2^(N-1) units a side, half the array of a converter that has to switch its MSB to try it."
    },
    {
      "rule": "monotonic",
      "of": [
        "LP0..LPN-2",
        "LN0..LNN-2",
        "DP0..DPN-2"
      ],
      "constraint": "one capacitor per decision, the higher side's, from V_ref to ground",
      "why": "Every step pulls one top plate down and none up, so no charge is pushed back into V_ref: the arrays draw only for the capacitors still on V_ref under the plate that fell. For V_id = -0.5 V at 6 bits that is 457 fJ by the decisions, 513 fJ measured with the drivers' own. Liu et al. count 81 % less switching energy than the conventional procedure, averaged over the codes of their 10-bit converter."
    },
    {
      "rule": "falling-common-mode",
      "of": [
        "P1",
        "M1..M10"
      ],
      "constraint": "the comparator decides at any common mode from V_cm to ground",
      "why": "With one side moving at a time, the top plates' common mode falls every step: from 0.60 V to 28 mV over the 6-bit conversion of -0.5 V, to 7 mV at 8 bits. An NMOS pair there would be off, so the preamplifier is a PMOS pair - which at 0.6 V, the first comparison, has little headroom for its tail, on a slow cold corner none, and its outputs sink towards ground. The latch after it therefore has a PMOS input pair too, deciding from any level between ground and 0.4 V, where 20 kOhm loads keep the preamplifier's outputs. The SAR page's NMOS latch, which wants 0.5 V or more, left that first comparison undecided on slow corners: at ss, 27 °C, V_id = 30 mV converted to 31 instead of 32, and at ss, -40 °C with the supply 10 % low every V_id tried up to 70 mV did."
    },
    {
      "rule": "top-plate-parasitics",
      "of": [
        "P1",
        "Sp"
      ],
      "constraint": "top-plate capacitance small against 2^(N-1) C_u",
      "why": "The inputs are sampled on the top plates, so whatever capacitance hangs there - the preamplifier's input devices, the switches - takes a share of every step: the first is 587 mV rather than 600 mV at 6 bits, a gain error of 2 %: near full scale most of an LSB, and +-1.0 V convert to 59 and 4 instead of 58 and 5. With 8 um preamplifier inputs and 2 um switches it was 574 mV, and -0.5 V converted to 17 instead of 18. At 8 bits the arrays are four times larger and the first step is 597 mV."
    },
    {
      "rule": "driver-scaling",
      "of": [
        "DP0..DPN-2"
      ],
      "constraint": "drive in proportion to the capacitor",
      "why": "Each bottom plate must settle in the half clock before the next decision. At 8 bits the largest capacitor is 64 units: on one buf_1 its top plate was still 88 mV from where it settles when the comparator fired, and one trial compared 348 mV against 347 mV. Driven as on the SAR page, it settles within a tenth of a period."
    },
    {
      "rule": "thermometer-register",
      "of": [
        "T0..TN-2",
        "LN0..LNN-2"
      ],
      "constraint": "s_k: bit k's trial has begun",
      "why": "An N-side driver must move once its bit is decided 0 - and a decided 0 looks, in its register, just like a bit not yet decided. The thermometer s_k, a 1 that stays once it has arrived, says that bit k+1 is decided, for the same flip-flop per bit a one-hot token would cost."
    }
  ],
  "specs": [
    {
      "key": "error",
      "label": "Quantisation error",
      "unit": "V",
      "direction": "min"
    },
    {
      "key": "tconv",
      "label": "Nominal conversion interval",
      "unit": "s",
      "direction": "min"
    },
    {
      "key": "energy",
      "label": "Energy from V_ref per conversion",
      "unit": "J",
      "direction": "min"
    }
  ],
  "explanation": {
    "idea": "This ADC converts the difference between two sampled voltages into a binary number. It decides the first bit directly, then lowers one capacitor plate per decision. This saves capacitor area and switching energy, but the comparator must keep working as its inputs approach ground.",
    "detail": "Converts a differential input, V_ip − V_in, into N bits with one-way capacitor switching. Both inputs are sampled on the top plates of two binary arrays whose switched bottom plates start on V_ref; the most significant bit is decided on the samples as they are, and each later decision pulls one capacitor of the higher side from V_ref to ground, moving that plate down by approximately V_ref·C_k/C_side. The ideal top plates only fall during conversion, avoiding charge returned to V_ref by upward steps. N bits need N − 1 switched capacitor weights per side, plus a termination capacitor.",
    "lesson": {
      "relation": 0,
      "symbols": "LSB is one ideal differential-input voltage step; V_ref is the reference voltage; N is the number of bits. The ideal differential range spans −V_ref to +V_ref.",
      "assumptions": "The binary capacitor ratios are exact and settle before every decision. Both physical input voltages must also stay within the switch and comparator operating ranges; the ideal differential span alone does not guarantee this.",
      "exercise": {
        "param": "bits",
        "value": 7,
        "analysis": "convert",
        "expect": "The ideal differential voltage step halves and the schedule adds one clock cycle. Inspect the top-plate common-mode fall and the reported conversion error, rather than assuming the extra bit is accurate."
      },
      "limits": "External bias, reference, sampling and conversion clocks are required. Top-plate parasitics alter the gain, and the comparator must work throughout the falling common-mode trajectory. The single-input bench is characterization, not a full-code linearity or maximum-rate guarantee."
    },
    "path": [
      {
        "part": "Sample",
        "devices": "Sp, Sn, CP0..CPN-2, CN0..CNN-2, CPt, CNt",
        "does": "While samp is high, transmission gates put vip on topp and vin on topn with every switched bottom plate on V_ref; samp's fall leaves both top plates floating."
      },
      {
        "part": "MSB without switching",
        "devices": "Xcmp",
        "does": "The first comparison is made on the sampled inputs directly: topp above topn is a 1 for the MSB, and no capacitor has moved yet."
      },
      {
        "part": "One side down",
        "devices": "LP0..LPN-2, LN0..LNN-2, DP0..DPN-2, DN0..DNN-2",
        "does": "After bit k+1, capacitor k of the higher side (P after a 1, N after a 0) drops from V_ref to ground, pulling that top plate down."
      },
      {
        "part": "Comparator",
        "devices": "Pbt, P1, P2, R1..R4, Mt, M1..M10, Ls, Lr",
        "does": "A PMOS preamplifier, 20 kΩ loads to ground, works down to inputs at ground; a StrongARM with a PMOS input pair decides from its outputs, below 0.4 V; the NOR latch holds each answer."
      },
      {
        "part": "Register",
        "devices": "T0..TN-2, H0..HN-1, K0..KN-1, F0..FN-1",
        "does": "A 1 shifts down the thermometer s_k each clock and stays, marking decided bits; each flip-flop loads the decision on the edge ending its turn."
      }
    ],
    "bias": "Pbt mirrors into the preamplifier's tail the 20 µA the bench sinks from pin ib through Pbd, and 20 kΩ loads to ground keep its outputs below 0.4 V, where the latch's PMOS inputs work at every corner - even when, with the top plates at 0.6 V, the tail has almost no headroom. V_ref is where every switched bottom plate starts and the drivers' supply; samp's falling edge samples, and clk, 100 MHz by default, paces one decision per period.",
    "relations": [
      {
        "what": "LSB",
        "expr": "LSB = 2·V_ref/2^N",
        "note": "the differential range is ±V_ref: 37.5 mV at 6 bits and 1.2 V"
      },
      {
        "what": "Step after bit k+1",
        "expr": "ΔV_top = V_ref·2^k/2^(N−1)",
        "note": "on the higher side only: V_ref/2 first, V_ref/4 next; top-plate parasitics shrink each alike"
      },
      {
        "what": "Array per side",
        "expr": "C_side = 2^(N−1)·C_u",
        "note": "half the conventional array, because the MSB is decided before anything switches"
      },
      {
        "what": "Common-mode fall",
        "expr": "ΔV_cm ≈ −(V_ref/2)·(1 − 2^(1−N))",
        "note": "each step moves one side, so the common mode falls half as far: 0.6 V to near ground by default"
      },
      {
        "what": "Nominal conversion interval",
        "expr": "t_conv = N·T_clk",
        "note": "one scheduled decision per clock after sampling: 60 ns at 6 bits and 100 MHz; calculated from timing, not a measured EOC delay"
      }
    ],
    "tradeoffs": [
      "Resolution: each extra bit halves the LSB, doubles both arrays, adds a clock cycle and ends the conversion with the common mode nearer ground.",
      "C_unit: a larger unit lowers kT/C noise and dilutes the top-plate parasitic, shrinking the gain error, but raises switching energy and settling time.",
      "Sampling switch nMOS width: wider gates track faster, but their channel charge lands on the sampled top plates and their capacitance shrinks every step alike.",
      "Clock: faster shortens the N-cycle conversion, but each half period must settle the switched plate and let the latch decide at a falling common mode."
    ]
  },
  "sizing": [
    {
      "key": "bits",
      "label": "Resolution",
      "unit": "bit",
      "value": 6,
      "min": 3,
      "max": 8,
      "kind": "int"
    },
    {
      "key": "Cu",
      "label": "C_unit",
      "unit": "F",
      "value": 2e-14,
      "min": 1e-14,
      "max": 1e-13,
      "kind": "si"
    },
    {
      "key": "vid",
      "label": "V_id = V_ip - V_in",
      "unit": "V",
      "value": 0.31,
      "min": -1.2,
      "max": 1.2,
      "kind": "si"
    },
    {
      "key": "vcm",
      "label": "Input common mode",
      "unit": "V",
      "value": 0.6,
      "min": 0.3,
      "max": 0.9,
      "kind": "si"
    },
    {
      "key": "vref",
      "label": "V_ref",
      "unit": "V",
      "value": 1.2,
      "min": 0.8,
      "max": 1.2,
      "kind": "si"
    },
    {
      "key": "fclk",
      "label": "Clock",
      "unit": "Hz",
      "value": 100000000,
      "min": 20000000,
      "max": 200000000,
      "kind": "si"
    },
    {
      "key": "Wsw",
      "label": "Sampling switch nMOS width",
      "unit": "m",
      "value": 0.000001,
      "min": 1.5e-7,
      "max": 0.00001,
      "kind": "si"
    }
  ],
  "testbenches": [
    {
      "id": "convert",
      "label": "Conversion",
      "note": "One conversion with every device simulated: about 10 s in the browser at 6 bits.",
      "measures": [
        "error",
        "tconv",
        "energy"
      ],
      "metricKeys": [
        "code",
        "error",
        "tconv",
        "energy_ref",
        "energy_supply",
        "first_step"
      ],
      "acceptance": [],
      "acceptanceRules": [],
      "cards": [
        "sg13g2_lv_tt.spice",
        "sg13g2_passive_tt.spice",
        "sg13g2_stdcell.spice"
      ],
      "netlist": "* 6-bit monotonic-switching SAR ADC, transistor level: one conversion of V_id = 310mV\n.include sg13g2_lv_tt.spice\n.include sg13g2_passive_tt.spice\n.include sg13g2_stdcell.spice\n.subckt msar_cmp inp inn clk ib dec vdd\n* -- preamplifier: a PMOS pair, working down to inputs at ground, loaded by\n* resistors to ground. With its inputs at 0.6 V, the first comparison, its\n* tail has little headroom - on a slow cold corner none - and its outputs\n* fall towards ground; as the top plates reach ground it has all 20 uA.\nXPbd ib ib vdd vdd sg13_lv_pmos w=8u l=1u ng=2 m=1\nXPbt ptail ib vdd vdd sg13_lv_pmos w=8u l=1u ng=2 m=1\nXP1 pn inp ptail vdd sg13_lv_pmos w=4u l=500n ng=1 m=1\nXP2 pp inn ptail vdd sg13_lv_pmos w=4u l=500n ng=1 m=1\n* 20 kOhm a side, two 10 kOhm p+ poly units in series, keep the outputs below\n* 0.4 V whatever the inputs do: 10 uA each at balance, 20 uA at most\nXR1 pn rn 0 rppd w=0.5u l=19.417u\nXR3 rn 0 0 rppd w=0.5u l=19.417u\nXR2 pp rp 0 rppd w=0.5u l=19.417u\nXR4 rp 0 0 rppd w=0.5u l=19.417u\n* -- StrongARM latch with a PMOS input pair - the SAR page's, turned over:\n* outputs held at ground while clk is high, deciding while it is low. inp\n* above inn starves P1, so pn falls below pp, M1 takes more current than M2,\n* and outp rises. Its inputs decide from any level between ground and 0.4 V,\n* where the loads keep the preamplifier's outputs; the SAR page's NMOS pair\n* needs 0.5 V or more, and left the first comparison undecided on slow corners.\nXIck clkd clk vdd 0 sg13g2_buf_2\nXMt ctail clkd vdd vdd sg13_lv_pmos w=8u l=130n ng=2 m=1\nXM1 dip pn ctail vdd sg13_lv_pmos w=16u l=260n ng=4 m=1\nXM2 din pp ctail vdd sg13_lv_pmos w=16u l=260n ng=4 m=1\nXM3 outp outn dip vdd sg13_lv_pmos w=8u l=130n ng=2 m=1\nXM4 outn outp din vdd sg13_lv_pmos w=8u l=130n ng=2 m=1\nXM5 outp outn 0 0 sg13_lv_nmos w=2u l=130n ng=1 m=1\nXM6 outn outp 0 0 sg13_lv_nmos w=2u l=130n ng=1 m=1\nXM7 outp clkd 0 0 sg13_lv_nmos w=1u l=130n ng=1 m=1\nXM8 outn clkd 0 0 sg13_lv_nmos w=1u l=130n ng=1 m=1\nXM9 dip clkd 0 0 sg13_lv_nmos w=1u l=130n ng=1 m=1\nXM10 din clkd 0 0 sg13_lv_nmos w=1u l=130n ng=1 m=1\n* -- the decision, held through the next precharge\nXIkp keep outp vdd 0 sg13g2_buf_1\nXIkn rej outn vdd 0 sg13g2_buf_1\nXLs dec rej decb vdd 0 sg13g2_nor2_1\nXLr decb keep dec vdd 0 sg13g2_nor2_1\n.ends msar_cmp\n\n.subckt msar_logic clk conv dec d5 d4 d3 d2 d1 d0 s5 s4 s3 s2 s1 s0 eoc vdd\n* the MSB's trial begins as sampling ends\nXTs s5 conv vdd 0 sg13g2_buf_1\nXT4 s4 clk s5 conv vdd 0 sg13g2_dfrbpq_1\nXT3 s3 clk s4 conv vdd 0 sg13g2_dfrbpq_1\nXT2 s2 clk s3 conv vdd 0 sg13g2_dfrbpq_1\nXT1 s1 clk s2 conv vdd 0 sg13g2_dfrbpq_1\nXT0 s0 clk s1 conv vdd 0 sg13g2_dfrbpq_1\nXTend eoc clk s0 conv vdd 0 sg13g2_dfrbpq_1\nXH5 t5 s4 s5 vdd 0 sg13g2_nor2b_1\nXK5 nd5 d5 dec t5 vdd 0 sg13g2_mux2_1\nXF5 d5 clk nd5 conv vdd 0 sg13g2_dfrbpq_1\nXH4 t4 s3 s4 vdd 0 sg13g2_nor2b_1\nXK4 nd4 d4 dec t4 vdd 0 sg13g2_mux2_1\nXF4 d4 clk nd4 conv vdd 0 sg13g2_dfrbpq_1\nXH3 t3 s2 s3 vdd 0 sg13g2_nor2b_1\nXK3 nd3 d3 dec t3 vdd 0 sg13g2_mux2_1\nXF3 d3 clk nd3 conv vdd 0 sg13g2_dfrbpq_1\nXH2 t2 s1 s2 vdd 0 sg13g2_nor2b_1\nXK2 nd2 d2 dec t2 vdd 0 sg13g2_mux2_1\nXF2 d2 clk nd2 conv vdd 0 sg13g2_dfrbpq_1\nXH1 t1 s0 s1 vdd 0 sg13g2_nor2b_1\nXK1 nd1 d1 dec t1 vdd 0 sg13g2_mux2_1\nXF1 d1 clk nd1 conv vdd 0 sg13g2_dfrbpq_1\nXH0 t0 eoc s0 vdd 0 sg13g2_nor2b_1\nXK0 nd0 d0 dec t0 vdd 0 sg13g2_mux2_1\nXF0 d0 clk nd0 conv vdd 0 sg13g2_dfrbpq_1\n.ends msar_logic\n\n.subckt msar_adc vip vin vref ib clk samp d5 d4 d3 d2 d1 d0 eoc vdd\n* -- sampling: the top plates follow the inputs while samp is high\nXIs sampn samp vdd 0 sg13g2_inv_2\nXSpn vip samp topp 0 sg13_lv_nmos w=1u l=130n ng=1 m=1\nXSpp vip sampn topp vdd sg13_lv_pmos w=2u l=130n ng=1 m=1\nXSnn vin samp topn 0 sg13_lv_nmos w=1u l=130n ng=1 m=1\nXSnp vin sampn topn vdd sg13_lv_pmos w=2u l=130n ng=1 m=1\n* -- the arrays, P and N. Each bottom plate sits on vref until its bit is\n* decided, then the P side's goes to ground on a 1, the N side's on a 0. The\n* drivers are supplied from vref, their drive in proportion to the capacitor.\nXCP0 topp bp0 cap_cmim w=3.599u l=3.599u\nXCN0 topn bn0 cap_cmim w=3.599u l=3.599u\nXLP0 cp0 d1 vdd 0 sg13g2_inv_1\nXLN0 cn0 d1 s0 vdd 0 sg13g2_nand2b_1\nXDP0 bp0 cp0 vref 0 sg13g2_buf_1\nXDN0 bn0 cn0 vref 0 sg13g2_buf_1\nXCP1 topp bp1 cap_cmim w=5.111u l=5.111u\nXCN1 topn bn1 cap_cmim w=5.111u l=5.111u\nXLP1 cp1 d2 vdd 0 sg13g2_inv_1\nXLN1 cn1 d2 s1 vdd 0 sg13g2_nand2b_1\nXDP1 bp1 cp1 vref 0 sg13g2_buf_1\nXDN1 bn1 cn1 vref 0 sg13g2_buf_1\nXCP2 topp bp2 cap_cmim w=7.25u l=7.25u\nXCN2 topn bn2 cap_cmim w=7.25u l=7.25u\nXLP2 cp2 d3 vdd 0 sg13g2_inv_1\nXLN2 cn2 d3 s2 vdd 0 sg13g2_nand2b_1\nXDP2 bp2 cp2 vref 0 sg13g2_buf_1\nXDN2 bn2 cn2 vref 0 sg13g2_buf_1\nXCP3 topp bp3 cap_cmim w=10.275u l=10.275u\nXCN3 topn bn3 cap_cmim w=10.275u l=10.275u\nXLP3 cp3 d4 vdd 0 sg13g2_inv_1\nXLN3 cn3 d4 s3 vdd 0 sg13g2_nand2b_1\nXDP3 bp3 cp3 vref 0 sg13g2_buf_2\nXDN3 bn3 cn3 vref 0 sg13g2_buf_2\nXCP4 topp bp4 cap_cmim w=14.553u l=14.553u\nXCN4 topn bn4 cap_cmim w=14.553u l=14.553u\nXLP4 cp4 d5 vdd 0 sg13g2_inv_1\nXLN4 cn4 d5 s4 vdd 0 sg13g2_nand2b_1\nXDP4a bp4x cp4 vref 0 sg13g2_inv_2\nXDP4b bp4 bp4x vref 0 sg13g2_inv_4\nXDN4a bn4x cn4 vref 0 sg13g2_inv_2\nXDN4b bn4 bn4x vref 0 sg13g2_inv_4\n* one more unit on each side, on ground: each array is 2^(N-1) units\nXCPt topp 0 cap_cmim w=3.599u l=3.599u\nXCNt topn 0 cap_cmim w=3.599u l=3.599u\n* -- the comparator decides whether topp > topn: a 1\nXcmp topp topn clk ib dec vdd msar_cmp\nXsar clk sampn dec d5 d4 d3 d2 d1 d0 s5 s4 s3 s2 s1 s0 eoc vdd msar_logic\n.ends msar_adc\n* the testbench: supply, reference, the two inputs, the preamplifier's bias, the clock\nVdd vdd 0 1.2\nVref vref 0 1.2\nVip vip 0 755m\nVin vin 0 445m\nIb ib 0 20u\nVs samp 0 pwl(0 1.2 3n 1.2 3.05n 0)\nVclk clk 0 pulse(1.2 0 10n 50p 50p 4.95n 10n)\nXadc vip vin vref ib clk samp d5 d4 d3 d2 d1 d0 eoc vdd msar_adc\n.save v(samp) v(clk) v(xadc.topp) v(xadc.topn) v(xadc.dec) v(d0) v(d1) v(d2) v(d3) v(d4) v(d5) v(eoc) v(vdd) i(vdd) i(vref)\n.tran 250p 70n\n* Measured by this deck, so a local ngspice run reports the same figures:\n.meas tran vtop_p FIND v(xadc.topp) AT=5n\n.meas tran vtop_n FIND v(xadc.topn) AT=5n\n.end"
    }
  ],
  "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": "5cfc8be214c5f43d461f51654eb94406102be9535ac7f7a113a0edbb16d11482"
  },
  "provenance": {
    "schema": "aisic.record-provenance/1",
    "parameterScope": "published-defaults",
    "generator": {
      "url": "/library/sar-monotonic.js",
      "sha256": "e068891330429f34e1bfd0923e7d42ff3fb60946c2743edd22fc46835c2f9e3d"
    },
    "simulationFingerprints": {
      "convert": "61da9478964c4a41968f923ea7eb8c295ad22d9c0059c8136407aacc4ab08225"
    },
    "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": "36960d3b00374a724861533b47882dfe4e83ad1e821d948176d420d571fc5ab0",
  "diagrams": {
    "schema": "aisic.diagrams/1",
    "circuit": "sar-monotonic",
    "parameters": {
      "bits": 6,
      "Cu": 2e-14,
      "vid": 0.31,
      "vcm": 0.6,
      "vref": 1.2,
      "fclk": 100000000,
      "Wsw": 0.000001
    },
    "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/sar-monotonic/",
    "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": [],
        "scopes": [
          {
            "id": "dut",
            "name": "msar_adc",
            "ports": [
              {
                "name": "vip",
                "net": "vip",
                "kind": "input"
              },
              {
                "name": "vin",
                "net": "vin",
                "kind": "input"
              },
              {
                "name": "vref",
                "net": "vref",
                "kind": "bias"
              },
              {
                "name": "ib",
                "net": "ib",
                "kind": "bias"
              },
              {
                "name": "clk",
                "net": "clk",
                "kind": "clock"
              },
              {
                "name": "samp",
                "net": "samp",
                "kind": "clock"
              },
              {
                "name": "d5",
                "net": "d5",
                "kind": "output"
              },
              {
                "name": "d4",
                "net": "d4",
                "kind": "output"
              },
              {
                "name": "d3",
                "net": "d3",
                "kind": "output"
              },
              {
                "name": "d2",
                "net": "d2",
                "kind": "output"
              },
              {
                "name": "d1",
                "net": "d1",
                "kind": "output"
              },
              {
                "name": "d0",
                "net": "d0",
                "kind": "output"
              },
              {
                "name": "eoc",
                "net": "eoc",
                "kind": "output"
              },
              {
                "name": "vdd",
                "net": "vdd",
                "kind": "supply"
              }
            ],
            "definitions": [],
            "devices": [
              {
                "id": "XIs",
                "displayName": "Is",
                "spiceType": "X",
                "model": "sg13g2_inv_2",
                "parametersOrValue": "",
                "source": "XIs sampn samp vdd 0 sg13g2_inv_2",
                "pins": [
                  {
                    "id": "Y",
                    "net": "sampn"
                  },
                  {
                    "id": "A",
                    "net": "samp"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XSpn",
                "displayName": "Spn",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=1u l=130n ng=1 m=1",
                "source": "XSpn vip samp topp 0 sg13_lv_nmos w=1u l=130n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "vip"
                  },
                  {
                    "id": "g",
                    "net": "samp"
                  },
                  {
                    "id": "s",
                    "net": "topp"
                  },
                  {
                    "id": "b",
                    "net": "0"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XSpp",
                "displayName": "Spp",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=2u l=130n ng=1 m=1",
                "source": "XSpp vip sampn topp vdd sg13_lv_pmos w=2u l=130n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "vip"
                  },
                  {
                    "id": "g",
                    "net": "sampn"
                  },
                  {
                    "id": "s",
                    "net": "topp"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XSnn",
                "displayName": "Snn",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=1u l=130n ng=1 m=1",
                "source": "XSnn vin samp topn 0 sg13_lv_nmos w=1u l=130n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "vin"
                  },
                  {
                    "id": "g",
                    "net": "samp"
                  },
                  {
                    "id": "s",
                    "net": "topn"
                  },
                  {
                    "id": "b",
                    "net": "0"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XSnp",
                "displayName": "Snp",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=2u l=130n ng=1 m=1",
                "source": "XSnp vin sampn topn vdd sg13_lv_pmos w=2u l=130n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "vin"
                  },
                  {
                    "id": "g",
                    "net": "sampn"
                  },
                  {
                    "id": "s",
                    "net": "topn"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XCP0",
                "displayName": "CP0",
                "spiceType": "X",
                "model": "cap_cmim",
                "parametersOrValue": "w=3.599u l=3.599u",
                "source": "XCP0 topp bp0 cap_cmim w=3.599u l=3.599u",
                "pins": [
                  {
                    "id": "p",
                    "net": "topp"
                  },
                  {
                    "id": "n",
                    "net": "bp0"
                  }
                ],
                "pinMeaning": "IHP MIM model terminal order"
              },
              {
                "id": "XCN0",
                "displayName": "CN0",
                "spiceType": "X",
                "model": "cap_cmim",
                "parametersOrValue": "w=3.599u l=3.599u",
                "source": "XCN0 topn bn0 cap_cmim w=3.599u l=3.599u",
                "pins": [
                  {
                    "id": "p",
                    "net": "topn"
                  },
                  {
                    "id": "n",
                    "net": "bn0"
                  }
                ],
                "pinMeaning": "IHP MIM model terminal order"
              },
              {
                "id": "XLP0",
                "displayName": "LP0",
                "spiceType": "X",
                "model": "sg13g2_inv_1",
                "parametersOrValue": "",
                "source": "XLP0 cp0 d1 vdd 0 sg13g2_inv_1",
                "pins": [
                  {
                    "id": "Y",
                    "net": "cp0"
                  },
                  {
                    "id": "A",
                    "net": "d1"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XLN0",
                "displayName": "LN0",
                "spiceType": "X",
                "model": "sg13g2_nand2b_1",
                "parametersOrValue": "",
                "source": "XLN0 cn0 d1 s0 vdd 0 sg13g2_nand2b_1",
                "pins": [
                  {
                    "id": "Y",
                    "net": "cn0"
                  },
                  {
                    "id": "A_N",
                    "net": "d1"
                  },
                  {
                    "id": "B",
                    "net": "s0"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XDP0",
                "displayName": "DP0",
                "spiceType": "X",
                "model": "sg13g2_buf_1",
                "parametersOrValue": "",
                "source": "XDP0 bp0 cp0 vref 0 sg13g2_buf_1",
                "pins": [
                  {
                    "id": "X",
                    "net": "bp0"
                  },
                  {
                    "id": "A",
                    "net": "cp0"
                  },
                  {
                    "id": "VDD",
                    "net": "vref"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XDN0",
                "displayName": "DN0",
                "spiceType": "X",
                "model": "sg13g2_buf_1",
                "parametersOrValue": "",
                "source": "XDN0 bn0 cn0 vref 0 sg13g2_buf_1",
                "pins": [
                  {
                    "id": "X",
                    "net": "bn0"
                  },
                  {
                    "id": "A",
                    "net": "cn0"
                  },
                  {
                    "id": "VDD",
                    "net": "vref"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XCP1",
                "displayName": "CP1",
                "spiceType": "X",
                "model": "cap_cmim",
                "parametersOrValue": "w=5.111u l=5.111u",
                "source": "XCP1 topp bp1 cap_cmim w=5.111u l=5.111u",
                "pins": [
                  {
                    "id": "p",
                    "net": "topp"
                  },
                  {
                    "id": "n",
                    "net": "bp1"
                  }
                ],
                "pinMeaning": "IHP MIM model terminal order"
              },
              {
                "id": "XCN1",
                "displayName": "CN1",
                "spiceType": "X",
                "model": "cap_cmim",
                "parametersOrValue": "w=5.111u l=5.111u",
                "source": "XCN1 topn bn1 cap_cmim w=5.111u l=5.111u",
                "pins": [
                  {
                    "id": "p",
                    "net": "topn"
                  },
                  {
                    "id": "n",
                    "net": "bn1"
                  }
                ],
                "pinMeaning": "IHP MIM model terminal order"
              },
              {
                "id": "XLP1",
                "displayName": "LP1",
                "spiceType": "X",
                "model": "sg13g2_inv_1",
                "parametersOrValue": "",
                "source": "XLP1 cp1 d2 vdd 0 sg13g2_inv_1",
                "pins": [
                  {
                    "id": "Y",
                    "net": "cp1"
                  },
                  {
                    "id": "A",
                    "net": "d2"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XLN1",
                "displayName": "LN1",
                "spiceType": "X",
                "model": "sg13g2_nand2b_1",
                "parametersOrValue": "",
                "source": "XLN1 cn1 d2 s1 vdd 0 sg13g2_nand2b_1",
                "pins": [
                  {
                    "id": "Y",
                    "net": "cn1"
                  },
                  {
                    "id": "A_N",
                    "net": "d2"
                  },
                  {
                    "id": "B",
                    "net": "s1"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XDP1",
                "displayName": "DP1",
                "spiceType": "X",
                "model": "sg13g2_buf_1",
                "parametersOrValue": "",
                "source": "XDP1 bp1 cp1 vref 0 sg13g2_buf_1",
                "pins": [
                  {
                    "id": "X",
                    "net": "bp1"
                  },
                  {
                    "id": "A",
                    "net": "cp1"
                  },
                  {
                    "id": "VDD",
                    "net": "vref"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XDN1",
                "displayName": "DN1",
                "spiceType": "X",
                "model": "sg13g2_buf_1",
                "parametersOrValue": "",
                "source": "XDN1 bn1 cn1 vref 0 sg13g2_buf_1",
                "pins": [
                  {
                    "id": "X",
                    "net": "bn1"
                  },
                  {
                    "id": "A",
                    "net": "cn1"
                  },
                  {
                    "id": "VDD",
                    "net": "vref"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XCP2",
                "displayName": "CP2",
                "spiceType": "X",
                "model": "cap_cmim",
                "parametersOrValue": "w=7.25u l=7.25u",
                "source": "XCP2 topp bp2 cap_cmim w=7.25u l=7.25u",
                "pins": [
                  {
                    "id": "p",
                    "net": "topp"
                  },
                  {
                    "id": "n",
                    "net": "bp2"
                  }
                ],
                "pinMeaning": "IHP MIM model terminal order"
              },
              {
                "id": "XCN2",
                "displayName": "CN2",
                "spiceType": "X",
                "model": "cap_cmim",
                "parametersOrValue": "w=7.25u l=7.25u",
                "source": "XCN2 topn bn2 cap_cmim w=7.25u l=7.25u",
                "pins": [
                  {
                    "id": "p",
                    "net": "topn"
                  },
                  {
                    "id": "n",
                    "net": "bn2"
                  }
                ],
                "pinMeaning": "IHP MIM model terminal order"
              },
              {
                "id": "XLP2",
                "displayName": "LP2",
                "spiceType": "X",
                "model": "sg13g2_inv_1",
                "parametersOrValue": "",
                "source": "XLP2 cp2 d3 vdd 0 sg13g2_inv_1",
                "pins": [
                  {
                    "id": "Y",
                    "net": "cp2"
                  },
                  {
                    "id": "A",
                    "net": "d3"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XLN2",
                "displayName": "LN2",
                "spiceType": "X",
                "model": "sg13g2_nand2b_1",
                "parametersOrValue": "",
                "source": "XLN2 cn2 d3 s2 vdd 0 sg13g2_nand2b_1",
                "pins": [
                  {
                    "id": "Y",
                    "net": "cn2"
                  },
                  {
                    "id": "A_N",
                    "net": "d3"
                  },
                  {
                    "id": "B",
                    "net": "s2"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XDP2",
                "displayName": "DP2",
                "spiceType": "X",
                "model": "sg13g2_buf_1",
                "parametersOrValue": "",
                "source": "XDP2 bp2 cp2 vref 0 sg13g2_buf_1",
                "pins": [
                  {
                    "id": "X",
                    "net": "bp2"
                  },
                  {
                    "id": "A",
                    "net": "cp2"
                  },
                  {
                    "id": "VDD",
                    "net": "vref"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XDN2",
                "displayName": "DN2",
                "spiceType": "X",
                "model": "sg13g2_buf_1",
                "parametersOrValue": "",
                "source": "XDN2 bn2 cn2 vref 0 sg13g2_buf_1",
                "pins": [
                  {
                    "id": "X",
                    "net": "bn2"
                  },
                  {
                    "id": "A",
                    "net": "cn2"
                  },
                  {
                    "id": "VDD",
                    "net": "vref"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XCP3",
                "displayName": "CP3",
                "spiceType": "X",
                "model": "cap_cmim",
                "parametersOrValue": "w=10.275u l=10.275u",
                "source": "XCP3 topp bp3 cap_cmim w=10.275u l=10.275u",
                "pins": [
                  {
                    "id": "p",
                    "net": "topp"
                  },
                  {
                    "id": "n",
                    "net": "bp3"
                  }
                ],
                "pinMeaning": "IHP MIM model terminal order"
              },
              {
                "id": "XCN3",
                "displayName": "CN3",
                "spiceType": "X",
                "model": "cap_cmim",
                "parametersOrValue": "w=10.275u l=10.275u",
                "source": "XCN3 topn bn3 cap_cmim w=10.275u l=10.275u",
                "pins": [
                  {
                    "id": "p",
                    "net": "topn"
                  },
                  {
                    "id": "n",
                    "net": "bn3"
                  }
                ],
                "pinMeaning": "IHP MIM model terminal order"
              },
              {
                "id": "XLP3",
                "displayName": "LP3",
                "spiceType": "X",
                "model": "sg13g2_inv_1",
                "parametersOrValue": "",
                "source": "XLP3 cp3 d4 vdd 0 sg13g2_inv_1",
                "pins": [
                  {
                    "id": "Y",
                    "net": "cp3"
                  },
                  {
                    "id": "A",
                    "net": "d4"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XLN3",
                "displayName": "LN3",
                "spiceType": "X",
                "model": "sg13g2_nand2b_1",
                "parametersOrValue": "",
                "source": "XLN3 cn3 d4 s3 vdd 0 sg13g2_nand2b_1",
                "pins": [
                  {
                    "id": "Y",
                    "net": "cn3"
                  },
                  {
                    "id": "A_N",
                    "net": "d4"
                  },
                  {
                    "id": "B",
                    "net": "s3"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XDP3",
                "displayName": "DP3",
                "spiceType": "X",
                "model": "sg13g2_buf_2",
                "parametersOrValue": "",
                "source": "XDP3 bp3 cp3 vref 0 sg13g2_buf_2",
                "pins": [
                  {
                    "id": "X",
                    "net": "bp3"
                  },
                  {
                    "id": "A",
                    "net": "cp3"
                  },
                  {
                    "id": "VDD",
                    "net": "vref"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XDN3",
                "displayName": "DN3",
                "spiceType": "X",
                "model": "sg13g2_buf_2",
                "parametersOrValue": "",
                "source": "XDN3 bn3 cn3 vref 0 sg13g2_buf_2",
                "pins": [
                  {
                    "id": "X",
                    "net": "bn3"
                  },
                  {
                    "id": "A",
                    "net": "cn3"
                  },
                  {
                    "id": "VDD",
                    "net": "vref"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XCP4",
                "displayName": "CP4",
                "spiceType": "X",
                "model": "cap_cmim",
                "parametersOrValue": "w=14.553u l=14.553u",
                "source": "XCP4 topp bp4 cap_cmim w=14.553u l=14.553u",
                "pins": [
                  {
                    "id": "p",
                    "net": "topp"
                  },
                  {
                    "id": "n",
                    "net": "bp4"
                  }
                ],
                "pinMeaning": "IHP MIM model terminal order"
              },
              {
                "id": "XCN4",
                "displayName": "CN4",
                "spiceType": "X",
                "model": "cap_cmim",
                "parametersOrValue": "w=14.553u l=14.553u",
                "source": "XCN4 topn bn4 cap_cmim w=14.553u l=14.553u",
                "pins": [
                  {
                    "id": "p",
                    "net": "topn"
                  },
                  {
                    "id": "n",
                    "net": "bn4"
                  }
                ],
                "pinMeaning": "IHP MIM model terminal order"
              },
              {
                "id": "XLP4",
                "displayName": "LP4",
                "spiceType": "X",
                "model": "sg13g2_inv_1",
                "parametersOrValue": "",
                "source": "XLP4 cp4 d5 vdd 0 sg13g2_inv_1",
                "pins": [
                  {
                    "id": "Y",
                    "net": "cp4"
                  },
                  {
                    "id": "A",
                    "net": "d5"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XLN4",
                "displayName": "LN4",
                "spiceType": "X",
                "model": "sg13g2_nand2b_1",
                "parametersOrValue": "",
                "source": "XLN4 cn4 d5 s4 vdd 0 sg13g2_nand2b_1",
                "pins": [
                  {
                    "id": "Y",
                    "net": "cn4"
                  },
                  {
                    "id": "A_N",
                    "net": "d5"
                  },
                  {
                    "id": "B",
                    "net": "s4"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XDP4a",
                "displayName": "DP4a",
                "spiceType": "X",
                "model": "sg13g2_inv_2",
                "parametersOrValue": "",
                "source": "XDP4a bp4x cp4 vref 0 sg13g2_inv_2",
                "pins": [
                  {
                    "id": "Y",
                    "net": "bp4x"
                  },
                  {
                    "id": "A",
                    "net": "cp4"
                  },
                  {
                    "id": "VDD",
                    "net": "vref"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XDP4b",
                "displayName": "DP4b",
                "spiceType": "X",
                "model": "sg13g2_inv_4",
                "parametersOrValue": "",
                "source": "XDP4b bp4 bp4x vref 0 sg13g2_inv_4",
                "pins": [
                  {
                    "id": "Y",
                    "net": "bp4"
                  },
                  {
                    "id": "A",
                    "net": "bp4x"
                  },
                  {
                    "id": "VDD",
                    "net": "vref"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XDN4a",
                "displayName": "DN4a",
                "spiceType": "X",
                "model": "sg13g2_inv_2",
                "parametersOrValue": "",
                "source": "XDN4a bn4x cn4 vref 0 sg13g2_inv_2",
                "pins": [
                  {
                    "id": "Y",
                    "net": "bn4x"
                  },
                  {
                    "id": "A",
                    "net": "cn4"
                  },
                  {
                    "id": "VDD",
                    "net": "vref"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XDN4b",
                "displayName": "DN4b",
                "spiceType": "X",
                "model": "sg13g2_inv_4",
                "parametersOrValue": "",
                "source": "XDN4b bn4 bn4x vref 0 sg13g2_inv_4",
                "pins": [
                  {
                    "id": "Y",
                    "net": "bn4"
                  },
                  {
                    "id": "A",
                    "net": "bn4x"
                  },
                  {
                    "id": "VDD",
                    "net": "vref"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XCPt",
                "displayName": "CPt",
                "spiceType": "X",
                "model": "cap_cmim",
                "parametersOrValue": "w=3.599u l=3.599u",
                "source": "XCPt topp 0 cap_cmim w=3.599u l=3.599u",
                "pins": [
                  {
                    "id": "p",
                    "net": "topp"
                  },
                  {
                    "id": "n",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP MIM model terminal order"
              },
              {
                "id": "XCNt",
                "displayName": "CNt",
                "spiceType": "X",
                "model": "cap_cmim",
                "parametersOrValue": "w=3.599u l=3.599u",
                "source": "XCNt topn 0 cap_cmim w=3.599u l=3.599u",
                "pins": [
                  {
                    "id": "p",
                    "net": "topn"
                  },
                  {
                    "id": "n",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP MIM model terminal order"
              },
              {
                "id": "Xcmp",
                "displayName": "Xcmp",
                "spiceType": "X",
                "model": "msar_cmp",
                "parametersOrValue": "",
                "source": "Xcmp topp topn clk ib dec vdd msar_cmp",
                "pins": [
                  {
                    "id": "inp",
                    "net": "topp"
                  },
                  {
                    "id": "inn",
                    "net": "topn"
                  },
                  {
                    "id": "clk",
                    "net": "clk"
                  },
                  {
                    "id": "ib",
                    "net": "ib"
                  },
                  {
                    "id": "dec",
                    "net": "dec"
                  },
                  {
                    "id": "vdd",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "Declared .subckt port order",
                "subcircuit": "subckt/msar_cmp"
              },
              {
                "id": "Xsar",
                "displayName": "Xsar",
                "spiceType": "X",
                "model": "msar_logic",
                "parametersOrValue": "",
                "source": "Xsar clk sampn dec d5 d4 d3 d2 d1 d0 s5 s4 s3 s2 s1 s0 eoc vdd msar_logic",
                "pins": [
                  {
                    "id": "clk",
                    "net": "clk"
                  },
                  {
                    "id": "conv",
                    "net": "sampn"
                  },
                  {
                    "id": "dec",
                    "net": "dec"
                  },
                  {
                    "id": "d5",
                    "net": "d5"
                  },
                  {
                    "id": "d4",
                    "net": "d4"
                  },
                  {
                    "id": "d3",
                    "net": "d3"
                  },
                  {
                    "id": "d2",
                    "net": "d2"
                  },
                  {
                    "id": "d1",
                    "net": "d1"
                  },
                  {
                    "id": "d0",
                    "net": "d0"
                  },
                  {
                    "id": "s5",
                    "net": "s5"
                  },
                  {
                    "id": "s4",
                    "net": "s4"
                  },
                  {
                    "id": "s3",
                    "net": "s3"
                  },
                  {
                    "id": "s2",
                    "net": "s2"
                  },
                  {
                    "id": "s1",
                    "net": "s1"
                  },
                  {
                    "id": "s0",
                    "net": "s0"
                  },
                  {
                    "id": "eoc",
                    "net": "eoc"
                  },
                  {
                    "id": "vdd",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "Declared .subckt port order",
                "subcircuit": "subckt/msar_logic"
              }
            ],
            "nets": [
              {
                "id": "sampn",
                "ground": false,
                "terminals": [
                  {
                    "device": "XIs",
                    "pin": "Y"
                  },
                  {
                    "device": "XSpp",
                    "pin": "g"
                  },
                  {
                    "device": "XSnp",
                    "pin": "g"
                  },
                  {
                    "device": "Xsar",
                    "pin": "conv"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "samp",
                "ground": false,
                "terminals": [
                  {
                    "device": "XIs",
                    "pin": "A"
                  },
                  {
                    "device": "XSpn",
                    "pin": "g"
                  },
                  {
                    "device": "XSnn",
                    "pin": "g"
                  }
                ],
                "ports": [
                  "samp"
                ],
                "voltageReferences": []
              },
              {
                "id": "vdd",
                "ground": false,
                "terminals": [
                  {
                    "device": "XIs",
                    "pin": "VDD"
                  },
                  {
                    "device": "XSpp",
                    "pin": "b"
                  },
                  {
                    "device": "XSnp",
                    "pin": "b"
                  },
                  {
                    "device": "XLP0",
                    "pin": "VDD"
                  },
                  {
                    "device": "XLN0",
                    "pin": "VDD"
                  },
                  {
                    "device": "XLP1",
                    "pin": "VDD"
                  },
                  {
                    "device": "XLN1",
                    "pin": "VDD"
                  },
                  {
                    "device": "XLP2",
                    "pin": "VDD"
                  },
                  {
                    "device": "XLN2",
                    "pin": "VDD"
                  },
                  {
                    "device": "XLP3",
                    "pin": "VDD"
                  },
                  {
                    "device": "XLN3",
                    "pin": "VDD"
                  },
                  {
                    "device": "XLP4",
                    "pin": "VDD"
                  },
                  {
                    "device": "XLN4",
                    "pin": "VDD"
                  },
                  {
                    "device": "Xcmp",
                    "pin": "vdd"
                  },
                  {
                    "device": "Xsar",
                    "pin": "vdd"
                  }
                ],
                "ports": [
                  "vdd"
                ],
                "voltageReferences": []
              },
              {
                "id": "0",
                "ground": true,
                "terminals": [
                  {
                    "device": "XIs",
                    "pin": "VSS"
                  },
                  {
                    "device": "XSpn",
                    "pin": "b"
                  },
                  {
                    "device": "XSnn",
                    "pin": "b"
                  },
                  {
                    "device": "XLP0",
                    "pin": "VSS"
                  },
                  {
                    "device": "XLN0",
                    "pin": "VSS"
                  },
                  {
                    "device": "XDP0",
                    "pin": "VSS"
                  },
                  {
                    "device": "XDN0",
                    "pin": "VSS"
                  },
                  {
                    "device": "XLP1",
                    "pin": "VSS"
                  },
                  {
                    "device": "XLN1",
                    "pin": "VSS"
                  },
                  {
                    "device": "XDP1",
                    "pin": "VSS"
                  },
                  {
                    "device": "XDN1",
                    "pin": "VSS"
                  },
                  {
                    "device": "XLP2",
                    "pin": "VSS"
                  },
                  {
                    "device": "XLN2",
                    "pin": "VSS"
                  },
                  {
                    "device": "XDP2",
                    "pin": "VSS"
                  },
                  {
                    "device": "XDN2",
                    "pin": "VSS"
                  },
                  {
                    "device": "XLP3",
                    "pin": "VSS"
                  },
                  {
                    "device": "XLN3",
                    "pin": "VSS"
                  },
                  {
                    "device": "XDP3",
                    "pin": "VSS"
                  },
                  {
                    "device": "XDN3",
                    "pin": "VSS"
                  },
                  {
                    "device": "XLP4",
                    "pin": "VSS"
                  },
                  {
                    "device": "XLN4",
                    "pin": "VSS"
                  },
                  {
                    "device": "XDP4a",
                    "pin": "VSS"
                  },
                  {
                    "device": "XDP4b",
                    "pin": "VSS"
                  },
                  {
                    "device": "XDN4a",
                    "pin": "VSS"
                  },
                  {
                    "device": "XDN4b",
                    "pin": "VSS"
                  },
                  {
                    "device": "XCPt",
                    "pin": "n"
                  },
                  {
                    "device": "XCNt",
                    "pin": "n"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "vip",
                "ground": false,
                "terminals": [
                  {
                    "device": "XSpn",
                    "pin": "d"
                  },
                  {
                    "device": "XSpp",
                    "pin": "d"
                  }
                ],
                "ports": [
                  "vip"
                ],
                "voltageReferences": []
              },
              {
                "id": "topp",
                "ground": false,
                "terminals": [
                  {
                    "device": "XSpn",
                    "pin": "s"
                  },
                  {
                    "device": "XSpp",
                    "pin": "s"
                  },
                  {
                    "device": "XCP0",
                    "pin": "p"
                  },
                  {
                    "device": "XCP1",
                    "pin": "p"
                  },
                  {
                    "device": "XCP2",
                    "pin": "p"
                  },
                  {
                    "device": "XCP3",
                    "pin": "p"
                  },
                  {
                    "device": "XCP4",
                    "pin": "p"
                  },
                  {
                    "device": "XCPt",
                    "pin": "p"
                  },
                  {
                    "device": "Xcmp",
                    "pin": "inp"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "vin",
                "ground": false,
                "terminals": [
                  {
                    "device": "XSnn",
                    "pin": "d"
                  },
                  {
                    "device": "XSnp",
                    "pin": "d"
                  }
                ],
                "ports": [
                  "vin"
                ],
                "voltageReferences": []
              },
              {
                "id": "topn",
                "ground": false,
                "terminals": [
                  {
                    "device": "XSnn",
                    "pin": "s"
                  },
                  {
                    "device": "XSnp",
                    "pin": "s"
                  },
                  {
                    "device": "XCN0",
                    "pin": "p"
                  },
                  {
                    "device": "XCN1",
                    "pin": "p"
                  },
                  {
                    "device": "XCN2",
                    "pin": "p"
                  },
                  {
                    "device": "XCN3",
                    "pin": "p"
                  },
                  {
                    "device": "XCN4",
                    "pin": "p"
                  },
                  {
                    "device": "XCNt",
                    "pin": "p"
                  },
                  {
                    "device": "Xcmp",
                    "pin": "inn"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "bp0",
                "ground": false,
                "terminals": [
                  {
                    "device": "XCP0",
                    "pin": "n"
                  },
                  {
                    "device": "XDP0",
                    "pin": "X"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "bn0",
                "ground": false,
                "terminals": [
                  {
                    "device": "XCN0",
                    "pin": "n"
                  },
                  {
                    "device": "XDN0",
                    "pin": "X"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "cp0",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLP0",
                    "pin": "Y"
                  },
                  {
                    "device": "XDP0",
                    "pin": "A"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "d1",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLP0",
                    "pin": "A"
                  },
                  {
                    "device": "XLN0",
                    "pin": "A_N"
                  },
                  {
                    "device": "Xsar",
                    "pin": "d1"
                  }
                ],
                "ports": [
                  "d1"
                ],
                "voltageReferences": []
              },
              {
                "id": "cn0",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLN0",
                    "pin": "Y"
                  },
                  {
                    "device": "XDN0",
                    "pin": "A"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "s0",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLN0",
                    "pin": "B"
                  },
                  {
                    "device": "Xsar",
                    "pin": "s0"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "vref",
                "ground": false,
                "terminals": [
                  {
                    "device": "XDP0",
                    "pin": "VDD"
                  },
                  {
                    "device": "XDN0",
                    "pin": "VDD"
                  },
                  {
                    "device": "XDP1",
                    "pin": "VDD"
                  },
                  {
                    "device": "XDN1",
                    "pin": "VDD"
                  },
                  {
                    "device": "XDP2",
                    "pin": "VDD"
                  },
                  {
                    "device": "XDN2",
                    "pin": "VDD"
                  },
                  {
                    "device": "XDP3",
                    "pin": "VDD"
                  },
                  {
                    "device": "XDN3",
                    "pin": "VDD"
                  },
                  {
                    "device": "XDP4a",
                    "pin": "VDD"
                  },
                  {
                    "device": "XDP4b",
                    "pin": "VDD"
                  },
                  {
                    "device": "XDN4a",
                    "pin": "VDD"
                  },
                  {
                    "device": "XDN4b",
                    "pin": "VDD"
                  }
                ],
                "ports": [
                  "vref"
                ],
                "voltageReferences": []
              },
              {
                "id": "bp1",
                "ground": false,
                "terminals": [
                  {
                    "device": "XCP1",
                    "pin": "n"
                  },
                  {
                    "device": "XDP1",
                    "pin": "X"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "bn1",
                "ground": false,
                "terminals": [
                  {
                    "device": "XCN1",
                    "pin": "n"
                  },
                  {
                    "device": "XDN1",
                    "pin": "X"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "cp1",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLP1",
                    "pin": "Y"
                  },
                  {
                    "device": "XDP1",
                    "pin": "A"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "d2",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLP1",
                    "pin": "A"
                  },
                  {
                    "device": "XLN1",
                    "pin": "A_N"
                  },
                  {
                    "device": "Xsar",
                    "pin": "d2"
                  }
                ],
                "ports": [
                  "d2"
                ],
                "voltageReferences": []
              },
              {
                "id": "cn1",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLN1",
                    "pin": "Y"
                  },
                  {
                    "device": "XDN1",
                    "pin": "A"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "s1",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLN1",
                    "pin": "B"
                  },
                  {
                    "device": "Xsar",
                    "pin": "s1"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "bp2",
                "ground": false,
                "terminals": [
                  {
                    "device": "XCP2",
                    "pin": "n"
                  },
                  {
                    "device": "XDP2",
                    "pin": "X"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "bn2",
                "ground": false,
                "terminals": [
                  {
                    "device": "XCN2",
                    "pin": "n"
                  },
                  {
                    "device": "XDN2",
                    "pin": "X"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "cp2",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLP2",
                    "pin": "Y"
                  },
                  {
                    "device": "XDP2",
                    "pin": "A"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "d3",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLP2",
                    "pin": "A"
                  },
                  {
                    "device": "XLN2",
                    "pin": "A_N"
                  },
                  {
                    "device": "Xsar",
                    "pin": "d3"
                  }
                ],
                "ports": [
                  "d3"
                ],
                "voltageReferences": []
              },
              {
                "id": "cn2",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLN2",
                    "pin": "Y"
                  },
                  {
                    "device": "XDN2",
                    "pin": "A"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "s2",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLN2",
                    "pin": "B"
                  },
                  {
                    "device": "Xsar",
                    "pin": "s2"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "bp3",
                "ground": false,
                "terminals": [
                  {
                    "device": "XCP3",
                    "pin": "n"
                  },
                  {
                    "device": "XDP3",
                    "pin": "X"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "bn3",
                "ground": false,
                "terminals": [
                  {
                    "device": "XCN3",
                    "pin": "n"
                  },
                  {
                    "device": "XDN3",
                    "pin": "X"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "cp3",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLP3",
                    "pin": "Y"
                  },
                  {
                    "device": "XDP3",
                    "pin": "A"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "d4",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLP3",
                    "pin": "A"
                  },
                  {
                    "device": "XLN3",
                    "pin": "A_N"
                  },
                  {
                    "device": "Xsar",
                    "pin": "d4"
                  }
                ],
                "ports": [
                  "d4"
                ],
                "voltageReferences": []
              },
              {
                "id": "cn3",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLN3",
                    "pin": "Y"
                  },
                  {
                    "device": "XDN3",
                    "pin": "A"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "s3",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLN3",
                    "pin": "B"
                  },
                  {
                    "device": "Xsar",
                    "pin": "s3"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "bp4",
                "ground": false,
                "terminals": [
                  {
                    "device": "XCP4",
                    "pin": "n"
                  },
                  {
                    "device": "XDP4b",
                    "pin": "Y"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "bn4",
                "ground": false,
                "terminals": [
                  {
                    "device": "XCN4",
                    "pin": "n"
                  },
                  {
                    "device": "XDN4b",
                    "pin": "Y"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "cp4",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLP4",
                    "pin": "Y"
                  },
                  {
                    "device": "XDP4a",
                    "pin": "A"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "d5",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLP4",
                    "pin": "A"
                  },
                  {
                    "device": "XLN4",
                    "pin": "A_N"
                  },
                  {
                    "device": "Xsar",
                    "pin": "d5"
                  }
                ],
                "ports": [
                  "d5"
                ],
                "voltageReferences": []
              },
              {
                "id": "cn4",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLN4",
                    "pin": "Y"
                  },
                  {
                    "device": "XDN4a",
                    "pin": "A"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "s4",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLN4",
                    "pin": "B"
                  },
                  {
                    "device": "Xsar",
                    "pin": "s4"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "bp4x",
                "ground": false,
                "terminals": [
                  {
                    "device": "XDP4a",
                    "pin": "Y"
                  },
                  {
                    "device": "XDP4b",
                    "pin": "A"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "bn4x",
                "ground": false,
                "terminals": [
                  {
                    "device": "XDN4a",
                    "pin": "Y"
                  },
                  {
                    "device": "XDN4b",
                    "pin": "A"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "clk",
                "ground": false,
                "terminals": [
                  {
                    "device": "Xcmp",
                    "pin": "clk"
                  },
                  {
                    "device": "Xsar",
                    "pin": "clk"
                  }
                ],
                "ports": [
                  "clk"
                ],
                "voltageReferences": []
              },
              {
                "id": "ib",
                "ground": false,
                "terminals": [
                  {
                    "device": "Xcmp",
                    "pin": "ib"
                  }
                ],
                "ports": [
                  "ib"
                ],
                "voltageReferences": []
              },
              {
                "id": "dec",
                "ground": false,
                "terminals": [
                  {
                    "device": "Xcmp",
                    "pin": "dec"
                  },
                  {
                    "device": "Xsar",
                    "pin": "dec"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "d0",
                "ground": false,
                "terminals": [
                  {
                    "device": "Xsar",
                    "pin": "d0"
                  }
                ],
                "ports": [
                  "d0"
                ],
                "voltageReferences": []
              },
              {
                "id": "s5",
                "ground": false,
                "terminals": [
                  {
                    "device": "Xsar",
                    "pin": "s5"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "eoc",
                "ground": false,
                "terminals": [
                  {
                    "device": "Xsar",
                    "pin": "eoc"
                  }
                ],
                "ports": [
                  "eoc"
                ],
                "voltageReferences": []
              }
            ]
          },
          {
            "id": "subckt/msar_cmp",
            "name": "msar_cmp",
            "ports": [
              {
                "name": "inp",
                "net": "inp"
              },
              {
                "name": "inn",
                "net": "inn"
              },
              {
                "name": "clk",
                "net": "clk"
              },
              {
                "name": "ib",
                "net": "ib"
              },
              {
                "name": "dec",
                "net": "dec"
              },
              {
                "name": "vdd",
                "net": "vdd"
              }
            ],
            "definitions": [],
            "devices": [
              {
                "id": "XPbd",
                "displayName": "Pbd",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=8u l=1u ng=2 m=1",
                "source": "XPbd ib ib vdd vdd sg13_lv_pmos w=8u l=1u ng=2 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "ib"
                  },
                  {
                    "id": "g",
                    "net": "ib"
                  },
                  {
                    "id": "s",
                    "net": "vdd"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XPbt",
                "displayName": "Pbt",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=8u l=1u ng=2 m=1",
                "source": "XPbt ptail ib vdd vdd sg13_lv_pmos w=8u l=1u ng=2 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "ptail"
                  },
                  {
                    "id": "g",
                    "net": "ib"
                  },
                  {
                    "id": "s",
                    "net": "vdd"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XP1",
                "displayName": "P1",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=4u l=500n ng=1 m=1",
                "source": "XP1 pn inp ptail vdd sg13_lv_pmos w=4u l=500n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "pn"
                  },
                  {
                    "id": "g",
                    "net": "inp"
                  },
                  {
                    "id": "s",
                    "net": "ptail"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XP2",
                "displayName": "P2",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=4u l=500n ng=1 m=1",
                "source": "XP2 pp inn ptail vdd sg13_lv_pmos w=4u l=500n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "pp"
                  },
                  {
                    "id": "g",
                    "net": "inn"
                  },
                  {
                    "id": "s",
                    "net": "ptail"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XR1",
                "displayName": "R1",
                "spiceType": "X",
                "model": "rppd",
                "parametersOrValue": "w=0.5u l=19.417u",
                "source": "XR1 pn rn 0 rppd w=0.5u l=19.417u",
                "pins": [
                  {
                    "id": "p",
                    "net": "pn"
                  },
                  {
                    "id": "n",
                    "net": "rn"
                  },
                  {
                    "id": "substrate",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP resistor model terminal order"
              },
              {
                "id": "XR3",
                "displayName": "R3",
                "spiceType": "X",
                "model": "rppd",
                "parametersOrValue": "w=0.5u l=19.417u",
                "source": "XR3 rn 0 0 rppd w=0.5u l=19.417u",
                "pins": [
                  {
                    "id": "p",
                    "net": "rn"
                  },
                  {
                    "id": "n",
                    "net": "0"
                  },
                  {
                    "id": "substrate",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP resistor model terminal order"
              },
              {
                "id": "XR2",
                "displayName": "R2",
                "spiceType": "X",
                "model": "rppd",
                "parametersOrValue": "w=0.5u l=19.417u",
                "source": "XR2 pp rp 0 rppd w=0.5u l=19.417u",
                "pins": [
                  {
                    "id": "p",
                    "net": "pp"
                  },
                  {
                    "id": "n",
                    "net": "rp"
                  },
                  {
                    "id": "substrate",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP resistor model terminal order"
              },
              {
                "id": "XR4",
                "displayName": "R4",
                "spiceType": "X",
                "model": "rppd",
                "parametersOrValue": "w=0.5u l=19.417u",
                "source": "XR4 rp 0 0 rppd w=0.5u l=19.417u",
                "pins": [
                  {
                    "id": "p",
                    "net": "rp"
                  },
                  {
                    "id": "n",
                    "net": "0"
                  },
                  {
                    "id": "substrate",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP resistor model terminal order"
              },
              {
                "id": "XIck",
                "displayName": "Ick",
                "spiceType": "X",
                "model": "sg13g2_buf_2",
                "parametersOrValue": "",
                "source": "XIck clkd clk vdd 0 sg13g2_buf_2",
                "pins": [
                  {
                    "id": "X",
                    "net": "clkd"
                  },
                  {
                    "id": "A",
                    "net": "clk"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XMt",
                "displayName": "Mt",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=8u l=130n ng=2 m=1",
                "source": "XMt ctail clkd vdd vdd sg13_lv_pmos w=8u l=130n ng=2 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "ctail"
                  },
                  {
                    "id": "g",
                    "net": "clkd"
                  },
                  {
                    "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=16u l=260n ng=4 m=1",
                "source": "XM1 dip pn ctail vdd sg13_lv_pmos w=16u l=260n ng=4 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "dip"
                  },
                  {
                    "id": "g",
                    "net": "pn"
                  },
                  {
                    "id": "s",
                    "net": "ctail"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM2",
                "displayName": "M2",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=16u l=260n ng=4 m=1",
                "source": "XM2 din pp ctail vdd sg13_lv_pmos w=16u l=260n ng=4 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "din"
                  },
                  {
                    "id": "g",
                    "net": "pp"
                  },
                  {
                    "id": "s",
                    "net": "ctail"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM3",
                "displayName": "M3",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=8u l=130n ng=2 m=1",
                "source": "XM3 outp outn dip vdd sg13_lv_pmos w=8u l=130n ng=2 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "outp"
                  },
                  {
                    "id": "g",
                    "net": "outn"
                  },
                  {
                    "id": "s",
                    "net": "dip"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM4",
                "displayName": "M4",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=8u l=130n ng=2 m=1",
                "source": "XM4 outn outp din vdd sg13_lv_pmos w=8u l=130n ng=2 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "outn"
                  },
                  {
                    "id": "g",
                    "net": "outp"
                  },
                  {
                    "id": "s",
                    "net": "din"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM5",
                "displayName": "M5",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=2u l=130n ng=1 m=1",
                "source": "XM5 outp outn 0 0 sg13_lv_nmos w=2u l=130n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "outp"
                  },
                  {
                    "id": "g",
                    "net": "outn"
                  },
                  {
                    "id": "s",
                    "net": "0"
                  },
                  {
                    "id": "b",
                    "net": "0"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM6",
                "displayName": "M6",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=2u l=130n ng=1 m=1",
                "source": "XM6 outn outp 0 0 sg13_lv_nmos w=2u l=130n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "outn"
                  },
                  {
                    "id": "g",
                    "net": "outp"
                  },
                  {
                    "id": "s",
                    "net": "0"
                  },
                  {
                    "id": "b",
                    "net": "0"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM7",
                "displayName": "M7",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=1u l=130n ng=1 m=1",
                "source": "XM7 outp clkd 0 0 sg13_lv_nmos w=1u l=130n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "outp"
                  },
                  {
                    "id": "g",
                    "net": "clkd"
                  },
                  {
                    "id": "s",
                    "net": "0"
                  },
                  {
                    "id": "b",
                    "net": "0"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM8",
                "displayName": "M8",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=1u l=130n ng=1 m=1",
                "source": "XM8 outn clkd 0 0 sg13_lv_nmos w=1u l=130n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "outn"
                  },
                  {
                    "id": "g",
                    "net": "clkd"
                  },
                  {
                    "id": "s",
                    "net": "0"
                  },
                  {
                    "id": "b",
                    "net": "0"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM9",
                "displayName": "M9",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=1u l=130n ng=1 m=1",
                "source": "XM9 dip clkd 0 0 sg13_lv_nmos w=1u l=130n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "dip"
                  },
                  {
                    "id": "g",
                    "net": "clkd"
                  },
                  {
                    "id": "s",
                    "net": "0"
                  },
                  {
                    "id": "b",
                    "net": "0"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM10",
                "displayName": "M10",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=1u l=130n ng=1 m=1",
                "source": "XM10 din clkd 0 0 sg13_lv_nmos w=1u l=130n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "din"
                  },
                  {
                    "id": "g",
                    "net": "clkd"
                  },
                  {
                    "id": "s",
                    "net": "0"
                  },
                  {
                    "id": "b",
                    "net": "0"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XIkp",
                "displayName": "Ikp",
                "spiceType": "X",
                "model": "sg13g2_buf_1",
                "parametersOrValue": "",
                "source": "XIkp keep outp vdd 0 sg13g2_buf_1",
                "pins": [
                  {
                    "id": "X",
                    "net": "keep"
                  },
                  {
                    "id": "A",
                    "net": "outp"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XIkn",
                "displayName": "Ikn",
                "spiceType": "X",
                "model": "sg13g2_buf_1",
                "parametersOrValue": "",
                "source": "XIkn rej outn vdd 0 sg13g2_buf_1",
                "pins": [
                  {
                    "id": "X",
                    "net": "rej"
                  },
                  {
                    "id": "A",
                    "net": "outn"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XLs",
                "displayName": "Ls",
                "spiceType": "X",
                "model": "sg13g2_nor2_1",
                "parametersOrValue": "",
                "source": "XLs dec rej decb vdd 0 sg13g2_nor2_1",
                "pins": [
                  {
                    "id": "Y",
                    "net": "dec"
                  },
                  {
                    "id": "A",
                    "net": "rej"
                  },
                  {
                    "id": "B",
                    "net": "decb"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XLr",
                "displayName": "Lr",
                "spiceType": "X",
                "model": "sg13g2_nor2_1",
                "parametersOrValue": "",
                "source": "XLr decb keep dec vdd 0 sg13g2_nor2_1",
                "pins": [
                  {
                    "id": "Y",
                    "net": "decb"
                  },
                  {
                    "id": "A",
                    "net": "keep"
                  },
                  {
                    "id": "B",
                    "net": "dec"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              }
            ],
            "nets": [
              {
                "id": "ib",
                "ground": false,
                "terminals": [
                  {
                    "device": "XPbd",
                    "pin": "d"
                  },
                  {
                    "device": "XPbd",
                    "pin": "g"
                  },
                  {
                    "device": "XPbt",
                    "pin": "g"
                  }
                ],
                "ports": [
                  "ib"
                ],
                "voltageReferences": []
              },
              {
                "id": "vdd",
                "ground": false,
                "terminals": [
                  {
                    "device": "XPbd",
                    "pin": "s"
                  },
                  {
                    "device": "XPbd",
                    "pin": "b"
                  },
                  {
                    "device": "XPbt",
                    "pin": "s"
                  },
                  {
                    "device": "XPbt",
                    "pin": "b"
                  },
                  {
                    "device": "XP1",
                    "pin": "b"
                  },
                  {
                    "device": "XP2",
                    "pin": "b"
                  },
                  {
                    "device": "XIck",
                    "pin": "VDD"
                  },
                  {
                    "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": "XIkp",
                    "pin": "VDD"
                  },
                  {
                    "device": "XIkn",
                    "pin": "VDD"
                  },
                  {
                    "device": "XLs",
                    "pin": "VDD"
                  },
                  {
                    "device": "XLr",
                    "pin": "VDD"
                  }
                ],
                "ports": [
                  "vdd"
                ],
                "voltageReferences": []
              },
              {
                "id": "ptail",
                "ground": false,
                "terminals": [
                  {
                    "device": "XPbt",
                    "pin": "d"
                  },
                  {
                    "device": "XP1",
                    "pin": "s"
                  },
                  {
                    "device": "XP2",
                    "pin": "s"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "pn",
                "ground": false,
                "terminals": [
                  {
                    "device": "XP1",
                    "pin": "d"
                  },
                  {
                    "device": "XR1",
                    "pin": "p"
                  },
                  {
                    "device": "XM1",
                    "pin": "g"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "inp",
                "ground": false,
                "terminals": [
                  {
                    "device": "XP1",
                    "pin": "g"
                  }
                ],
                "ports": [
                  "inp"
                ],
                "voltageReferences": []
              },
              {
                "id": "pp",
                "ground": false,
                "terminals": [
                  {
                    "device": "XP2",
                    "pin": "d"
                  },
                  {
                    "device": "XR2",
                    "pin": "p"
                  },
                  {
                    "device": "XM2",
                    "pin": "g"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "inn",
                "ground": false,
                "terminals": [
                  {
                    "device": "XP2",
                    "pin": "g"
                  }
                ],
                "ports": [
                  "inn"
                ],
                "voltageReferences": []
              },
              {
                "id": "rn",
                "ground": false,
                "terminals": [
                  {
                    "device": "XR1",
                    "pin": "n"
                  },
                  {
                    "device": "XR3",
                    "pin": "p"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "0",
                "ground": true,
                "terminals": [
                  {
                    "device": "XR1",
                    "pin": "substrate"
                  },
                  {
                    "device": "XR3",
                    "pin": "n"
                  },
                  {
                    "device": "XR3",
                    "pin": "substrate"
                  },
                  {
                    "device": "XR2",
                    "pin": "substrate"
                  },
                  {
                    "device": "XR4",
                    "pin": "n"
                  },
                  {
                    "device": "XR4",
                    "pin": "substrate"
                  },
                  {
                    "device": "XIck",
                    "pin": "VSS"
                  },
                  {
                    "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": "XIkp",
                    "pin": "VSS"
                  },
                  {
                    "device": "XIkn",
                    "pin": "VSS"
                  },
                  {
                    "device": "XLs",
                    "pin": "VSS"
                  },
                  {
                    "device": "XLr",
                    "pin": "VSS"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "rp",
                "ground": false,
                "terminals": [
                  {
                    "device": "XR2",
                    "pin": "n"
                  },
                  {
                    "device": "XR4",
                    "pin": "p"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "clkd",
                "ground": false,
                "terminals": [
                  {
                    "device": "XIck",
                    "pin": "X"
                  },
                  {
                    "device": "XMt",
                    "pin": "g"
                  },
                  {
                    "device": "XM7",
                    "pin": "g"
                  },
                  {
                    "device": "XM8",
                    "pin": "g"
                  },
                  {
                    "device": "XM9",
                    "pin": "g"
                  },
                  {
                    "device": "XM10",
                    "pin": "g"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "clk",
                "ground": false,
                "terminals": [
                  {
                    "device": "XIck",
                    "pin": "A"
                  }
                ],
                "ports": [
                  "clk"
                ],
                "voltageReferences": []
              },
              {
                "id": "ctail",
                "ground": false,
                "terminals": [
                  {
                    "device": "XMt",
                    "pin": "d"
                  },
                  {
                    "device": "XM1",
                    "pin": "s"
                  },
                  {
                    "device": "XM2",
                    "pin": "s"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "dip",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM1",
                    "pin": "d"
                  },
                  {
                    "device": "XM3",
                    "pin": "s"
                  },
                  {
                    "device": "XM9",
                    "pin": "d"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "din",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM2",
                    "pin": "d"
                  },
                  {
                    "device": "XM4",
                    "pin": "s"
                  },
                  {
                    "device": "XM10",
                    "pin": "d"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "outp",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM3",
                    "pin": "d"
                  },
                  {
                    "device": "XM4",
                    "pin": "g"
                  },
                  {
                    "device": "XM5",
                    "pin": "d"
                  },
                  {
                    "device": "XM6",
                    "pin": "g"
                  },
                  {
                    "device": "XM7",
                    "pin": "d"
                  },
                  {
                    "device": "XIkp",
                    "pin": "A"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "outn",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM3",
                    "pin": "g"
                  },
                  {
                    "device": "XM4",
                    "pin": "d"
                  },
                  {
                    "device": "XM5",
                    "pin": "g"
                  },
                  {
                    "device": "XM6",
                    "pin": "d"
                  },
                  {
                    "device": "XM8",
                    "pin": "d"
                  },
                  {
                    "device": "XIkn",
                    "pin": "A"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "keep",
                "ground": false,
                "terminals": [
                  {
                    "device": "XIkp",
                    "pin": "X"
                  },
                  {
                    "device": "XLr",
                    "pin": "A"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "rej",
                "ground": false,
                "terminals": [
                  {
                    "device": "XIkn",
                    "pin": "X"
                  },
                  {
                    "device": "XLs",
                    "pin": "A"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "dec",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLs",
                    "pin": "Y"
                  },
                  {
                    "device": "XLr",
                    "pin": "B"
                  }
                ],
                "ports": [
                  "dec"
                ],
                "voltageReferences": []
              },
              {
                "id": "decb",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLs",
                    "pin": "B"
                  },
                  {
                    "device": "XLr",
                    "pin": "Y"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              }
            ]
          },
          {
            "id": "subckt/msar_logic",
            "name": "msar_logic",
            "ports": [
              {
                "name": "clk",
                "net": "clk"
              },
              {
                "name": "conv",
                "net": "conv"
              },
              {
                "name": "dec",
                "net": "dec"
              },
              {
                "name": "d5",
                "net": "d5"
              },
              {
                "name": "d4",
                "net": "d4"
              },
              {
                "name": "d3",
                "net": "d3"
              },
              {
                "name": "d2",
                "net": "d2"
              },
              {
                "name": "d1",
                "net": "d1"
              },
              {
                "name": "d0",
                "net": "d0"
              },
              {
                "name": "s5",
                "net": "s5"
              },
              {
                "name": "s4",
                "net": "s4"
              },
              {
                "name": "s3",
                "net": "s3"
              },
              {
                "name": "s2",
                "net": "s2"
              },
              {
                "name": "s1",
                "net": "s1"
              },
              {
                "name": "s0",
                "net": "s0"
              },
              {
                "name": "eoc",
                "net": "eoc"
              },
              {
                "name": "vdd",
                "net": "vdd"
              }
            ],
            "definitions": [],
            "devices": [
              {
                "id": "XTs",
                "displayName": "Ts",
                "spiceType": "X",
                "model": "sg13g2_buf_1",
                "parametersOrValue": "",
                "source": "XTs s5 conv vdd 0 sg13g2_buf_1",
                "pins": [
                  {
                    "id": "X",
                    "net": "s5"
                  },
                  {
                    "id": "A",
                    "net": "conv"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XT4",
                "displayName": "T4",
                "spiceType": "X",
                "model": "sg13g2_dfrbpq_1",
                "parametersOrValue": "",
                "source": "XT4 s4 clk s5 conv vdd 0 sg13g2_dfrbpq_1",
                "pins": [
                  {
                    "id": "Q",
                    "net": "s4"
                  },
                  {
                    "id": "CLK",
                    "net": "clk"
                  },
                  {
                    "id": "D",
                    "net": "s5"
                  },
                  {
                    "id": "RESET_B",
                    "net": "conv"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XT3",
                "displayName": "T3",
                "spiceType": "X",
                "model": "sg13g2_dfrbpq_1",
                "parametersOrValue": "",
                "source": "XT3 s3 clk s4 conv vdd 0 sg13g2_dfrbpq_1",
                "pins": [
                  {
                    "id": "Q",
                    "net": "s3"
                  },
                  {
                    "id": "CLK",
                    "net": "clk"
                  },
                  {
                    "id": "D",
                    "net": "s4"
                  },
                  {
                    "id": "RESET_B",
                    "net": "conv"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XT2",
                "displayName": "T2",
                "spiceType": "X",
                "model": "sg13g2_dfrbpq_1",
                "parametersOrValue": "",
                "source": "XT2 s2 clk s3 conv vdd 0 sg13g2_dfrbpq_1",
                "pins": [
                  {
                    "id": "Q",
                    "net": "s2"
                  },
                  {
                    "id": "CLK",
                    "net": "clk"
                  },
                  {
                    "id": "D",
                    "net": "s3"
                  },
                  {
                    "id": "RESET_B",
                    "net": "conv"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XT1",
                "displayName": "T1",
                "spiceType": "X",
                "model": "sg13g2_dfrbpq_1",
                "parametersOrValue": "",
                "source": "XT1 s1 clk s2 conv vdd 0 sg13g2_dfrbpq_1",
                "pins": [
                  {
                    "id": "Q",
                    "net": "s1"
                  },
                  {
                    "id": "CLK",
                    "net": "clk"
                  },
                  {
                    "id": "D",
                    "net": "s2"
                  },
                  {
                    "id": "RESET_B",
                    "net": "conv"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XT0",
                "displayName": "T0",
                "spiceType": "X",
                "model": "sg13g2_dfrbpq_1",
                "parametersOrValue": "",
                "source": "XT0 s0 clk s1 conv vdd 0 sg13g2_dfrbpq_1",
                "pins": [
                  {
                    "id": "Q",
                    "net": "s0"
                  },
                  {
                    "id": "CLK",
                    "net": "clk"
                  },
                  {
                    "id": "D",
                    "net": "s1"
                  },
                  {
                    "id": "RESET_B",
                    "net": "conv"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XTend",
                "displayName": "Tend",
                "spiceType": "X",
                "model": "sg13g2_dfrbpq_1",
                "parametersOrValue": "",
                "source": "XTend eoc clk s0 conv vdd 0 sg13g2_dfrbpq_1",
                "pins": [
                  {
                    "id": "Q",
                    "net": "eoc"
                  },
                  {
                    "id": "CLK",
                    "net": "clk"
                  },
                  {
                    "id": "D",
                    "net": "s0"
                  },
                  {
                    "id": "RESET_B",
                    "net": "conv"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XH5",
                "displayName": "H5",
                "spiceType": "X",
                "model": "sg13g2_nor2b_1",
                "parametersOrValue": "",
                "source": "XH5 t5 s4 s5 vdd 0 sg13g2_nor2b_1",
                "pins": [
                  {
                    "id": "Y",
                    "net": "t5"
                  },
                  {
                    "id": "A",
                    "net": "s4"
                  },
                  {
                    "id": "B_N",
                    "net": "s5"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XK5",
                "displayName": "K5",
                "spiceType": "X",
                "model": "sg13g2_mux2_1",
                "parametersOrValue": "",
                "source": "XK5 nd5 d5 dec t5 vdd 0 sg13g2_mux2_1",
                "pins": [
                  {
                    "id": "X",
                    "net": "nd5"
                  },
                  {
                    "id": "A0",
                    "net": "d5"
                  },
                  {
                    "id": "A1",
                    "net": "dec"
                  },
                  {
                    "id": "S",
                    "net": "t5"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XF5",
                "displayName": "F5",
                "spiceType": "X",
                "model": "sg13g2_dfrbpq_1",
                "parametersOrValue": "",
                "source": "XF5 d5 clk nd5 conv vdd 0 sg13g2_dfrbpq_1",
                "pins": [
                  {
                    "id": "Q",
                    "net": "d5"
                  },
                  {
                    "id": "CLK",
                    "net": "clk"
                  },
                  {
                    "id": "D",
                    "net": "nd5"
                  },
                  {
                    "id": "RESET_B",
                    "net": "conv"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XH4",
                "displayName": "H4",
                "spiceType": "X",
                "model": "sg13g2_nor2b_1",
                "parametersOrValue": "",
                "source": "XH4 t4 s3 s4 vdd 0 sg13g2_nor2b_1",
                "pins": [
                  {
                    "id": "Y",
                    "net": "t4"
                  },
                  {
                    "id": "A",
                    "net": "s3"
                  },
                  {
                    "id": "B_N",
                    "net": "s4"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XK4",
                "displayName": "K4",
                "spiceType": "X",
                "model": "sg13g2_mux2_1",
                "parametersOrValue": "",
                "source": "XK4 nd4 d4 dec t4 vdd 0 sg13g2_mux2_1",
                "pins": [
                  {
                    "id": "X",
                    "net": "nd4"
                  },
                  {
                    "id": "A0",
                    "net": "d4"
                  },
                  {
                    "id": "A1",
                    "net": "dec"
                  },
                  {
                    "id": "S",
                    "net": "t4"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XF4",
                "displayName": "F4",
                "spiceType": "X",
                "model": "sg13g2_dfrbpq_1",
                "parametersOrValue": "",
                "source": "XF4 d4 clk nd4 conv vdd 0 sg13g2_dfrbpq_1",
                "pins": [
                  {
                    "id": "Q",
                    "net": "d4"
                  },
                  {
                    "id": "CLK",
                    "net": "clk"
                  },
                  {
                    "id": "D",
                    "net": "nd4"
                  },
                  {
                    "id": "RESET_B",
                    "net": "conv"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XH3",
                "displayName": "H3",
                "spiceType": "X",
                "model": "sg13g2_nor2b_1",
                "parametersOrValue": "",
                "source": "XH3 t3 s2 s3 vdd 0 sg13g2_nor2b_1",
                "pins": [
                  {
                    "id": "Y",
                    "net": "t3"
                  },
                  {
                    "id": "A",
                    "net": "s2"
                  },
                  {
                    "id": "B_N",
                    "net": "s3"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XK3",
                "displayName": "K3",
                "spiceType": "X",
                "model": "sg13g2_mux2_1",
                "parametersOrValue": "",
                "source": "XK3 nd3 d3 dec t3 vdd 0 sg13g2_mux2_1",
                "pins": [
                  {
                    "id": "X",
                    "net": "nd3"
                  },
                  {
                    "id": "A0",
                    "net": "d3"
                  },
                  {
                    "id": "A1",
                    "net": "dec"
                  },
                  {
                    "id": "S",
                    "net": "t3"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XF3",
                "displayName": "F3",
                "spiceType": "X",
                "model": "sg13g2_dfrbpq_1",
                "parametersOrValue": "",
                "source": "XF3 d3 clk nd3 conv vdd 0 sg13g2_dfrbpq_1",
                "pins": [
                  {
                    "id": "Q",
                    "net": "d3"
                  },
                  {
                    "id": "CLK",
                    "net": "clk"
                  },
                  {
                    "id": "D",
                    "net": "nd3"
                  },
                  {
                    "id": "RESET_B",
                    "net": "conv"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XH2",
                "displayName": "H2",
                "spiceType": "X",
                "model": "sg13g2_nor2b_1",
                "parametersOrValue": "",
                "source": "XH2 t2 s1 s2 vdd 0 sg13g2_nor2b_1",
                "pins": [
                  {
                    "id": "Y",
                    "net": "t2"
                  },
                  {
                    "id": "A",
                    "net": "s1"
                  },
                  {
                    "id": "B_N",
                    "net": "s2"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XK2",
                "displayName": "K2",
                "spiceType": "X",
                "model": "sg13g2_mux2_1",
                "parametersOrValue": "",
                "source": "XK2 nd2 d2 dec t2 vdd 0 sg13g2_mux2_1",
                "pins": [
                  {
                    "id": "X",
                    "net": "nd2"
                  },
                  {
                    "id": "A0",
                    "net": "d2"
                  },
                  {
                    "id": "A1",
                    "net": "dec"
                  },
                  {
                    "id": "S",
                    "net": "t2"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XF2",
                "displayName": "F2",
                "spiceType": "X",
                "model": "sg13g2_dfrbpq_1",
                "parametersOrValue": "",
                "source": "XF2 d2 clk nd2 conv vdd 0 sg13g2_dfrbpq_1",
                "pins": [
                  {
                    "id": "Q",
                    "net": "d2"
                  },
                  {
                    "id": "CLK",
                    "net": "clk"
                  },
                  {
                    "id": "D",
                    "net": "nd2"
                  },
                  {
                    "id": "RESET_B",
                    "net": "conv"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XH1",
                "displayName": "H1",
                "spiceType": "X",
                "model": "sg13g2_nor2b_1",
                "parametersOrValue": "",
                "source": "XH1 t1 s0 s1 vdd 0 sg13g2_nor2b_1",
                "pins": [
                  {
                    "id": "Y",
                    "net": "t1"
                  },
                  {
                    "id": "A",
                    "net": "s0"
                  },
                  {
                    "id": "B_N",
                    "net": "s1"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XK1",
                "displayName": "K1",
                "spiceType": "X",
                "model": "sg13g2_mux2_1",
                "parametersOrValue": "",
                "source": "XK1 nd1 d1 dec t1 vdd 0 sg13g2_mux2_1",
                "pins": [
                  {
                    "id": "X",
                    "net": "nd1"
                  },
                  {
                    "id": "A0",
                    "net": "d1"
                  },
                  {
                    "id": "A1",
                    "net": "dec"
                  },
                  {
                    "id": "S",
                    "net": "t1"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XF1",
                "displayName": "F1",
                "spiceType": "X",
                "model": "sg13g2_dfrbpq_1",
                "parametersOrValue": "",
                "source": "XF1 d1 clk nd1 conv vdd 0 sg13g2_dfrbpq_1",
                "pins": [
                  {
                    "id": "Q",
                    "net": "d1"
                  },
                  {
                    "id": "CLK",
                    "net": "clk"
                  },
                  {
                    "id": "D",
                    "net": "nd1"
                  },
                  {
                    "id": "RESET_B",
                    "net": "conv"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XH0",
                "displayName": "H0",
                "spiceType": "X",
                "model": "sg13g2_nor2b_1",
                "parametersOrValue": "",
                "source": "XH0 t0 eoc s0 vdd 0 sg13g2_nor2b_1",
                "pins": [
                  {
                    "id": "Y",
                    "net": "t0"
                  },
                  {
                    "id": "A",
                    "net": "eoc"
                  },
                  {
                    "id": "B_N",
                    "net": "s0"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XK0",
                "displayName": "K0",
                "spiceType": "X",
                "model": "sg13g2_mux2_1",
                "parametersOrValue": "",
                "source": "XK0 nd0 d0 dec t0 vdd 0 sg13g2_mux2_1",
                "pins": [
                  {
                    "id": "X",
                    "net": "nd0"
                  },
                  {
                    "id": "A0",
                    "net": "d0"
                  },
                  {
                    "id": "A1",
                    "net": "dec"
                  },
                  {
                    "id": "S",
                    "net": "t0"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XF0",
                "displayName": "F0",
                "spiceType": "X",
                "model": "sg13g2_dfrbpq_1",
                "parametersOrValue": "",
                "source": "XF0 d0 clk nd0 conv vdd 0 sg13g2_dfrbpq_1",
                "pins": [
                  {
                    "id": "Q",
                    "net": "d0"
                  },
                  {
                    "id": "CLK",
                    "net": "clk"
                  },
                  {
                    "id": "D",
                    "net": "nd0"
                  },
                  {
                    "id": "RESET_B",
                    "net": "conv"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              }
            ],
            "nets": [
              {
                "id": "s5",
                "ground": false,
                "terminals": [
                  {
                    "device": "XTs",
                    "pin": "X"
                  },
                  {
                    "device": "XT4",
                    "pin": "D"
                  },
                  {
                    "device": "XH5",
                    "pin": "B_N"
                  }
                ],
                "ports": [
                  "s5"
                ],
                "voltageReferences": []
              },
              {
                "id": "conv",
                "ground": false,
                "terminals": [
                  {
                    "device": "XTs",
                    "pin": "A"
                  },
                  {
                    "device": "XT4",
                    "pin": "RESET_B"
                  },
                  {
                    "device": "XT3",
                    "pin": "RESET_B"
                  },
                  {
                    "device": "XT2",
                    "pin": "RESET_B"
                  },
                  {
                    "device": "XT1",
                    "pin": "RESET_B"
                  },
                  {
                    "device": "XT0",
                    "pin": "RESET_B"
                  },
                  {
                    "device": "XTend",
                    "pin": "RESET_B"
                  },
                  {
                    "device": "XF5",
                    "pin": "RESET_B"
                  },
                  {
                    "device": "XF4",
                    "pin": "RESET_B"
                  },
                  {
                    "device": "XF3",
                    "pin": "RESET_B"
                  },
                  {
                    "device": "XF2",
                    "pin": "RESET_B"
                  },
                  {
                    "device": "XF1",
                    "pin": "RESET_B"
                  },
                  {
                    "device": "XF0",
                    "pin": "RESET_B"
                  }
                ],
                "ports": [
                  "conv"
                ],
                "voltageReferences": []
              },
              {
                "id": "vdd",
                "ground": false,
                "terminals": [
                  {
                    "device": "XTs",
                    "pin": "VDD"
                  },
                  {
                    "device": "XT4",
                    "pin": "VDD"
                  },
                  {
                    "device": "XT3",
                    "pin": "VDD"
                  },
                  {
                    "device": "XT2",
                    "pin": "VDD"
                  },
                  {
                    "device": "XT1",
                    "pin": "VDD"
                  },
                  {
                    "device": "XT0",
                    "pin": "VDD"
                  },
                  {
                    "device": "XTend",
                    "pin": "VDD"
                  },
                  {
                    "device": "XH5",
                    "pin": "VDD"
                  },
                  {
                    "device": "XK5",
                    "pin": "VDD"
                  },
                  {
                    "device": "XF5",
                    "pin": "VDD"
                  },
                  {
                    "device": "XH4",
                    "pin": "VDD"
                  },
                  {
                    "device": "XK4",
                    "pin": "VDD"
                  },
                  {
                    "device": "XF4",
                    "pin": "VDD"
                  },
                  {
                    "device": "XH3",
                    "pin": "VDD"
                  },
                  {
                    "device": "XK3",
                    "pin": "VDD"
                  },
                  {
                    "device": "XF3",
                    "pin": "VDD"
                  },
                  {
                    "device": "XH2",
                    "pin": "VDD"
                  },
                  {
                    "device": "XK2",
                    "pin": "VDD"
                  },
                  {
                    "device": "XF2",
                    "pin": "VDD"
                  },
                  {
                    "device": "XH1",
                    "pin": "VDD"
                  },
                  {
                    "device": "XK1",
                    "pin": "VDD"
                  },
                  {
                    "device": "XF1",
                    "pin": "VDD"
                  },
                  {
                    "device": "XH0",
                    "pin": "VDD"
                  },
                  {
                    "device": "XK0",
                    "pin": "VDD"
                  },
                  {
                    "device": "XF0",
                    "pin": "VDD"
                  }
                ],
                "ports": [
                  "vdd"
                ],
                "voltageReferences": []
              },
              {
                "id": "0",
                "ground": true,
                "terminals": [
                  {
                    "device": "XTs",
                    "pin": "VSS"
                  },
                  {
                    "device": "XT4",
                    "pin": "VSS"
                  },
                  {
                    "device": "XT3",
                    "pin": "VSS"
                  },
                  {
                    "device": "XT2",
                    "pin": "VSS"
                  },
                  {
                    "device": "XT1",
                    "pin": "VSS"
                  },
                  {
                    "device": "XT0",
                    "pin": "VSS"
                  },
                  {
                    "device": "XTend",
                    "pin": "VSS"
                  },
                  {
                    "device": "XH5",
                    "pin": "VSS"
                  },
                  {
                    "device": "XK5",
                    "pin": "VSS"
                  },
                  {
                    "device": "XF5",
                    "pin": "VSS"
                  },
                  {
                    "device": "XH4",
                    "pin": "VSS"
                  },
                  {
                    "device": "XK4",
                    "pin": "VSS"
                  },
                  {
                    "device": "XF4",
                    "pin": "VSS"
                  },
                  {
                    "device": "XH3",
                    "pin": "VSS"
                  },
                  {
                    "device": "XK3",
                    "pin": "VSS"
                  },
                  {
                    "device": "XF3",
                    "pin": "VSS"
                  },
                  {
                    "device": "XH2",
                    "pin": "VSS"
                  },
                  {
                    "device": "XK2",
                    "pin": "VSS"
                  },
                  {
                    "device": "XF2",
                    "pin": "VSS"
                  },
                  {
                    "device": "XH1",
                    "pin": "VSS"
                  },
                  {
                    "device": "XK1",
                    "pin": "VSS"
                  },
                  {
                    "device": "XF1",
                    "pin": "VSS"
                  },
                  {
                    "device": "XH0",
                    "pin": "VSS"
                  },
                  {
                    "device": "XK0",
                    "pin": "VSS"
                  },
                  {
                    "device": "XF0",
                    "pin": "VSS"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "s4",
                "ground": false,
                "terminals": [
                  {
                    "device": "XT4",
                    "pin": "Q"
                  },
                  {
                    "device": "XT3",
                    "pin": "D"
                  },
                  {
                    "device": "XH5",
                    "pin": "A"
                  },
                  {
                    "device": "XH4",
                    "pin": "B_N"
                  }
                ],
                "ports": [
                  "s4"
                ],
                "voltageReferences": []
              },
              {
                "id": "clk",
                "ground": false,
                "terminals": [
                  {
                    "device": "XT4",
                    "pin": "CLK"
                  },
                  {
                    "device": "XT3",
                    "pin": "CLK"
                  },
                  {
                    "device": "XT2",
                    "pin": "CLK"
                  },
                  {
                    "device": "XT1",
                    "pin": "CLK"
                  },
                  {
                    "device": "XT0",
                    "pin": "CLK"
                  },
                  {
                    "device": "XTend",
                    "pin": "CLK"
                  },
                  {
                    "device": "XF5",
                    "pin": "CLK"
                  },
                  {
                    "device": "XF4",
                    "pin": "CLK"
                  },
                  {
                    "device": "XF3",
                    "pin": "CLK"
                  },
                  {
                    "device": "XF2",
                    "pin": "CLK"
                  },
                  {
                    "device": "XF1",
                    "pin": "CLK"
                  },
                  {
                    "device": "XF0",
                    "pin": "CLK"
                  }
                ],
                "ports": [
                  "clk"
                ],
                "voltageReferences": []
              },
              {
                "id": "s3",
                "ground": false,
                "terminals": [
                  {
                    "device": "XT3",
                    "pin": "Q"
                  },
                  {
                    "device": "XT2",
                    "pin": "D"
                  },
                  {
                    "device": "XH4",
                    "pin": "A"
                  },
                  {
                    "device": "XH3",
                    "pin": "B_N"
                  }
                ],
                "ports": [
                  "s3"
                ],
                "voltageReferences": []
              },
              {
                "id": "s2",
                "ground": false,
                "terminals": [
                  {
                    "device": "XT2",
                    "pin": "Q"
                  },
                  {
                    "device": "XT1",
                    "pin": "D"
                  },
                  {
                    "device": "XH3",
                    "pin": "A"
                  },
                  {
                    "device": "XH2",
                    "pin": "B_N"
                  }
                ],
                "ports": [
                  "s2"
                ],
                "voltageReferences": []
              },
              {
                "id": "s1",
                "ground": false,
                "terminals": [
                  {
                    "device": "XT1",
                    "pin": "Q"
                  },
                  {
                    "device": "XT0",
                    "pin": "D"
                  },
                  {
                    "device": "XH2",
                    "pin": "A"
                  },
                  {
                    "device": "XH1",
                    "pin": "B_N"
                  }
                ],
                "ports": [
                  "s1"
                ],
                "voltageReferences": []
              },
              {
                "id": "s0",
                "ground": false,
                "terminals": [
                  {
                    "device": "XT0",
                    "pin": "Q"
                  },
                  {
                    "device": "XTend",
                    "pin": "D"
                  },
                  {
                    "device": "XH1",
                    "pin": "A"
                  },
                  {
                    "device": "XH0",
                    "pin": "B_N"
                  }
                ],
                "ports": [
                  "s0"
                ],
                "voltageReferences": []
              },
              {
                "id": "eoc",
                "ground": false,
                "terminals": [
                  {
                    "device": "XTend",
                    "pin": "Q"
                  },
                  {
                    "device": "XH0",
                    "pin": "A"
                  }
                ],
                "ports": [
                  "eoc"
                ],
                "voltageReferences": []
              },
              {
                "id": "t5",
                "ground": false,
                "terminals": [
                  {
                    "device": "XH5",
                    "pin": "Y"
                  },
                  {
                    "device": "XK5",
                    "pin": "S"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "nd5",
                "ground": false,
                "terminals": [
                  {
                    "device": "XK5",
                    "pin": "X"
                  },
                  {
                    "device": "XF5",
                    "pin": "D"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "d5",
                "ground": false,
                "terminals": [
                  {
                    "device": "XK5",
                    "pin": "A0"
                  },
                  {
                    "device": "XF5",
                    "pin": "Q"
                  }
                ],
                "ports": [
                  "d5"
                ],
                "voltageReferences": []
              },
              {
                "id": "dec",
                "ground": false,
                "terminals": [
                  {
                    "device": "XK5",
                    "pin": "A1"
                  },
                  {
                    "device": "XK4",
                    "pin": "A1"
                  },
                  {
                    "device": "XK3",
                    "pin": "A1"
                  },
                  {
                    "device": "XK2",
                    "pin": "A1"
                  },
                  {
                    "device": "XK1",
                    "pin": "A1"
                  },
                  {
                    "device": "XK0",
                    "pin": "A1"
                  }
                ],
                "ports": [
                  "dec"
                ],
                "voltageReferences": []
              },
              {
                "id": "t4",
                "ground": false,
                "terminals": [
                  {
                    "device": "XH4",
                    "pin": "Y"
                  },
                  {
                    "device": "XK4",
                    "pin": "S"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "nd4",
                "ground": false,
                "terminals": [
                  {
                    "device": "XK4",
                    "pin": "X"
                  },
                  {
                    "device": "XF4",
                    "pin": "D"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "d4",
                "ground": false,
                "terminals": [
                  {
                    "device": "XK4",
                    "pin": "A0"
                  },
                  {
                    "device": "XF4",
                    "pin": "Q"
                  }
                ],
                "ports": [
                  "d4"
                ],
                "voltageReferences": []
              },
              {
                "id": "t3",
                "ground": false,
                "terminals": [
                  {
                    "device": "XH3",
                    "pin": "Y"
                  },
                  {
                    "device": "XK3",
                    "pin": "S"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "nd3",
                "ground": false,
                "terminals": [
                  {
                    "device": "XK3",
                    "pin": "X"
                  },
                  {
                    "device": "XF3",
                    "pin": "D"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "d3",
                "ground": false,
                "terminals": [
                  {
                    "device": "XK3",
                    "pin": "A0"
                  },
                  {
                    "device": "XF3",
                    "pin": "Q"
                  }
                ],
                "ports": [
                  "d3"
                ],
                "voltageReferences": []
              },
              {
                "id": "t2",
                "ground": false,
                "terminals": [
                  {
                    "device": "XH2",
                    "pin": "Y"
                  },
                  {
                    "device": "XK2",
                    "pin": "S"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "nd2",
                "ground": false,
                "terminals": [
                  {
                    "device": "XK2",
                    "pin": "X"
                  },
                  {
                    "device": "XF2",
                    "pin": "D"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "d2",
                "ground": false,
                "terminals": [
                  {
                    "device": "XK2",
                    "pin": "A0"
                  },
                  {
                    "device": "XF2",
                    "pin": "Q"
                  }
                ],
                "ports": [
                  "d2"
                ],
                "voltageReferences": []
              },
              {
                "id": "t1",
                "ground": false,
                "terminals": [
                  {
                    "device": "XH1",
                    "pin": "Y"
                  },
                  {
                    "device": "XK1",
                    "pin": "S"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "nd1",
                "ground": false,
                "terminals": [
                  {
                    "device": "XK1",
                    "pin": "X"
                  },
                  {
                    "device": "XF1",
                    "pin": "D"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "d1",
                "ground": false,
                "terminals": [
                  {
                    "device": "XK1",
                    "pin": "A0"
                  },
                  {
                    "device": "XF1",
                    "pin": "Q"
                  }
                ],
                "ports": [
                  "d1"
                ],
                "voltageReferences": []
              },
              {
                "id": "t0",
                "ground": false,
                "terminals": [
                  {
                    "device": "XH0",
                    "pin": "Y"
                  },
                  {
                    "device": "XK0",
                    "pin": "S"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "nd0",
                "ground": false,
                "terminals": [
                  {
                    "device": "XK0",
                    "pin": "X"
                  },
                  {
                    "device": "XF0",
                    "pin": "D"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "d0",
                "ground": false,
                "terminals": [
                  {
                    "device": "XK0",
                    "pin": "A0"
                  },
                  {
                    "device": "XF0",
                    "pin": "Q"
                  }
                ],
                "ports": [
                  "d0"
                ],
                "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": [],
        "scopes": [
          {
            "id": "top",
            "name": "top",
            "ports": [],
            "definitions": [],
            "devices": [
              {
                "id": "Vdd",
                "displayName": "Vdd",
                "spiceType": "V",
                "model": null,
                "parametersOrValue": "1.2",
                "source": "Vdd vdd 0 1.2",
                "pins": [
                  {
                    "id": "p",
                    "net": "vdd"
                  },
                  {
                    "id": "n",
                    "net": "0"
                  }
                ],
                "pinMeaning": "SPICE primitive terminal order"
              },
              {
                "id": "Vref",
                "displayName": "Vref",
                "spiceType": "V",
                "model": null,
                "parametersOrValue": "1.2",
                "source": "Vref vref 0 1.2",
                "pins": [
                  {
                    "id": "p",
                    "net": "vref"
                  },
                  {
                    "id": "n",
                    "net": "0"
                  }
                ],
                "pinMeaning": "SPICE primitive terminal order"
              },
              {
                "id": "Vip",
                "displayName": "Vip",
                "spiceType": "V",
                "model": null,
                "parametersOrValue": "755m",
                "source": "Vip vip 0 755m",
                "pins": [
                  {
                    "id": "p",
                    "net": "vip"
                  },
                  {
                    "id": "n",
                    "net": "0"
                  }
                ],
                "pinMeaning": "SPICE primitive terminal order"
              },
              {
                "id": "Vin",
                "displayName": "Vin",
                "spiceType": "V",
                "model": null,
                "parametersOrValue": "445m",
                "source": "Vin vin 0 445m",
                "pins": [
                  {
                    "id": "p",
                    "net": "vin"
                  },
                  {
                    "id": "n",
                    "net": "0"
                  }
                ],
                "pinMeaning": "SPICE primitive terminal order"
              },
              {
                "id": "Ib",
                "displayName": "Ib",
                "spiceType": "I",
                "model": null,
                "parametersOrValue": "20u",
                "source": "Ib ib 0 20u",
                "pins": [
                  {
                    "id": "p",
                    "net": "ib"
                  },
                  {
                    "id": "n",
                    "net": "0"
                  }
                ],
                "pinMeaning": "SPICE primitive terminal order"
              },
              {
                "id": "Vs",
                "displayName": "Vs",
                "spiceType": "V",
                "model": null,
                "parametersOrValue": "pwl(0 1.2 3n 1.2 3.05n 0)",
                "source": "Vs samp 0 pwl(0 1.2 3n 1.2 3.05n 0)",
                "pins": [
                  {
                    "id": "p",
                    "net": "samp"
                  },
                  {
                    "id": "n",
                    "net": "0"
                  }
                ],
                "pinMeaning": "SPICE primitive terminal order"
              },
              {
                "id": "Vclk",
                "displayName": "Vclk",
                "spiceType": "V",
                "model": null,
                "parametersOrValue": "pulse(1.2 0 10n 50p 50p 4.95n 10n)",
                "source": "Vclk clk 0 pulse(1.2 0 10n 50p 50p 4.95n 10n)",
                "pins": [
                  {
                    "id": "p",
                    "net": "clk"
                  },
                  {
                    "id": "n",
                    "net": "0"
                  }
                ],
                "pinMeaning": "SPICE primitive terminal order"
              },
              {
                "id": "Xadc",
                "displayName": "Xadc",
                "spiceType": "X",
                "model": "msar_adc",
                "parametersOrValue": "",
                "source": "Xadc vip vin vref ib clk samp d5 d4 d3 d2 d1 d0 eoc vdd msar_adc",
                "pins": [
                  {
                    "id": "vip",
                    "net": "vip"
                  },
                  {
                    "id": "vin",
                    "net": "vin"
                  },
                  {
                    "id": "vref",
                    "net": "vref"
                  },
                  {
                    "id": "ib",
                    "net": "ib"
                  },
                  {
                    "id": "clk",
                    "net": "clk"
                  },
                  {
                    "id": "samp",
                    "net": "samp"
                  },
                  {
                    "id": "d5",
                    "net": "d5"
                  },
                  {
                    "id": "d4",
                    "net": "d4"
                  },
                  {
                    "id": "d3",
                    "net": "d3"
                  },
                  {
                    "id": "d2",
                    "net": "d2"
                  },
                  {
                    "id": "d1",
                    "net": "d1"
                  },
                  {
                    "id": "d0",
                    "net": "d0"
                  },
                  {
                    "id": "eoc",
                    "net": "eoc"
                  },
                  {
                    "id": "vdd",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "Declared .subckt port order",
                "subcircuit": "subckt/msar_adc"
              }
            ],
            "nets": [
              {
                "id": "vdd",
                "ground": false,
                "terminals": [
                  {
                    "device": "Vdd",
                    "pin": "p"
                  },
                  {
                    "device": "Xadc",
                    "pin": "vdd"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "0",
                "ground": true,
                "terminals": [
                  {
                    "device": "Vdd",
                    "pin": "n"
                  },
                  {
                    "device": "Vref",
                    "pin": "n"
                  },
                  {
                    "device": "Vip",
                    "pin": "n"
                  },
                  {
                    "device": "Vin",
                    "pin": "n"
                  },
                  {
                    "device": "Ib",
                    "pin": "n"
                  },
                  {
                    "device": "Vs",
                    "pin": "n"
                  },
                  {
                    "device": "Vclk",
                    "pin": "n"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "vref",
                "ground": false,
                "terminals": [
                  {
                    "device": "Vref",
                    "pin": "p"
                  },
                  {
                    "device": "Xadc",
                    "pin": "vref"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "vip",
                "ground": false,
                "terminals": [
                  {
                    "device": "Vip",
                    "pin": "p"
                  },
                  {
                    "device": "Xadc",
                    "pin": "vip"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "vin",
                "ground": false,
                "terminals": [
                  {
                    "device": "Vin",
                    "pin": "p"
                  },
                  {
                    "device": "Xadc",
                    "pin": "vin"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "ib",
                "ground": false,
                "terminals": [
                  {
                    "device": "Ib",
                    "pin": "p"
                  },
                  {
                    "device": "Xadc",
                    "pin": "ib"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "samp",
                "ground": false,
                "terminals": [
                  {
                    "device": "Vs",
                    "pin": "p"
                  },
                  {
                    "device": "Xadc",
                    "pin": "samp"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "clk",
                "ground": false,
                "terminals": [
                  {
                    "device": "Vclk",
                    "pin": "p"
                  },
                  {
                    "device": "Xadc",
                    "pin": "clk"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "d5",
                "ground": false,
                "terminals": [
                  {
                    "device": "Xadc",
                    "pin": "d5"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "d4",
                "ground": false,
                "terminals": [
                  {
                    "device": "Xadc",
                    "pin": "d4"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "d3",
                "ground": false,
                "terminals": [
                  {
                    "device": "Xadc",
                    "pin": "d3"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "d2",
                "ground": false,
                "terminals": [
                  {
                    "device": "Xadc",
                    "pin": "d2"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "d1",
                "ground": false,
                "terminals": [
                  {
                    "device": "Xadc",
                    "pin": "d1"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "d0",
                "ground": false,
                "terminals": [
                  {
                    "device": "Xadc",
                    "pin": "d0"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "eoc",
                "ground": false,
                "terminals": [
                  {
                    "device": "Xadc",
                    "pin": "eoc"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              }
            ]
          },
          {
            "id": "subckt/msar_adc",
            "name": "msar_adc",
            "ports": [
              {
                "name": "vip",
                "net": "vip"
              },
              {
                "name": "vin",
                "net": "vin"
              },
              {
                "name": "vref",
                "net": "vref"
              },
              {
                "name": "ib",
                "net": "ib"
              },
              {
                "name": "clk",
                "net": "clk"
              },
              {
                "name": "samp",
                "net": "samp"
              },
              {
                "name": "d5",
                "net": "d5"
              },
              {
                "name": "d4",
                "net": "d4"
              },
              {
                "name": "d3",
                "net": "d3"
              },
              {
                "name": "d2",
                "net": "d2"
              },
              {
                "name": "d1",
                "net": "d1"
              },
              {
                "name": "d0",
                "net": "d0"
              },
              {
                "name": "eoc",
                "net": "eoc"
              },
              {
                "name": "vdd",
                "net": "vdd"
              }
            ],
            "definitions": [],
            "devices": [
              {
                "id": "XIs",
                "displayName": "Is",
                "spiceType": "X",
                "model": "sg13g2_inv_2",
                "parametersOrValue": "",
                "source": "XIs sampn samp vdd 0 sg13g2_inv_2",
                "pins": [
                  {
                    "id": "Y",
                    "net": "sampn"
                  },
                  {
                    "id": "A",
                    "net": "samp"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XSpn",
                "displayName": "Spn",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=1u l=130n ng=1 m=1",
                "source": "XSpn vip samp topp 0 sg13_lv_nmos w=1u l=130n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "vip"
                  },
                  {
                    "id": "g",
                    "net": "samp"
                  },
                  {
                    "id": "s",
                    "net": "topp"
                  },
                  {
                    "id": "b",
                    "net": "0"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XSpp",
                "displayName": "Spp",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=2u l=130n ng=1 m=1",
                "source": "XSpp vip sampn topp vdd sg13_lv_pmos w=2u l=130n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "vip"
                  },
                  {
                    "id": "g",
                    "net": "sampn"
                  },
                  {
                    "id": "s",
                    "net": "topp"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XSnn",
                "displayName": "Snn",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=1u l=130n ng=1 m=1",
                "source": "XSnn vin samp topn 0 sg13_lv_nmos w=1u l=130n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "vin"
                  },
                  {
                    "id": "g",
                    "net": "samp"
                  },
                  {
                    "id": "s",
                    "net": "topn"
                  },
                  {
                    "id": "b",
                    "net": "0"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XSnp",
                "displayName": "Snp",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=2u l=130n ng=1 m=1",
                "source": "XSnp vin sampn topn vdd sg13_lv_pmos w=2u l=130n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "vin"
                  },
                  {
                    "id": "g",
                    "net": "sampn"
                  },
                  {
                    "id": "s",
                    "net": "topn"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XCP0",
                "displayName": "CP0",
                "spiceType": "X",
                "model": "cap_cmim",
                "parametersOrValue": "w=3.599u l=3.599u",
                "source": "XCP0 topp bp0 cap_cmim w=3.599u l=3.599u",
                "pins": [
                  {
                    "id": "p",
                    "net": "topp"
                  },
                  {
                    "id": "n",
                    "net": "bp0"
                  }
                ],
                "pinMeaning": "IHP MIM model terminal order"
              },
              {
                "id": "XCN0",
                "displayName": "CN0",
                "spiceType": "X",
                "model": "cap_cmim",
                "parametersOrValue": "w=3.599u l=3.599u",
                "source": "XCN0 topn bn0 cap_cmim w=3.599u l=3.599u",
                "pins": [
                  {
                    "id": "p",
                    "net": "topn"
                  },
                  {
                    "id": "n",
                    "net": "bn0"
                  }
                ],
                "pinMeaning": "IHP MIM model terminal order"
              },
              {
                "id": "XLP0",
                "displayName": "LP0",
                "spiceType": "X",
                "model": "sg13g2_inv_1",
                "parametersOrValue": "",
                "source": "XLP0 cp0 d1 vdd 0 sg13g2_inv_1",
                "pins": [
                  {
                    "id": "Y",
                    "net": "cp0"
                  },
                  {
                    "id": "A",
                    "net": "d1"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XLN0",
                "displayName": "LN0",
                "spiceType": "X",
                "model": "sg13g2_nand2b_1",
                "parametersOrValue": "",
                "source": "XLN0 cn0 d1 s0 vdd 0 sg13g2_nand2b_1",
                "pins": [
                  {
                    "id": "Y",
                    "net": "cn0"
                  },
                  {
                    "id": "A_N",
                    "net": "d1"
                  },
                  {
                    "id": "B",
                    "net": "s0"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XDP0",
                "displayName": "DP0",
                "spiceType": "X",
                "model": "sg13g2_buf_1",
                "parametersOrValue": "",
                "source": "XDP0 bp0 cp0 vref 0 sg13g2_buf_1",
                "pins": [
                  {
                    "id": "X",
                    "net": "bp0"
                  },
                  {
                    "id": "A",
                    "net": "cp0"
                  },
                  {
                    "id": "VDD",
                    "net": "vref"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XDN0",
                "displayName": "DN0",
                "spiceType": "X",
                "model": "sg13g2_buf_1",
                "parametersOrValue": "",
                "source": "XDN0 bn0 cn0 vref 0 sg13g2_buf_1",
                "pins": [
                  {
                    "id": "X",
                    "net": "bn0"
                  },
                  {
                    "id": "A",
                    "net": "cn0"
                  },
                  {
                    "id": "VDD",
                    "net": "vref"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XCP1",
                "displayName": "CP1",
                "spiceType": "X",
                "model": "cap_cmim",
                "parametersOrValue": "w=5.111u l=5.111u",
                "source": "XCP1 topp bp1 cap_cmim w=5.111u l=5.111u",
                "pins": [
                  {
                    "id": "p",
                    "net": "topp"
                  },
                  {
                    "id": "n",
                    "net": "bp1"
                  }
                ],
                "pinMeaning": "IHP MIM model terminal order"
              },
              {
                "id": "XCN1",
                "displayName": "CN1",
                "spiceType": "X",
                "model": "cap_cmim",
                "parametersOrValue": "w=5.111u l=5.111u",
                "source": "XCN1 topn bn1 cap_cmim w=5.111u l=5.111u",
                "pins": [
                  {
                    "id": "p",
                    "net": "topn"
                  },
                  {
                    "id": "n",
                    "net": "bn1"
                  }
                ],
                "pinMeaning": "IHP MIM model terminal order"
              },
              {
                "id": "XLP1",
                "displayName": "LP1",
                "spiceType": "X",
                "model": "sg13g2_inv_1",
                "parametersOrValue": "",
                "source": "XLP1 cp1 d2 vdd 0 sg13g2_inv_1",
                "pins": [
                  {
                    "id": "Y",
                    "net": "cp1"
                  },
                  {
                    "id": "A",
                    "net": "d2"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XLN1",
                "displayName": "LN1",
                "spiceType": "X",
                "model": "sg13g2_nand2b_1",
                "parametersOrValue": "",
                "source": "XLN1 cn1 d2 s1 vdd 0 sg13g2_nand2b_1",
                "pins": [
                  {
                    "id": "Y",
                    "net": "cn1"
                  },
                  {
                    "id": "A_N",
                    "net": "d2"
                  },
                  {
                    "id": "B",
                    "net": "s1"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XDP1",
                "displayName": "DP1",
                "spiceType": "X",
                "model": "sg13g2_buf_1",
                "parametersOrValue": "",
                "source": "XDP1 bp1 cp1 vref 0 sg13g2_buf_1",
                "pins": [
                  {
                    "id": "X",
                    "net": "bp1"
                  },
                  {
                    "id": "A",
                    "net": "cp1"
                  },
                  {
                    "id": "VDD",
                    "net": "vref"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XDN1",
                "displayName": "DN1",
                "spiceType": "X",
                "model": "sg13g2_buf_1",
                "parametersOrValue": "",
                "source": "XDN1 bn1 cn1 vref 0 sg13g2_buf_1",
                "pins": [
                  {
                    "id": "X",
                    "net": "bn1"
                  },
                  {
                    "id": "A",
                    "net": "cn1"
                  },
                  {
                    "id": "VDD",
                    "net": "vref"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XCP2",
                "displayName": "CP2",
                "spiceType": "X",
                "model": "cap_cmim",
                "parametersOrValue": "w=7.25u l=7.25u",
                "source": "XCP2 topp bp2 cap_cmim w=7.25u l=7.25u",
                "pins": [
                  {
                    "id": "p",
                    "net": "topp"
                  },
                  {
                    "id": "n",
                    "net": "bp2"
                  }
                ],
                "pinMeaning": "IHP MIM model terminal order"
              },
              {
                "id": "XCN2",
                "displayName": "CN2",
                "spiceType": "X",
                "model": "cap_cmim",
                "parametersOrValue": "w=7.25u l=7.25u",
                "source": "XCN2 topn bn2 cap_cmim w=7.25u l=7.25u",
                "pins": [
                  {
                    "id": "p",
                    "net": "topn"
                  },
                  {
                    "id": "n",
                    "net": "bn2"
                  }
                ],
                "pinMeaning": "IHP MIM model terminal order"
              },
              {
                "id": "XLP2",
                "displayName": "LP2",
                "spiceType": "X",
                "model": "sg13g2_inv_1",
                "parametersOrValue": "",
                "source": "XLP2 cp2 d3 vdd 0 sg13g2_inv_1",
                "pins": [
                  {
                    "id": "Y",
                    "net": "cp2"
                  },
                  {
                    "id": "A",
                    "net": "d3"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XLN2",
                "displayName": "LN2",
                "spiceType": "X",
                "model": "sg13g2_nand2b_1",
                "parametersOrValue": "",
                "source": "XLN2 cn2 d3 s2 vdd 0 sg13g2_nand2b_1",
                "pins": [
                  {
                    "id": "Y",
                    "net": "cn2"
                  },
                  {
                    "id": "A_N",
                    "net": "d3"
                  },
                  {
                    "id": "B",
                    "net": "s2"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XDP2",
                "displayName": "DP2",
                "spiceType": "X",
                "model": "sg13g2_buf_1",
                "parametersOrValue": "",
                "source": "XDP2 bp2 cp2 vref 0 sg13g2_buf_1",
                "pins": [
                  {
                    "id": "X",
                    "net": "bp2"
                  },
                  {
                    "id": "A",
                    "net": "cp2"
                  },
                  {
                    "id": "VDD",
                    "net": "vref"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XDN2",
                "displayName": "DN2",
                "spiceType": "X",
                "model": "sg13g2_buf_1",
                "parametersOrValue": "",
                "source": "XDN2 bn2 cn2 vref 0 sg13g2_buf_1",
                "pins": [
                  {
                    "id": "X",
                    "net": "bn2"
                  },
                  {
                    "id": "A",
                    "net": "cn2"
                  },
                  {
                    "id": "VDD",
                    "net": "vref"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XCP3",
                "displayName": "CP3",
                "spiceType": "X",
                "model": "cap_cmim",
                "parametersOrValue": "w=10.275u l=10.275u",
                "source": "XCP3 topp bp3 cap_cmim w=10.275u l=10.275u",
                "pins": [
                  {
                    "id": "p",
                    "net": "topp"
                  },
                  {
                    "id": "n",
                    "net": "bp3"
                  }
                ],
                "pinMeaning": "IHP MIM model terminal order"
              },
              {
                "id": "XCN3",
                "displayName": "CN3",
                "spiceType": "X",
                "model": "cap_cmim",
                "parametersOrValue": "w=10.275u l=10.275u",
                "source": "XCN3 topn bn3 cap_cmim w=10.275u l=10.275u",
                "pins": [
                  {
                    "id": "p",
                    "net": "topn"
                  },
                  {
                    "id": "n",
                    "net": "bn3"
                  }
                ],
                "pinMeaning": "IHP MIM model terminal order"
              },
              {
                "id": "XLP3",
                "displayName": "LP3",
                "spiceType": "X",
                "model": "sg13g2_inv_1",
                "parametersOrValue": "",
                "source": "XLP3 cp3 d4 vdd 0 sg13g2_inv_1",
                "pins": [
                  {
                    "id": "Y",
                    "net": "cp3"
                  },
                  {
                    "id": "A",
                    "net": "d4"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XLN3",
                "displayName": "LN3",
                "spiceType": "X",
                "model": "sg13g2_nand2b_1",
                "parametersOrValue": "",
                "source": "XLN3 cn3 d4 s3 vdd 0 sg13g2_nand2b_1",
                "pins": [
                  {
                    "id": "Y",
                    "net": "cn3"
                  },
                  {
                    "id": "A_N",
                    "net": "d4"
                  },
                  {
                    "id": "B",
                    "net": "s3"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XDP3",
                "displayName": "DP3",
                "spiceType": "X",
                "model": "sg13g2_buf_2",
                "parametersOrValue": "",
                "source": "XDP3 bp3 cp3 vref 0 sg13g2_buf_2",
                "pins": [
                  {
                    "id": "X",
                    "net": "bp3"
                  },
                  {
                    "id": "A",
                    "net": "cp3"
                  },
                  {
                    "id": "VDD",
                    "net": "vref"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XDN3",
                "displayName": "DN3",
                "spiceType": "X",
                "model": "sg13g2_buf_2",
                "parametersOrValue": "",
                "source": "XDN3 bn3 cn3 vref 0 sg13g2_buf_2",
                "pins": [
                  {
                    "id": "X",
                    "net": "bn3"
                  },
                  {
                    "id": "A",
                    "net": "cn3"
                  },
                  {
                    "id": "VDD",
                    "net": "vref"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XCP4",
                "displayName": "CP4",
                "spiceType": "X",
                "model": "cap_cmim",
                "parametersOrValue": "w=14.553u l=14.553u",
                "source": "XCP4 topp bp4 cap_cmim w=14.553u l=14.553u",
                "pins": [
                  {
                    "id": "p",
                    "net": "topp"
                  },
                  {
                    "id": "n",
                    "net": "bp4"
                  }
                ],
                "pinMeaning": "IHP MIM model terminal order"
              },
              {
                "id": "XCN4",
                "displayName": "CN4",
                "spiceType": "X",
                "model": "cap_cmim",
                "parametersOrValue": "w=14.553u l=14.553u",
                "source": "XCN4 topn bn4 cap_cmim w=14.553u l=14.553u",
                "pins": [
                  {
                    "id": "p",
                    "net": "topn"
                  },
                  {
                    "id": "n",
                    "net": "bn4"
                  }
                ],
                "pinMeaning": "IHP MIM model terminal order"
              },
              {
                "id": "XLP4",
                "displayName": "LP4",
                "spiceType": "X",
                "model": "sg13g2_inv_1",
                "parametersOrValue": "",
                "source": "XLP4 cp4 d5 vdd 0 sg13g2_inv_1",
                "pins": [
                  {
                    "id": "Y",
                    "net": "cp4"
                  },
                  {
                    "id": "A",
                    "net": "d5"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XLN4",
                "displayName": "LN4",
                "spiceType": "X",
                "model": "sg13g2_nand2b_1",
                "parametersOrValue": "",
                "source": "XLN4 cn4 d5 s4 vdd 0 sg13g2_nand2b_1",
                "pins": [
                  {
                    "id": "Y",
                    "net": "cn4"
                  },
                  {
                    "id": "A_N",
                    "net": "d5"
                  },
                  {
                    "id": "B",
                    "net": "s4"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XDP4a",
                "displayName": "DP4a",
                "spiceType": "X",
                "model": "sg13g2_inv_2",
                "parametersOrValue": "",
                "source": "XDP4a bp4x cp4 vref 0 sg13g2_inv_2",
                "pins": [
                  {
                    "id": "Y",
                    "net": "bp4x"
                  },
                  {
                    "id": "A",
                    "net": "cp4"
                  },
                  {
                    "id": "VDD",
                    "net": "vref"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XDP4b",
                "displayName": "DP4b",
                "spiceType": "X",
                "model": "sg13g2_inv_4",
                "parametersOrValue": "",
                "source": "XDP4b bp4 bp4x vref 0 sg13g2_inv_4",
                "pins": [
                  {
                    "id": "Y",
                    "net": "bp4"
                  },
                  {
                    "id": "A",
                    "net": "bp4x"
                  },
                  {
                    "id": "VDD",
                    "net": "vref"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XDN4a",
                "displayName": "DN4a",
                "spiceType": "X",
                "model": "sg13g2_inv_2",
                "parametersOrValue": "",
                "source": "XDN4a bn4x cn4 vref 0 sg13g2_inv_2",
                "pins": [
                  {
                    "id": "Y",
                    "net": "bn4x"
                  },
                  {
                    "id": "A",
                    "net": "cn4"
                  },
                  {
                    "id": "VDD",
                    "net": "vref"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XDN4b",
                "displayName": "DN4b",
                "spiceType": "X",
                "model": "sg13g2_inv_4",
                "parametersOrValue": "",
                "source": "XDN4b bn4 bn4x vref 0 sg13g2_inv_4",
                "pins": [
                  {
                    "id": "Y",
                    "net": "bn4"
                  },
                  {
                    "id": "A",
                    "net": "bn4x"
                  },
                  {
                    "id": "VDD",
                    "net": "vref"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XCPt",
                "displayName": "CPt",
                "spiceType": "X",
                "model": "cap_cmim",
                "parametersOrValue": "w=3.599u l=3.599u",
                "source": "XCPt topp 0 cap_cmim w=3.599u l=3.599u",
                "pins": [
                  {
                    "id": "p",
                    "net": "topp"
                  },
                  {
                    "id": "n",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP MIM model terminal order"
              },
              {
                "id": "XCNt",
                "displayName": "CNt",
                "spiceType": "X",
                "model": "cap_cmim",
                "parametersOrValue": "w=3.599u l=3.599u",
                "source": "XCNt topn 0 cap_cmim w=3.599u l=3.599u",
                "pins": [
                  {
                    "id": "p",
                    "net": "topn"
                  },
                  {
                    "id": "n",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP MIM model terminal order"
              },
              {
                "id": "Xcmp",
                "displayName": "Xcmp",
                "spiceType": "X",
                "model": "msar_cmp",
                "parametersOrValue": "",
                "source": "Xcmp topp topn clk ib dec vdd msar_cmp",
                "pins": [
                  {
                    "id": "inp",
                    "net": "topp"
                  },
                  {
                    "id": "inn",
                    "net": "topn"
                  },
                  {
                    "id": "clk",
                    "net": "clk"
                  },
                  {
                    "id": "ib",
                    "net": "ib"
                  },
                  {
                    "id": "dec",
                    "net": "dec"
                  },
                  {
                    "id": "vdd",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "Declared .subckt port order",
                "subcircuit": "subckt/msar_cmp"
              },
              {
                "id": "Xsar",
                "displayName": "Xsar",
                "spiceType": "X",
                "model": "msar_logic",
                "parametersOrValue": "",
                "source": "Xsar clk sampn dec d5 d4 d3 d2 d1 d0 s5 s4 s3 s2 s1 s0 eoc vdd msar_logic",
                "pins": [
                  {
                    "id": "clk",
                    "net": "clk"
                  },
                  {
                    "id": "conv",
                    "net": "sampn"
                  },
                  {
                    "id": "dec",
                    "net": "dec"
                  },
                  {
                    "id": "d5",
                    "net": "d5"
                  },
                  {
                    "id": "d4",
                    "net": "d4"
                  },
                  {
                    "id": "d3",
                    "net": "d3"
                  },
                  {
                    "id": "d2",
                    "net": "d2"
                  },
                  {
                    "id": "d1",
                    "net": "d1"
                  },
                  {
                    "id": "d0",
                    "net": "d0"
                  },
                  {
                    "id": "s5",
                    "net": "s5"
                  },
                  {
                    "id": "s4",
                    "net": "s4"
                  },
                  {
                    "id": "s3",
                    "net": "s3"
                  },
                  {
                    "id": "s2",
                    "net": "s2"
                  },
                  {
                    "id": "s1",
                    "net": "s1"
                  },
                  {
                    "id": "s0",
                    "net": "s0"
                  },
                  {
                    "id": "eoc",
                    "net": "eoc"
                  },
                  {
                    "id": "vdd",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "Declared .subckt port order",
                "subcircuit": "subckt/msar_logic"
              }
            ],
            "nets": [
              {
                "id": "sampn",
                "ground": false,
                "terminals": [
                  {
                    "device": "XIs",
                    "pin": "Y"
                  },
                  {
                    "device": "XSpp",
                    "pin": "g"
                  },
                  {
                    "device": "XSnp",
                    "pin": "g"
                  },
                  {
                    "device": "Xsar",
                    "pin": "conv"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "samp",
                "ground": false,
                "terminals": [
                  {
                    "device": "XIs",
                    "pin": "A"
                  },
                  {
                    "device": "XSpn",
                    "pin": "g"
                  },
                  {
                    "device": "XSnn",
                    "pin": "g"
                  }
                ],
                "ports": [
                  "samp"
                ],
                "voltageReferences": []
              },
              {
                "id": "vdd",
                "ground": false,
                "terminals": [
                  {
                    "device": "XIs",
                    "pin": "VDD"
                  },
                  {
                    "device": "XSpp",
                    "pin": "b"
                  },
                  {
                    "device": "XSnp",
                    "pin": "b"
                  },
                  {
                    "device": "XLP0",
                    "pin": "VDD"
                  },
                  {
                    "device": "XLN0",
                    "pin": "VDD"
                  },
                  {
                    "device": "XLP1",
                    "pin": "VDD"
                  },
                  {
                    "device": "XLN1",
                    "pin": "VDD"
                  },
                  {
                    "device": "XLP2",
                    "pin": "VDD"
                  },
                  {
                    "device": "XLN2",
                    "pin": "VDD"
                  },
                  {
                    "device": "XLP3",
                    "pin": "VDD"
                  },
                  {
                    "device": "XLN3",
                    "pin": "VDD"
                  },
                  {
                    "device": "XLP4",
                    "pin": "VDD"
                  },
                  {
                    "device": "XLN4",
                    "pin": "VDD"
                  },
                  {
                    "device": "Xcmp",
                    "pin": "vdd"
                  },
                  {
                    "device": "Xsar",
                    "pin": "vdd"
                  }
                ],
                "ports": [
                  "vdd"
                ],
                "voltageReferences": []
              },
              {
                "id": "0",
                "ground": true,
                "terminals": [
                  {
                    "device": "XIs",
                    "pin": "VSS"
                  },
                  {
                    "device": "XSpn",
                    "pin": "b"
                  },
                  {
                    "device": "XSnn",
                    "pin": "b"
                  },
                  {
                    "device": "XLP0",
                    "pin": "VSS"
                  },
                  {
                    "device": "XLN0",
                    "pin": "VSS"
                  },
                  {
                    "device": "XDP0",
                    "pin": "VSS"
                  },
                  {
                    "device": "XDN0",
                    "pin": "VSS"
                  },
                  {
                    "device": "XLP1",
                    "pin": "VSS"
                  },
                  {
                    "device": "XLN1",
                    "pin": "VSS"
                  },
                  {
                    "device": "XDP1",
                    "pin": "VSS"
                  },
                  {
                    "device": "XDN1",
                    "pin": "VSS"
                  },
                  {
                    "device": "XLP2",
                    "pin": "VSS"
                  },
                  {
                    "device": "XLN2",
                    "pin": "VSS"
                  },
                  {
                    "device": "XDP2",
                    "pin": "VSS"
                  },
                  {
                    "device": "XDN2",
                    "pin": "VSS"
                  },
                  {
                    "device": "XLP3",
                    "pin": "VSS"
                  },
                  {
                    "device": "XLN3",
                    "pin": "VSS"
                  },
                  {
                    "device": "XDP3",
                    "pin": "VSS"
                  },
                  {
                    "device": "XDN3",
                    "pin": "VSS"
                  },
                  {
                    "device": "XLP4",
                    "pin": "VSS"
                  },
                  {
                    "device": "XLN4",
                    "pin": "VSS"
                  },
                  {
                    "device": "XDP4a",
                    "pin": "VSS"
                  },
                  {
                    "device": "XDP4b",
                    "pin": "VSS"
                  },
                  {
                    "device": "XDN4a",
                    "pin": "VSS"
                  },
                  {
                    "device": "XDN4b",
                    "pin": "VSS"
                  },
                  {
                    "device": "XCPt",
                    "pin": "n"
                  },
                  {
                    "device": "XCNt",
                    "pin": "n"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "vip",
                "ground": false,
                "terminals": [
                  {
                    "device": "XSpn",
                    "pin": "d"
                  },
                  {
                    "device": "XSpp",
                    "pin": "d"
                  }
                ],
                "ports": [
                  "vip"
                ],
                "voltageReferences": []
              },
              {
                "id": "topp",
                "ground": false,
                "terminals": [
                  {
                    "device": "XSpn",
                    "pin": "s"
                  },
                  {
                    "device": "XSpp",
                    "pin": "s"
                  },
                  {
                    "device": "XCP0",
                    "pin": "p"
                  },
                  {
                    "device": "XCP1",
                    "pin": "p"
                  },
                  {
                    "device": "XCP2",
                    "pin": "p"
                  },
                  {
                    "device": "XCP3",
                    "pin": "p"
                  },
                  {
                    "device": "XCP4",
                    "pin": "p"
                  },
                  {
                    "device": "XCPt",
                    "pin": "p"
                  },
                  {
                    "device": "Xcmp",
                    "pin": "inp"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "vin",
                "ground": false,
                "terminals": [
                  {
                    "device": "XSnn",
                    "pin": "d"
                  },
                  {
                    "device": "XSnp",
                    "pin": "d"
                  }
                ],
                "ports": [
                  "vin"
                ],
                "voltageReferences": []
              },
              {
                "id": "topn",
                "ground": false,
                "terminals": [
                  {
                    "device": "XSnn",
                    "pin": "s"
                  },
                  {
                    "device": "XSnp",
                    "pin": "s"
                  },
                  {
                    "device": "XCN0",
                    "pin": "p"
                  },
                  {
                    "device": "XCN1",
                    "pin": "p"
                  },
                  {
                    "device": "XCN2",
                    "pin": "p"
                  },
                  {
                    "device": "XCN3",
                    "pin": "p"
                  },
                  {
                    "device": "XCN4",
                    "pin": "p"
                  },
                  {
                    "device": "XCNt",
                    "pin": "p"
                  },
                  {
                    "device": "Xcmp",
                    "pin": "inn"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "bp0",
                "ground": false,
                "terminals": [
                  {
                    "device": "XCP0",
                    "pin": "n"
                  },
                  {
                    "device": "XDP0",
                    "pin": "X"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "bn0",
                "ground": false,
                "terminals": [
                  {
                    "device": "XCN0",
                    "pin": "n"
                  },
                  {
                    "device": "XDN0",
                    "pin": "X"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "cp0",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLP0",
                    "pin": "Y"
                  },
                  {
                    "device": "XDP0",
                    "pin": "A"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "d1",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLP0",
                    "pin": "A"
                  },
                  {
                    "device": "XLN0",
                    "pin": "A_N"
                  },
                  {
                    "device": "Xsar",
                    "pin": "d1"
                  }
                ],
                "ports": [
                  "d1"
                ],
                "voltageReferences": []
              },
              {
                "id": "cn0",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLN0",
                    "pin": "Y"
                  },
                  {
                    "device": "XDN0",
                    "pin": "A"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "s0",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLN0",
                    "pin": "B"
                  },
                  {
                    "device": "Xsar",
                    "pin": "s0"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "vref",
                "ground": false,
                "terminals": [
                  {
                    "device": "XDP0",
                    "pin": "VDD"
                  },
                  {
                    "device": "XDN0",
                    "pin": "VDD"
                  },
                  {
                    "device": "XDP1",
                    "pin": "VDD"
                  },
                  {
                    "device": "XDN1",
                    "pin": "VDD"
                  },
                  {
                    "device": "XDP2",
                    "pin": "VDD"
                  },
                  {
                    "device": "XDN2",
                    "pin": "VDD"
                  },
                  {
                    "device": "XDP3",
                    "pin": "VDD"
                  },
                  {
                    "device": "XDN3",
                    "pin": "VDD"
                  },
                  {
                    "device": "XDP4a",
                    "pin": "VDD"
                  },
                  {
                    "device": "XDP4b",
                    "pin": "VDD"
                  },
                  {
                    "device": "XDN4a",
                    "pin": "VDD"
                  },
                  {
                    "device": "XDN4b",
                    "pin": "VDD"
                  }
                ],
                "ports": [
                  "vref"
                ],
                "voltageReferences": []
              },
              {
                "id": "bp1",
                "ground": false,
                "terminals": [
                  {
                    "device": "XCP1",
                    "pin": "n"
                  },
                  {
                    "device": "XDP1",
                    "pin": "X"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "bn1",
                "ground": false,
                "terminals": [
                  {
                    "device": "XCN1",
                    "pin": "n"
                  },
                  {
                    "device": "XDN1",
                    "pin": "X"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "cp1",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLP1",
                    "pin": "Y"
                  },
                  {
                    "device": "XDP1",
                    "pin": "A"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "d2",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLP1",
                    "pin": "A"
                  },
                  {
                    "device": "XLN1",
                    "pin": "A_N"
                  },
                  {
                    "device": "Xsar",
                    "pin": "d2"
                  }
                ],
                "ports": [
                  "d2"
                ],
                "voltageReferences": []
              },
              {
                "id": "cn1",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLN1",
                    "pin": "Y"
                  },
                  {
                    "device": "XDN1",
                    "pin": "A"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "s1",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLN1",
                    "pin": "B"
                  },
                  {
                    "device": "Xsar",
                    "pin": "s1"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "bp2",
                "ground": false,
                "terminals": [
                  {
                    "device": "XCP2",
                    "pin": "n"
                  },
                  {
                    "device": "XDP2",
                    "pin": "X"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "bn2",
                "ground": false,
                "terminals": [
                  {
                    "device": "XCN2",
                    "pin": "n"
                  },
                  {
                    "device": "XDN2",
                    "pin": "X"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "cp2",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLP2",
                    "pin": "Y"
                  },
                  {
                    "device": "XDP2",
                    "pin": "A"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "d3",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLP2",
                    "pin": "A"
                  },
                  {
                    "device": "XLN2",
                    "pin": "A_N"
                  },
                  {
                    "device": "Xsar",
                    "pin": "d3"
                  }
                ],
                "ports": [
                  "d3"
                ],
                "voltageReferences": []
              },
              {
                "id": "cn2",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLN2",
                    "pin": "Y"
                  },
                  {
                    "device": "XDN2",
                    "pin": "A"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "s2",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLN2",
                    "pin": "B"
                  },
                  {
                    "device": "Xsar",
                    "pin": "s2"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "bp3",
                "ground": false,
                "terminals": [
                  {
                    "device": "XCP3",
                    "pin": "n"
                  },
                  {
                    "device": "XDP3",
                    "pin": "X"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "bn3",
                "ground": false,
                "terminals": [
                  {
                    "device": "XCN3",
                    "pin": "n"
                  },
                  {
                    "device": "XDN3",
                    "pin": "X"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "cp3",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLP3",
                    "pin": "Y"
                  },
                  {
                    "device": "XDP3",
                    "pin": "A"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "d4",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLP3",
                    "pin": "A"
                  },
                  {
                    "device": "XLN3",
                    "pin": "A_N"
                  },
                  {
                    "device": "Xsar",
                    "pin": "d4"
                  }
                ],
                "ports": [
                  "d4"
                ],
                "voltageReferences": []
              },
              {
                "id": "cn3",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLN3",
                    "pin": "Y"
                  },
                  {
                    "device": "XDN3",
                    "pin": "A"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "s3",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLN3",
                    "pin": "B"
                  },
                  {
                    "device": "Xsar",
                    "pin": "s3"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "bp4",
                "ground": false,
                "terminals": [
                  {
                    "device": "XCP4",
                    "pin": "n"
                  },
                  {
                    "device": "XDP4b",
                    "pin": "Y"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "bn4",
                "ground": false,
                "terminals": [
                  {
                    "device": "XCN4",
                    "pin": "n"
                  },
                  {
                    "device": "XDN4b",
                    "pin": "Y"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "cp4",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLP4",
                    "pin": "Y"
                  },
                  {
                    "device": "XDP4a",
                    "pin": "A"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "d5",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLP4",
                    "pin": "A"
                  },
                  {
                    "device": "XLN4",
                    "pin": "A_N"
                  },
                  {
                    "device": "Xsar",
                    "pin": "d5"
                  }
                ],
                "ports": [
                  "d5"
                ],
                "voltageReferences": []
              },
              {
                "id": "cn4",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLN4",
                    "pin": "Y"
                  },
                  {
                    "device": "XDN4a",
                    "pin": "A"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "s4",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLN4",
                    "pin": "B"
                  },
                  {
                    "device": "Xsar",
                    "pin": "s4"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "bp4x",
                "ground": false,
                "terminals": [
                  {
                    "device": "XDP4a",
                    "pin": "Y"
                  },
                  {
                    "device": "XDP4b",
                    "pin": "A"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "bn4x",
                "ground": false,
                "terminals": [
                  {
                    "device": "XDN4a",
                    "pin": "Y"
                  },
                  {
                    "device": "XDN4b",
                    "pin": "A"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "clk",
                "ground": false,
                "terminals": [
                  {
                    "device": "Xcmp",
                    "pin": "clk"
                  },
                  {
                    "device": "Xsar",
                    "pin": "clk"
                  }
                ],
                "ports": [
                  "clk"
                ],
                "voltageReferences": []
              },
              {
                "id": "ib",
                "ground": false,
                "terminals": [
                  {
                    "device": "Xcmp",
                    "pin": "ib"
                  }
                ],
                "ports": [
                  "ib"
                ],
                "voltageReferences": []
              },
              {
                "id": "dec",
                "ground": false,
                "terminals": [
                  {
                    "device": "Xcmp",
                    "pin": "dec"
                  },
                  {
                    "device": "Xsar",
                    "pin": "dec"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "d0",
                "ground": false,
                "terminals": [
                  {
                    "device": "Xsar",
                    "pin": "d0"
                  }
                ],
                "ports": [
                  "d0"
                ],
                "voltageReferences": []
              },
              {
                "id": "s5",
                "ground": false,
                "terminals": [
                  {
                    "device": "Xsar",
                    "pin": "s5"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "eoc",
                "ground": false,
                "terminals": [
                  {
                    "device": "Xsar",
                    "pin": "eoc"
                  }
                ],
                "ports": [
                  "eoc"
                ],
                "voltageReferences": []
              }
            ]
          },
          {
            "id": "subckt/msar_cmp",
            "name": "msar_cmp",
            "ports": [
              {
                "name": "inp",
                "net": "inp"
              },
              {
                "name": "inn",
                "net": "inn"
              },
              {
                "name": "clk",
                "net": "clk"
              },
              {
                "name": "ib",
                "net": "ib"
              },
              {
                "name": "dec",
                "net": "dec"
              },
              {
                "name": "vdd",
                "net": "vdd"
              }
            ],
            "definitions": [],
            "devices": [
              {
                "id": "XPbd",
                "displayName": "Pbd",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=8u l=1u ng=2 m=1",
                "source": "XPbd ib ib vdd vdd sg13_lv_pmos w=8u l=1u ng=2 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "ib"
                  },
                  {
                    "id": "g",
                    "net": "ib"
                  },
                  {
                    "id": "s",
                    "net": "vdd"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XPbt",
                "displayName": "Pbt",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=8u l=1u ng=2 m=1",
                "source": "XPbt ptail ib vdd vdd sg13_lv_pmos w=8u l=1u ng=2 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "ptail"
                  },
                  {
                    "id": "g",
                    "net": "ib"
                  },
                  {
                    "id": "s",
                    "net": "vdd"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XP1",
                "displayName": "P1",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=4u l=500n ng=1 m=1",
                "source": "XP1 pn inp ptail vdd sg13_lv_pmos w=4u l=500n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "pn"
                  },
                  {
                    "id": "g",
                    "net": "inp"
                  },
                  {
                    "id": "s",
                    "net": "ptail"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XP2",
                "displayName": "P2",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=4u l=500n ng=1 m=1",
                "source": "XP2 pp inn ptail vdd sg13_lv_pmos w=4u l=500n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "pp"
                  },
                  {
                    "id": "g",
                    "net": "inn"
                  },
                  {
                    "id": "s",
                    "net": "ptail"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XR1",
                "displayName": "R1",
                "spiceType": "X",
                "model": "rppd",
                "parametersOrValue": "w=0.5u l=19.417u",
                "source": "XR1 pn rn 0 rppd w=0.5u l=19.417u",
                "pins": [
                  {
                    "id": "p",
                    "net": "pn"
                  },
                  {
                    "id": "n",
                    "net": "rn"
                  },
                  {
                    "id": "substrate",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP resistor model terminal order"
              },
              {
                "id": "XR3",
                "displayName": "R3",
                "spiceType": "X",
                "model": "rppd",
                "parametersOrValue": "w=0.5u l=19.417u",
                "source": "XR3 rn 0 0 rppd w=0.5u l=19.417u",
                "pins": [
                  {
                    "id": "p",
                    "net": "rn"
                  },
                  {
                    "id": "n",
                    "net": "0"
                  },
                  {
                    "id": "substrate",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP resistor model terminal order"
              },
              {
                "id": "XR2",
                "displayName": "R2",
                "spiceType": "X",
                "model": "rppd",
                "parametersOrValue": "w=0.5u l=19.417u",
                "source": "XR2 pp rp 0 rppd w=0.5u l=19.417u",
                "pins": [
                  {
                    "id": "p",
                    "net": "pp"
                  },
                  {
                    "id": "n",
                    "net": "rp"
                  },
                  {
                    "id": "substrate",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP resistor model terminal order"
              },
              {
                "id": "XR4",
                "displayName": "R4",
                "spiceType": "X",
                "model": "rppd",
                "parametersOrValue": "w=0.5u l=19.417u",
                "source": "XR4 rp 0 0 rppd w=0.5u l=19.417u",
                "pins": [
                  {
                    "id": "p",
                    "net": "rp"
                  },
                  {
                    "id": "n",
                    "net": "0"
                  },
                  {
                    "id": "substrate",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP resistor model terminal order"
              },
              {
                "id": "XIck",
                "displayName": "Ick",
                "spiceType": "X",
                "model": "sg13g2_buf_2",
                "parametersOrValue": "",
                "source": "XIck clkd clk vdd 0 sg13g2_buf_2",
                "pins": [
                  {
                    "id": "X",
                    "net": "clkd"
                  },
                  {
                    "id": "A",
                    "net": "clk"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XMt",
                "displayName": "Mt",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=8u l=130n ng=2 m=1",
                "source": "XMt ctail clkd vdd vdd sg13_lv_pmos w=8u l=130n ng=2 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "ctail"
                  },
                  {
                    "id": "g",
                    "net": "clkd"
                  },
                  {
                    "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=16u l=260n ng=4 m=1",
                "source": "XM1 dip pn ctail vdd sg13_lv_pmos w=16u l=260n ng=4 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "dip"
                  },
                  {
                    "id": "g",
                    "net": "pn"
                  },
                  {
                    "id": "s",
                    "net": "ctail"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM2",
                "displayName": "M2",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=16u l=260n ng=4 m=1",
                "source": "XM2 din pp ctail vdd sg13_lv_pmos w=16u l=260n ng=4 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "din"
                  },
                  {
                    "id": "g",
                    "net": "pp"
                  },
                  {
                    "id": "s",
                    "net": "ctail"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM3",
                "displayName": "M3",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=8u l=130n ng=2 m=1",
                "source": "XM3 outp outn dip vdd sg13_lv_pmos w=8u l=130n ng=2 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "outp"
                  },
                  {
                    "id": "g",
                    "net": "outn"
                  },
                  {
                    "id": "s",
                    "net": "dip"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM4",
                "displayName": "M4",
                "spiceType": "X",
                "model": "sg13_lv_pmos",
                "parametersOrValue": "w=8u l=130n ng=2 m=1",
                "source": "XM4 outn outp din vdd sg13_lv_pmos w=8u l=130n ng=2 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "outn"
                  },
                  {
                    "id": "g",
                    "net": "outp"
                  },
                  {
                    "id": "s",
                    "net": "din"
                  },
                  {
                    "id": "b",
                    "net": "vdd"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM5",
                "displayName": "M5",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=2u l=130n ng=1 m=1",
                "source": "XM5 outp outn 0 0 sg13_lv_nmos w=2u l=130n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "outp"
                  },
                  {
                    "id": "g",
                    "net": "outn"
                  },
                  {
                    "id": "s",
                    "net": "0"
                  },
                  {
                    "id": "b",
                    "net": "0"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM6",
                "displayName": "M6",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=2u l=130n ng=1 m=1",
                "source": "XM6 outn outp 0 0 sg13_lv_nmos w=2u l=130n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "outn"
                  },
                  {
                    "id": "g",
                    "net": "outp"
                  },
                  {
                    "id": "s",
                    "net": "0"
                  },
                  {
                    "id": "b",
                    "net": "0"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM7",
                "displayName": "M7",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=1u l=130n ng=1 m=1",
                "source": "XM7 outp clkd 0 0 sg13_lv_nmos w=1u l=130n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "outp"
                  },
                  {
                    "id": "g",
                    "net": "clkd"
                  },
                  {
                    "id": "s",
                    "net": "0"
                  },
                  {
                    "id": "b",
                    "net": "0"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM8",
                "displayName": "M8",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=1u l=130n ng=1 m=1",
                "source": "XM8 outn clkd 0 0 sg13_lv_nmos w=1u l=130n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "outn"
                  },
                  {
                    "id": "g",
                    "net": "clkd"
                  },
                  {
                    "id": "s",
                    "net": "0"
                  },
                  {
                    "id": "b",
                    "net": "0"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM9",
                "displayName": "M9",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=1u l=130n ng=1 m=1",
                "source": "XM9 dip clkd 0 0 sg13_lv_nmos w=1u l=130n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "dip"
                  },
                  {
                    "id": "g",
                    "net": "clkd"
                  },
                  {
                    "id": "s",
                    "net": "0"
                  },
                  {
                    "id": "b",
                    "net": "0"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XM10",
                "displayName": "M10",
                "spiceType": "X",
                "model": "sg13_lv_nmos",
                "parametersOrValue": "w=1u l=130n ng=1 m=1",
                "source": "XM10 din clkd 0 0 sg13_lv_nmos w=1u l=130n ng=1 m=1",
                "pins": [
                  {
                    "id": "d",
                    "net": "din"
                  },
                  {
                    "id": "g",
                    "net": "clkd"
                  },
                  {
                    "id": "s",
                    "net": "0"
                  },
                  {
                    "id": "b",
                    "net": "0"
                  }
                ],
                "pinMeaning": "MOS drain, gate, source, bulk"
              },
              {
                "id": "XIkp",
                "displayName": "Ikp",
                "spiceType": "X",
                "model": "sg13g2_buf_1",
                "parametersOrValue": "",
                "source": "XIkp keep outp vdd 0 sg13g2_buf_1",
                "pins": [
                  {
                    "id": "X",
                    "net": "keep"
                  },
                  {
                    "id": "A",
                    "net": "outp"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XIkn",
                "displayName": "Ikn",
                "spiceType": "X",
                "model": "sg13g2_buf_1",
                "parametersOrValue": "",
                "source": "XIkn rej outn vdd 0 sg13g2_buf_1",
                "pins": [
                  {
                    "id": "X",
                    "net": "rej"
                  },
                  {
                    "id": "A",
                    "net": "outn"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XLs",
                "displayName": "Ls",
                "spiceType": "X",
                "model": "sg13g2_nor2_1",
                "parametersOrValue": "",
                "source": "XLs dec rej decb vdd 0 sg13g2_nor2_1",
                "pins": [
                  {
                    "id": "Y",
                    "net": "dec"
                  },
                  {
                    "id": "A",
                    "net": "rej"
                  },
                  {
                    "id": "B",
                    "net": "decb"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XLr",
                "displayName": "Lr",
                "spiceType": "X",
                "model": "sg13g2_nor2_1",
                "parametersOrValue": "",
                "source": "XLr decb keep dec vdd 0 sg13g2_nor2_1",
                "pins": [
                  {
                    "id": "Y",
                    "net": "decb"
                  },
                  {
                    "id": "A",
                    "net": "keep"
                  },
                  {
                    "id": "B",
                    "net": "dec"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              }
            ],
            "nets": [
              {
                "id": "ib",
                "ground": false,
                "terminals": [
                  {
                    "device": "XPbd",
                    "pin": "d"
                  },
                  {
                    "device": "XPbd",
                    "pin": "g"
                  },
                  {
                    "device": "XPbt",
                    "pin": "g"
                  }
                ],
                "ports": [
                  "ib"
                ],
                "voltageReferences": []
              },
              {
                "id": "vdd",
                "ground": false,
                "terminals": [
                  {
                    "device": "XPbd",
                    "pin": "s"
                  },
                  {
                    "device": "XPbd",
                    "pin": "b"
                  },
                  {
                    "device": "XPbt",
                    "pin": "s"
                  },
                  {
                    "device": "XPbt",
                    "pin": "b"
                  },
                  {
                    "device": "XP1",
                    "pin": "b"
                  },
                  {
                    "device": "XP2",
                    "pin": "b"
                  },
                  {
                    "device": "XIck",
                    "pin": "VDD"
                  },
                  {
                    "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": "XIkp",
                    "pin": "VDD"
                  },
                  {
                    "device": "XIkn",
                    "pin": "VDD"
                  },
                  {
                    "device": "XLs",
                    "pin": "VDD"
                  },
                  {
                    "device": "XLr",
                    "pin": "VDD"
                  }
                ],
                "ports": [
                  "vdd"
                ],
                "voltageReferences": []
              },
              {
                "id": "ptail",
                "ground": false,
                "terminals": [
                  {
                    "device": "XPbt",
                    "pin": "d"
                  },
                  {
                    "device": "XP1",
                    "pin": "s"
                  },
                  {
                    "device": "XP2",
                    "pin": "s"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "pn",
                "ground": false,
                "terminals": [
                  {
                    "device": "XP1",
                    "pin": "d"
                  },
                  {
                    "device": "XR1",
                    "pin": "p"
                  },
                  {
                    "device": "XM1",
                    "pin": "g"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "inp",
                "ground": false,
                "terminals": [
                  {
                    "device": "XP1",
                    "pin": "g"
                  }
                ],
                "ports": [
                  "inp"
                ],
                "voltageReferences": []
              },
              {
                "id": "pp",
                "ground": false,
                "terminals": [
                  {
                    "device": "XP2",
                    "pin": "d"
                  },
                  {
                    "device": "XR2",
                    "pin": "p"
                  },
                  {
                    "device": "XM2",
                    "pin": "g"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "inn",
                "ground": false,
                "terminals": [
                  {
                    "device": "XP2",
                    "pin": "g"
                  }
                ],
                "ports": [
                  "inn"
                ],
                "voltageReferences": []
              },
              {
                "id": "rn",
                "ground": false,
                "terminals": [
                  {
                    "device": "XR1",
                    "pin": "n"
                  },
                  {
                    "device": "XR3",
                    "pin": "p"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "0",
                "ground": true,
                "terminals": [
                  {
                    "device": "XR1",
                    "pin": "substrate"
                  },
                  {
                    "device": "XR3",
                    "pin": "n"
                  },
                  {
                    "device": "XR3",
                    "pin": "substrate"
                  },
                  {
                    "device": "XR2",
                    "pin": "substrate"
                  },
                  {
                    "device": "XR4",
                    "pin": "n"
                  },
                  {
                    "device": "XR4",
                    "pin": "substrate"
                  },
                  {
                    "device": "XIck",
                    "pin": "VSS"
                  },
                  {
                    "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": "XIkp",
                    "pin": "VSS"
                  },
                  {
                    "device": "XIkn",
                    "pin": "VSS"
                  },
                  {
                    "device": "XLs",
                    "pin": "VSS"
                  },
                  {
                    "device": "XLr",
                    "pin": "VSS"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "rp",
                "ground": false,
                "terminals": [
                  {
                    "device": "XR2",
                    "pin": "n"
                  },
                  {
                    "device": "XR4",
                    "pin": "p"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "clkd",
                "ground": false,
                "terminals": [
                  {
                    "device": "XIck",
                    "pin": "X"
                  },
                  {
                    "device": "XMt",
                    "pin": "g"
                  },
                  {
                    "device": "XM7",
                    "pin": "g"
                  },
                  {
                    "device": "XM8",
                    "pin": "g"
                  },
                  {
                    "device": "XM9",
                    "pin": "g"
                  },
                  {
                    "device": "XM10",
                    "pin": "g"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "clk",
                "ground": false,
                "terminals": [
                  {
                    "device": "XIck",
                    "pin": "A"
                  }
                ],
                "ports": [
                  "clk"
                ],
                "voltageReferences": []
              },
              {
                "id": "ctail",
                "ground": false,
                "terminals": [
                  {
                    "device": "XMt",
                    "pin": "d"
                  },
                  {
                    "device": "XM1",
                    "pin": "s"
                  },
                  {
                    "device": "XM2",
                    "pin": "s"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "dip",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM1",
                    "pin": "d"
                  },
                  {
                    "device": "XM3",
                    "pin": "s"
                  },
                  {
                    "device": "XM9",
                    "pin": "d"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "din",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM2",
                    "pin": "d"
                  },
                  {
                    "device": "XM4",
                    "pin": "s"
                  },
                  {
                    "device": "XM10",
                    "pin": "d"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "outp",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM3",
                    "pin": "d"
                  },
                  {
                    "device": "XM4",
                    "pin": "g"
                  },
                  {
                    "device": "XM5",
                    "pin": "d"
                  },
                  {
                    "device": "XM6",
                    "pin": "g"
                  },
                  {
                    "device": "XM7",
                    "pin": "d"
                  },
                  {
                    "device": "XIkp",
                    "pin": "A"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "outn",
                "ground": false,
                "terminals": [
                  {
                    "device": "XM3",
                    "pin": "g"
                  },
                  {
                    "device": "XM4",
                    "pin": "d"
                  },
                  {
                    "device": "XM5",
                    "pin": "g"
                  },
                  {
                    "device": "XM6",
                    "pin": "d"
                  },
                  {
                    "device": "XM8",
                    "pin": "d"
                  },
                  {
                    "device": "XIkn",
                    "pin": "A"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "keep",
                "ground": false,
                "terminals": [
                  {
                    "device": "XIkp",
                    "pin": "X"
                  },
                  {
                    "device": "XLr",
                    "pin": "A"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "rej",
                "ground": false,
                "terminals": [
                  {
                    "device": "XIkn",
                    "pin": "X"
                  },
                  {
                    "device": "XLs",
                    "pin": "A"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "dec",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLs",
                    "pin": "Y"
                  },
                  {
                    "device": "XLr",
                    "pin": "B"
                  }
                ],
                "ports": [
                  "dec"
                ],
                "voltageReferences": []
              },
              {
                "id": "decb",
                "ground": false,
                "terminals": [
                  {
                    "device": "XLs",
                    "pin": "B"
                  },
                  {
                    "device": "XLr",
                    "pin": "Y"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              }
            ]
          },
          {
            "id": "subckt/msar_logic",
            "name": "msar_logic",
            "ports": [
              {
                "name": "clk",
                "net": "clk"
              },
              {
                "name": "conv",
                "net": "conv"
              },
              {
                "name": "dec",
                "net": "dec"
              },
              {
                "name": "d5",
                "net": "d5"
              },
              {
                "name": "d4",
                "net": "d4"
              },
              {
                "name": "d3",
                "net": "d3"
              },
              {
                "name": "d2",
                "net": "d2"
              },
              {
                "name": "d1",
                "net": "d1"
              },
              {
                "name": "d0",
                "net": "d0"
              },
              {
                "name": "s5",
                "net": "s5"
              },
              {
                "name": "s4",
                "net": "s4"
              },
              {
                "name": "s3",
                "net": "s3"
              },
              {
                "name": "s2",
                "net": "s2"
              },
              {
                "name": "s1",
                "net": "s1"
              },
              {
                "name": "s0",
                "net": "s0"
              },
              {
                "name": "eoc",
                "net": "eoc"
              },
              {
                "name": "vdd",
                "net": "vdd"
              }
            ],
            "definitions": [],
            "devices": [
              {
                "id": "XTs",
                "displayName": "Ts",
                "spiceType": "X",
                "model": "sg13g2_buf_1",
                "parametersOrValue": "",
                "source": "XTs s5 conv vdd 0 sg13g2_buf_1",
                "pins": [
                  {
                    "id": "X",
                    "net": "s5"
                  },
                  {
                    "id": "A",
                    "net": "conv"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XT4",
                "displayName": "T4",
                "spiceType": "X",
                "model": "sg13g2_dfrbpq_1",
                "parametersOrValue": "",
                "source": "XT4 s4 clk s5 conv vdd 0 sg13g2_dfrbpq_1",
                "pins": [
                  {
                    "id": "Q",
                    "net": "s4"
                  },
                  {
                    "id": "CLK",
                    "net": "clk"
                  },
                  {
                    "id": "D",
                    "net": "s5"
                  },
                  {
                    "id": "RESET_B",
                    "net": "conv"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XT3",
                "displayName": "T3",
                "spiceType": "X",
                "model": "sg13g2_dfrbpq_1",
                "parametersOrValue": "",
                "source": "XT3 s3 clk s4 conv vdd 0 sg13g2_dfrbpq_1",
                "pins": [
                  {
                    "id": "Q",
                    "net": "s3"
                  },
                  {
                    "id": "CLK",
                    "net": "clk"
                  },
                  {
                    "id": "D",
                    "net": "s4"
                  },
                  {
                    "id": "RESET_B",
                    "net": "conv"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XT2",
                "displayName": "T2",
                "spiceType": "X",
                "model": "sg13g2_dfrbpq_1",
                "parametersOrValue": "",
                "source": "XT2 s2 clk s3 conv vdd 0 sg13g2_dfrbpq_1",
                "pins": [
                  {
                    "id": "Q",
                    "net": "s2"
                  },
                  {
                    "id": "CLK",
                    "net": "clk"
                  },
                  {
                    "id": "D",
                    "net": "s3"
                  },
                  {
                    "id": "RESET_B",
                    "net": "conv"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XT1",
                "displayName": "T1",
                "spiceType": "X",
                "model": "sg13g2_dfrbpq_1",
                "parametersOrValue": "",
                "source": "XT1 s1 clk s2 conv vdd 0 sg13g2_dfrbpq_1",
                "pins": [
                  {
                    "id": "Q",
                    "net": "s1"
                  },
                  {
                    "id": "CLK",
                    "net": "clk"
                  },
                  {
                    "id": "D",
                    "net": "s2"
                  },
                  {
                    "id": "RESET_B",
                    "net": "conv"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XT0",
                "displayName": "T0",
                "spiceType": "X",
                "model": "sg13g2_dfrbpq_1",
                "parametersOrValue": "",
                "source": "XT0 s0 clk s1 conv vdd 0 sg13g2_dfrbpq_1",
                "pins": [
                  {
                    "id": "Q",
                    "net": "s0"
                  },
                  {
                    "id": "CLK",
                    "net": "clk"
                  },
                  {
                    "id": "D",
                    "net": "s1"
                  },
                  {
                    "id": "RESET_B",
                    "net": "conv"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XTend",
                "displayName": "Tend",
                "spiceType": "X",
                "model": "sg13g2_dfrbpq_1",
                "parametersOrValue": "",
                "source": "XTend eoc clk s0 conv vdd 0 sg13g2_dfrbpq_1",
                "pins": [
                  {
                    "id": "Q",
                    "net": "eoc"
                  },
                  {
                    "id": "CLK",
                    "net": "clk"
                  },
                  {
                    "id": "D",
                    "net": "s0"
                  },
                  {
                    "id": "RESET_B",
                    "net": "conv"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XH5",
                "displayName": "H5",
                "spiceType": "X",
                "model": "sg13g2_nor2b_1",
                "parametersOrValue": "",
                "source": "XH5 t5 s4 s5 vdd 0 sg13g2_nor2b_1",
                "pins": [
                  {
                    "id": "Y",
                    "net": "t5"
                  },
                  {
                    "id": "A",
                    "net": "s4"
                  },
                  {
                    "id": "B_N",
                    "net": "s5"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XK5",
                "displayName": "K5",
                "spiceType": "X",
                "model": "sg13g2_mux2_1",
                "parametersOrValue": "",
                "source": "XK5 nd5 d5 dec t5 vdd 0 sg13g2_mux2_1",
                "pins": [
                  {
                    "id": "X",
                    "net": "nd5"
                  },
                  {
                    "id": "A0",
                    "net": "d5"
                  },
                  {
                    "id": "A1",
                    "net": "dec"
                  },
                  {
                    "id": "S",
                    "net": "t5"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XF5",
                "displayName": "F5",
                "spiceType": "X",
                "model": "sg13g2_dfrbpq_1",
                "parametersOrValue": "",
                "source": "XF5 d5 clk nd5 conv vdd 0 sg13g2_dfrbpq_1",
                "pins": [
                  {
                    "id": "Q",
                    "net": "d5"
                  },
                  {
                    "id": "CLK",
                    "net": "clk"
                  },
                  {
                    "id": "D",
                    "net": "nd5"
                  },
                  {
                    "id": "RESET_B",
                    "net": "conv"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XH4",
                "displayName": "H4",
                "spiceType": "X",
                "model": "sg13g2_nor2b_1",
                "parametersOrValue": "",
                "source": "XH4 t4 s3 s4 vdd 0 sg13g2_nor2b_1",
                "pins": [
                  {
                    "id": "Y",
                    "net": "t4"
                  },
                  {
                    "id": "A",
                    "net": "s3"
                  },
                  {
                    "id": "B_N",
                    "net": "s4"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XK4",
                "displayName": "K4",
                "spiceType": "X",
                "model": "sg13g2_mux2_1",
                "parametersOrValue": "",
                "source": "XK4 nd4 d4 dec t4 vdd 0 sg13g2_mux2_1",
                "pins": [
                  {
                    "id": "X",
                    "net": "nd4"
                  },
                  {
                    "id": "A0",
                    "net": "d4"
                  },
                  {
                    "id": "A1",
                    "net": "dec"
                  },
                  {
                    "id": "S",
                    "net": "t4"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XF4",
                "displayName": "F4",
                "spiceType": "X",
                "model": "sg13g2_dfrbpq_1",
                "parametersOrValue": "",
                "source": "XF4 d4 clk nd4 conv vdd 0 sg13g2_dfrbpq_1",
                "pins": [
                  {
                    "id": "Q",
                    "net": "d4"
                  },
                  {
                    "id": "CLK",
                    "net": "clk"
                  },
                  {
                    "id": "D",
                    "net": "nd4"
                  },
                  {
                    "id": "RESET_B",
                    "net": "conv"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XH3",
                "displayName": "H3",
                "spiceType": "X",
                "model": "sg13g2_nor2b_1",
                "parametersOrValue": "",
                "source": "XH3 t3 s2 s3 vdd 0 sg13g2_nor2b_1",
                "pins": [
                  {
                    "id": "Y",
                    "net": "t3"
                  },
                  {
                    "id": "A",
                    "net": "s2"
                  },
                  {
                    "id": "B_N",
                    "net": "s3"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XK3",
                "displayName": "K3",
                "spiceType": "X",
                "model": "sg13g2_mux2_1",
                "parametersOrValue": "",
                "source": "XK3 nd3 d3 dec t3 vdd 0 sg13g2_mux2_1",
                "pins": [
                  {
                    "id": "X",
                    "net": "nd3"
                  },
                  {
                    "id": "A0",
                    "net": "d3"
                  },
                  {
                    "id": "A1",
                    "net": "dec"
                  },
                  {
                    "id": "S",
                    "net": "t3"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XF3",
                "displayName": "F3",
                "spiceType": "X",
                "model": "sg13g2_dfrbpq_1",
                "parametersOrValue": "",
                "source": "XF3 d3 clk nd3 conv vdd 0 sg13g2_dfrbpq_1",
                "pins": [
                  {
                    "id": "Q",
                    "net": "d3"
                  },
                  {
                    "id": "CLK",
                    "net": "clk"
                  },
                  {
                    "id": "D",
                    "net": "nd3"
                  },
                  {
                    "id": "RESET_B",
                    "net": "conv"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XH2",
                "displayName": "H2",
                "spiceType": "X",
                "model": "sg13g2_nor2b_1",
                "parametersOrValue": "",
                "source": "XH2 t2 s1 s2 vdd 0 sg13g2_nor2b_1",
                "pins": [
                  {
                    "id": "Y",
                    "net": "t2"
                  },
                  {
                    "id": "A",
                    "net": "s1"
                  },
                  {
                    "id": "B_N",
                    "net": "s2"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XK2",
                "displayName": "K2",
                "spiceType": "X",
                "model": "sg13g2_mux2_1",
                "parametersOrValue": "",
                "source": "XK2 nd2 d2 dec t2 vdd 0 sg13g2_mux2_1",
                "pins": [
                  {
                    "id": "X",
                    "net": "nd2"
                  },
                  {
                    "id": "A0",
                    "net": "d2"
                  },
                  {
                    "id": "A1",
                    "net": "dec"
                  },
                  {
                    "id": "S",
                    "net": "t2"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XF2",
                "displayName": "F2",
                "spiceType": "X",
                "model": "sg13g2_dfrbpq_1",
                "parametersOrValue": "",
                "source": "XF2 d2 clk nd2 conv vdd 0 sg13g2_dfrbpq_1",
                "pins": [
                  {
                    "id": "Q",
                    "net": "d2"
                  },
                  {
                    "id": "CLK",
                    "net": "clk"
                  },
                  {
                    "id": "D",
                    "net": "nd2"
                  },
                  {
                    "id": "RESET_B",
                    "net": "conv"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XH1",
                "displayName": "H1",
                "spiceType": "X",
                "model": "sg13g2_nor2b_1",
                "parametersOrValue": "",
                "source": "XH1 t1 s0 s1 vdd 0 sg13g2_nor2b_1",
                "pins": [
                  {
                    "id": "Y",
                    "net": "t1"
                  },
                  {
                    "id": "A",
                    "net": "s0"
                  },
                  {
                    "id": "B_N",
                    "net": "s1"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XK1",
                "displayName": "K1",
                "spiceType": "X",
                "model": "sg13g2_mux2_1",
                "parametersOrValue": "",
                "source": "XK1 nd1 d1 dec t1 vdd 0 sg13g2_mux2_1",
                "pins": [
                  {
                    "id": "X",
                    "net": "nd1"
                  },
                  {
                    "id": "A0",
                    "net": "d1"
                  },
                  {
                    "id": "A1",
                    "net": "dec"
                  },
                  {
                    "id": "S",
                    "net": "t1"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XF1",
                "displayName": "F1",
                "spiceType": "X",
                "model": "sg13g2_dfrbpq_1",
                "parametersOrValue": "",
                "source": "XF1 d1 clk nd1 conv vdd 0 sg13g2_dfrbpq_1",
                "pins": [
                  {
                    "id": "Q",
                    "net": "d1"
                  },
                  {
                    "id": "CLK",
                    "net": "clk"
                  },
                  {
                    "id": "D",
                    "net": "nd1"
                  },
                  {
                    "id": "RESET_B",
                    "net": "conv"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XH0",
                "displayName": "H0",
                "spiceType": "X",
                "model": "sg13g2_nor2b_1",
                "parametersOrValue": "",
                "source": "XH0 t0 eoc s0 vdd 0 sg13g2_nor2b_1",
                "pins": [
                  {
                    "id": "Y",
                    "net": "t0"
                  },
                  {
                    "id": "A",
                    "net": "eoc"
                  },
                  {
                    "id": "B_N",
                    "net": "s0"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XK0",
                "displayName": "K0",
                "spiceType": "X",
                "model": "sg13g2_mux2_1",
                "parametersOrValue": "",
                "source": "XK0 nd0 d0 dec t0 vdd 0 sg13g2_mux2_1",
                "pins": [
                  {
                    "id": "X",
                    "net": "nd0"
                  },
                  {
                    "id": "A0",
                    "net": "d0"
                  },
                  {
                    "id": "A1",
                    "net": "dec"
                  },
                  {
                    "id": "S",
                    "net": "t0"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              },
              {
                "id": "XF0",
                "displayName": "F0",
                "spiceType": "X",
                "model": "sg13g2_dfrbpq_1",
                "parametersOrValue": "",
                "source": "XF0 d0 clk nd0 conv vdd 0 sg13g2_dfrbpq_1",
                "pins": [
                  {
                    "id": "Q",
                    "net": "d0"
                  },
                  {
                    "id": "CLK",
                    "net": "clk"
                  },
                  {
                    "id": "D",
                    "net": "nd0"
                  },
                  {
                    "id": "RESET_B",
                    "net": "conv"
                  },
                  {
                    "id": "VDD",
                    "net": "vdd"
                  },
                  {
                    "id": "VSS",
                    "net": "0"
                  }
                ],
                "pinMeaning": "IHP standard-cell declared terminal order"
              }
            ],
            "nets": [
              {
                "id": "s5",
                "ground": false,
                "terminals": [
                  {
                    "device": "XTs",
                    "pin": "X"
                  },
                  {
                    "device": "XT4",
                    "pin": "D"
                  },
                  {
                    "device": "XH5",
                    "pin": "B_N"
                  }
                ],
                "ports": [
                  "s5"
                ],
                "voltageReferences": []
              },
              {
                "id": "conv",
                "ground": false,
                "terminals": [
                  {
                    "device": "XTs",
                    "pin": "A"
                  },
                  {
                    "device": "XT4",
                    "pin": "RESET_B"
                  },
                  {
                    "device": "XT3",
                    "pin": "RESET_B"
                  },
                  {
                    "device": "XT2",
                    "pin": "RESET_B"
                  },
                  {
                    "device": "XT1",
                    "pin": "RESET_B"
                  },
                  {
                    "device": "XT0",
                    "pin": "RESET_B"
                  },
                  {
                    "device": "XTend",
                    "pin": "RESET_B"
                  },
                  {
                    "device": "XF5",
                    "pin": "RESET_B"
                  },
                  {
                    "device": "XF4",
                    "pin": "RESET_B"
                  },
                  {
                    "device": "XF3",
                    "pin": "RESET_B"
                  },
                  {
                    "device": "XF2",
                    "pin": "RESET_B"
                  },
                  {
                    "device": "XF1",
                    "pin": "RESET_B"
                  },
                  {
                    "device": "XF0",
                    "pin": "RESET_B"
                  }
                ],
                "ports": [
                  "conv"
                ],
                "voltageReferences": []
              },
              {
                "id": "vdd",
                "ground": false,
                "terminals": [
                  {
                    "device": "XTs",
                    "pin": "VDD"
                  },
                  {
                    "device": "XT4",
                    "pin": "VDD"
                  },
                  {
                    "device": "XT3",
                    "pin": "VDD"
                  },
                  {
                    "device": "XT2",
                    "pin": "VDD"
                  },
                  {
                    "device": "XT1",
                    "pin": "VDD"
                  },
                  {
                    "device": "XT0",
                    "pin": "VDD"
                  },
                  {
                    "device": "XTend",
                    "pin": "VDD"
                  },
                  {
                    "device": "XH5",
                    "pin": "VDD"
                  },
                  {
                    "device": "XK5",
                    "pin": "VDD"
                  },
                  {
                    "device": "XF5",
                    "pin": "VDD"
                  },
                  {
                    "device": "XH4",
                    "pin": "VDD"
                  },
                  {
                    "device": "XK4",
                    "pin": "VDD"
                  },
                  {
                    "device": "XF4",
                    "pin": "VDD"
                  },
                  {
                    "device": "XH3",
                    "pin": "VDD"
                  },
                  {
                    "device": "XK3",
                    "pin": "VDD"
                  },
                  {
                    "device": "XF3",
                    "pin": "VDD"
                  },
                  {
                    "device": "XH2",
                    "pin": "VDD"
                  },
                  {
                    "device": "XK2",
                    "pin": "VDD"
                  },
                  {
                    "device": "XF2",
                    "pin": "VDD"
                  },
                  {
                    "device": "XH1",
                    "pin": "VDD"
                  },
                  {
                    "device": "XK1",
                    "pin": "VDD"
                  },
                  {
                    "device": "XF1",
                    "pin": "VDD"
                  },
                  {
                    "device": "XH0",
                    "pin": "VDD"
                  },
                  {
                    "device": "XK0",
                    "pin": "VDD"
                  },
                  {
                    "device": "XF0",
                    "pin": "VDD"
                  }
                ],
                "ports": [
                  "vdd"
                ],
                "voltageReferences": []
              },
              {
                "id": "0",
                "ground": true,
                "terminals": [
                  {
                    "device": "XTs",
                    "pin": "VSS"
                  },
                  {
                    "device": "XT4",
                    "pin": "VSS"
                  },
                  {
                    "device": "XT3",
                    "pin": "VSS"
                  },
                  {
                    "device": "XT2",
                    "pin": "VSS"
                  },
                  {
                    "device": "XT1",
                    "pin": "VSS"
                  },
                  {
                    "device": "XT0",
                    "pin": "VSS"
                  },
                  {
                    "device": "XTend",
                    "pin": "VSS"
                  },
                  {
                    "device": "XH5",
                    "pin": "VSS"
                  },
                  {
                    "device": "XK5",
                    "pin": "VSS"
                  },
                  {
                    "device": "XF5",
                    "pin": "VSS"
                  },
                  {
                    "device": "XH4",
                    "pin": "VSS"
                  },
                  {
                    "device": "XK4",
                    "pin": "VSS"
                  },
                  {
                    "device": "XF4",
                    "pin": "VSS"
                  },
                  {
                    "device": "XH3",
                    "pin": "VSS"
                  },
                  {
                    "device": "XK3",
                    "pin": "VSS"
                  },
                  {
                    "device": "XF3",
                    "pin": "VSS"
                  },
                  {
                    "device": "XH2",
                    "pin": "VSS"
                  },
                  {
                    "device": "XK2",
                    "pin": "VSS"
                  },
                  {
                    "device": "XF2",
                    "pin": "VSS"
                  },
                  {
                    "device": "XH1",
                    "pin": "VSS"
                  },
                  {
                    "device": "XK1",
                    "pin": "VSS"
                  },
                  {
                    "device": "XF1",
                    "pin": "VSS"
                  },
                  {
                    "device": "XH0",
                    "pin": "VSS"
                  },
                  {
                    "device": "XK0",
                    "pin": "VSS"
                  },
                  {
                    "device": "XF0",
                    "pin": "VSS"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "s4",
                "ground": false,
                "terminals": [
                  {
                    "device": "XT4",
                    "pin": "Q"
                  },
                  {
                    "device": "XT3",
                    "pin": "D"
                  },
                  {
                    "device": "XH5",
                    "pin": "A"
                  },
                  {
                    "device": "XH4",
                    "pin": "B_N"
                  }
                ],
                "ports": [
                  "s4"
                ],
                "voltageReferences": []
              },
              {
                "id": "clk",
                "ground": false,
                "terminals": [
                  {
                    "device": "XT4",
                    "pin": "CLK"
                  },
                  {
                    "device": "XT3",
                    "pin": "CLK"
                  },
                  {
                    "device": "XT2",
                    "pin": "CLK"
                  },
                  {
                    "device": "XT1",
                    "pin": "CLK"
                  },
                  {
                    "device": "XT0",
                    "pin": "CLK"
                  },
                  {
                    "device": "XTend",
                    "pin": "CLK"
                  },
                  {
                    "device": "XF5",
                    "pin": "CLK"
                  },
                  {
                    "device": "XF4",
                    "pin": "CLK"
                  },
                  {
                    "device": "XF3",
                    "pin": "CLK"
                  },
                  {
                    "device": "XF2",
                    "pin": "CLK"
                  },
                  {
                    "device": "XF1",
                    "pin": "CLK"
                  },
                  {
                    "device": "XF0",
                    "pin": "CLK"
                  }
                ],
                "ports": [
                  "clk"
                ],
                "voltageReferences": []
              },
              {
                "id": "s3",
                "ground": false,
                "terminals": [
                  {
                    "device": "XT3",
                    "pin": "Q"
                  },
                  {
                    "device": "XT2",
                    "pin": "D"
                  },
                  {
                    "device": "XH4",
                    "pin": "A"
                  },
                  {
                    "device": "XH3",
                    "pin": "B_N"
                  }
                ],
                "ports": [
                  "s3"
                ],
                "voltageReferences": []
              },
              {
                "id": "s2",
                "ground": false,
                "terminals": [
                  {
                    "device": "XT2",
                    "pin": "Q"
                  },
                  {
                    "device": "XT1",
                    "pin": "D"
                  },
                  {
                    "device": "XH3",
                    "pin": "A"
                  },
                  {
                    "device": "XH2",
                    "pin": "B_N"
                  }
                ],
                "ports": [
                  "s2"
                ],
                "voltageReferences": []
              },
              {
                "id": "s1",
                "ground": false,
                "terminals": [
                  {
                    "device": "XT1",
                    "pin": "Q"
                  },
                  {
                    "device": "XT0",
                    "pin": "D"
                  },
                  {
                    "device": "XH2",
                    "pin": "A"
                  },
                  {
                    "device": "XH1",
                    "pin": "B_N"
                  }
                ],
                "ports": [
                  "s1"
                ],
                "voltageReferences": []
              },
              {
                "id": "s0",
                "ground": false,
                "terminals": [
                  {
                    "device": "XT0",
                    "pin": "Q"
                  },
                  {
                    "device": "XTend",
                    "pin": "D"
                  },
                  {
                    "device": "XH1",
                    "pin": "A"
                  },
                  {
                    "device": "XH0",
                    "pin": "B_N"
                  }
                ],
                "ports": [
                  "s0"
                ],
                "voltageReferences": []
              },
              {
                "id": "eoc",
                "ground": false,
                "terminals": [
                  {
                    "device": "XTend",
                    "pin": "Q"
                  },
                  {
                    "device": "XH0",
                    "pin": "A"
                  }
                ],
                "ports": [
                  "eoc"
                ],
                "voltageReferences": []
              },
              {
                "id": "t5",
                "ground": false,
                "terminals": [
                  {
                    "device": "XH5",
                    "pin": "Y"
                  },
                  {
                    "device": "XK5",
                    "pin": "S"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "nd5",
                "ground": false,
                "terminals": [
                  {
                    "device": "XK5",
                    "pin": "X"
                  },
                  {
                    "device": "XF5",
                    "pin": "D"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "d5",
                "ground": false,
                "terminals": [
                  {
                    "device": "XK5",
                    "pin": "A0"
                  },
                  {
                    "device": "XF5",
                    "pin": "Q"
                  }
                ],
                "ports": [
                  "d5"
                ],
                "voltageReferences": []
              },
              {
                "id": "dec",
                "ground": false,
                "terminals": [
                  {
                    "device": "XK5",
                    "pin": "A1"
                  },
                  {
                    "device": "XK4",
                    "pin": "A1"
                  },
                  {
                    "device": "XK3",
                    "pin": "A1"
                  },
                  {
                    "device": "XK2",
                    "pin": "A1"
                  },
                  {
                    "device": "XK1",
                    "pin": "A1"
                  },
                  {
                    "device": "XK0",
                    "pin": "A1"
                  }
                ],
                "ports": [
                  "dec"
                ],
                "voltageReferences": []
              },
              {
                "id": "t4",
                "ground": false,
                "terminals": [
                  {
                    "device": "XH4",
                    "pin": "Y"
                  },
                  {
                    "device": "XK4",
                    "pin": "S"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "nd4",
                "ground": false,
                "terminals": [
                  {
                    "device": "XK4",
                    "pin": "X"
                  },
                  {
                    "device": "XF4",
                    "pin": "D"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "d4",
                "ground": false,
                "terminals": [
                  {
                    "device": "XK4",
                    "pin": "A0"
                  },
                  {
                    "device": "XF4",
                    "pin": "Q"
                  }
                ],
                "ports": [
                  "d4"
                ],
                "voltageReferences": []
              },
              {
                "id": "t3",
                "ground": false,
                "terminals": [
                  {
                    "device": "XH3",
                    "pin": "Y"
                  },
                  {
                    "device": "XK3",
                    "pin": "S"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "nd3",
                "ground": false,
                "terminals": [
                  {
                    "device": "XK3",
                    "pin": "X"
                  },
                  {
                    "device": "XF3",
                    "pin": "D"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "d3",
                "ground": false,
                "terminals": [
                  {
                    "device": "XK3",
                    "pin": "A0"
                  },
                  {
                    "device": "XF3",
                    "pin": "Q"
                  }
                ],
                "ports": [
                  "d3"
                ],
                "voltageReferences": []
              },
              {
                "id": "t2",
                "ground": false,
                "terminals": [
                  {
                    "device": "XH2",
                    "pin": "Y"
                  },
                  {
                    "device": "XK2",
                    "pin": "S"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "nd2",
                "ground": false,
                "terminals": [
                  {
                    "device": "XK2",
                    "pin": "X"
                  },
                  {
                    "device": "XF2",
                    "pin": "D"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "d2",
                "ground": false,
                "terminals": [
                  {
                    "device": "XK2",
                    "pin": "A0"
                  },
                  {
                    "device": "XF2",
                    "pin": "Q"
                  }
                ],
                "ports": [
                  "d2"
                ],
                "voltageReferences": []
              },
              {
                "id": "t1",
                "ground": false,
                "terminals": [
                  {
                    "device": "XH1",
                    "pin": "Y"
                  },
                  {
                    "device": "XK1",
                    "pin": "S"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "nd1",
                "ground": false,
                "terminals": [
                  {
                    "device": "XK1",
                    "pin": "X"
                  },
                  {
                    "device": "XF1",
                    "pin": "D"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "d1",
                "ground": false,
                "terminals": [
                  {
                    "device": "XK1",
                    "pin": "A0"
                  },
                  {
                    "device": "XF1",
                    "pin": "Q"
                  }
                ],
                "ports": [
                  "d1"
                ],
                "voltageReferences": []
              },
              {
                "id": "t0",
                "ground": false,
                "terminals": [
                  {
                    "device": "XH0",
                    "pin": "Y"
                  },
                  {
                    "device": "XK0",
                    "pin": "S"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "nd0",
                "ground": false,
                "terminals": [
                  {
                    "device": "XK0",
                    "pin": "X"
                  },
                  {
                    "device": "XF0",
                    "pin": "D"
                  }
                ],
                "ports": [],
                "voltageReferences": []
              },
              {
                "id": "d0",
                "ground": false,
                "terminals": [
                  {
                    "device": "XK0",
                    "pin": "A0"
                  },
                  {
                    "device": "XF0",
                    "pin": "Q"
                  }
                ],
                "ports": [
                  "d0"
                ],
                "voltageReferences": []
              }
            ]
          }
        ],
        "uninstantiatedDefinitions": [],
        "dut": {
          "kind": "subcircuit-instance",
          "scope": "top",
          "device": "Xadc",
          "definition": "subckt/msar_adc"
        }
      },
      {
        "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": "The P array",
            "devices": [
              {
                "scope": "dut",
                "device": "XCP0"
              },
              {
                "scope": "dut",
                "device": "XCP1"
              },
              {
                "scope": "dut",
                "device": "XCP2"
              },
              {
                "scope": "dut",
                "device": "XCP3"
              },
              {
                "scope": "dut",
                "device": "XCP4"
              }
            ],
            "inferredStages": [
              "bias"
            ]
          },
          {
            "id": "block-2",
            "label": "The N array",
            "devices": [
              {
                "scope": "dut",
                "device": "XCN0"
              },
              {
                "scope": "dut",
                "device": "XCN1"
              },
              {
                "scope": "dut",
                "device": "XCN2"
              },
              {
                "scope": "dut",
                "device": "XCN3"
              },
              {
                "scope": "dut",
                "device": "XCN4"
              }
            ],
            "inferredStages": [
              "bias"
            ]
          },
          {
            "id": "block-3",
            "label": "One more unit on each side (with CNt)",
            "devices": [
              {
                "scope": "dut",
                "device": "XCPt"
              }
            ],
            "inferredStages": [
              "bias"
            ]
          },
          {
            "id": "block-4",
            "label": "P side: capacitor k to ground once bit k+1 is decided 1",
            "devices": [
              {
                "scope": "dut",
                "device": "XLP0"
              },
              {
                "scope": "dut",
                "device": "XLP1"
              },
              {
                "scope": "dut",
                "device": "XLP2"
              },
              {
                "scope": "dut",
                "device": "XLP3"
              },
              {
                "scope": "dut",
                "device": "XLP4"
              }
            ],
            "inferredStages": [
              "bias"
            ]
          },
          {
            "id": "block-5",
            "label": "N side: capacitor k to ground once bit k+1 is decided 0 (s_k says it is decided)",
            "devices": [
              {
                "scope": "dut",
                "device": "XLN0"
              },
              {
                "scope": "dut",
                "device": "XLN1"
              },
              {
                "scope": "dut",
                "device": "XLN2"
              },
              {
                "scope": "dut",
                "device": "XLN3"
              },
              {
                "scope": "dut",
                "device": "XLN4"
              }
            ],
            "inferredStages": [
              "bias"
            ]
          },
          {
            "id": "block-6",
            "label": "Bottom-plate drivers",
            "devices": [
              {
                "scope": "dut",
                "device": "XDP0"
              },
              {
                "scope": "dut",
                "device": "XDP1"
              },
              {
                "scope": "dut",
                "device": "XDP2"
              },
              {
                "scope": "dut",
                "device": "XDP3"
              }
            ],
            "inferredStages": [
              "bias"
            ]
          },
          {
            "id": "block-7",
            "label": "X",
            "devices": [
              {
                "scope": "dut",
                "device": "XIs"
              }
            ],
            "inferredStages": [
              "bias"
            ]
          },
          {
            "id": "block-8",
            "label": "NMOS",
            "devices": [
              {
                "scope": "dut",
                "device": "XSpn"
              }
            ],
            "inferredStages": [
              1
            ]
          },
          {
            "id": "block-9",
            "label": "PMOS",
            "devices": [
              {
                "scope": "dut",
                "device": "XSpp"
              }
            ],
            "inferredStages": [
              1
            ]
          },
          {
            "id": "block-10",
            "label": "NMOS",
            "devices": [
              {
                "scope": "dut",
                "device": "XSnn"
              }
            ],
            "inferredStages": [
              1
            ]
          },
          {
            "id": "block-11",
            "label": "PMOS",
            "devices": [
              {
                "scope": "dut",
                "device": "XSnp"
              }
            ],
            "inferredStages": [
              1
            ]
          },
          {
            "id": "block-12",
            "label": "X",
            "devices": [
              {
                "scope": "dut",
                "device": "XDN0"
              }
            ],
            "inferredStages": [
              "bias"
            ]
          },
          {
            "id": "block-13",
            "label": "X",
            "devices": [
              {
                "scope": "dut",
                "device": "XDN1"
              }
            ],
            "inferredStages": [
              "bias"
            ]
          },
          {
            "id": "block-14",
            "label": "X",
            "devices": [
              {
                "scope": "dut",
                "device": "XDN2"
              }
            ],
            "inferredStages": [
              "bias"
            ]
          },
          {
            "id": "block-15",
            "label": "X",
            "devices": [
              {
                "scope": "dut",
                "device": "XDN3"
              }
            ],
            "inferredStages": [
              "bias"
            ]
          },
          {
            "id": "block-16",
            "label": "X",
            "devices": [
              {
                "scope": "dut",
                "device": "XDP4a"
              }
            ],
            "inferredStages": [
              "bias"
            ]
          },
          {
            "id": "block-17",
            "label": "X",
            "devices": [
              {
                "scope": "dut",
                "device": "XDP4b"
              }
            ],
            "inferredStages": [
              "bias"
            ]
          },
          {
            "id": "block-18",
            "label": "X",
            "devices": [
              {
                "scope": "dut",
                "device": "XDN4a"
              }
            ],
            "inferredStages": [
              "bias"
            ]
          },
          {
            "id": "block-19",
            "label": "X",
            "devices": [
              {
                "scope": "dut",
                "device": "XDN4b"
              }
            ],
            "inferredStages": [
              "bias"
            ]
          },
          {
            "id": "block-20",
            "label": "capacitor",
            "devices": [
              {
                "scope": "dut",
                "device": "XCNt"
              }
            ],
            "inferredStages": [
              "bias"
            ]
          },
          {
            "id": "block-21",
            "label": "X",
            "devices": [
              {
                "scope": "dut",
                "device": "Xcmp"
              }
            ],
            "inferredStages": [
              "bias"
            ]
          },
          {
            "id": "block-22",
            "label": "X",
            "devices": [
              {
                "scope": "dut",
                "device": "Xsar"
              }
            ],
            "inferredStages": [
              "bias"
            ]
          }
        ],
        "edges": [
          {
            "id": "net-1",
            "net": "sampn",
            "nodes": [
              "block-7",
              "block-9",
              "block-11",
              "block-22"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-2",
            "net": "samp",
            "nodes": [
              "block-7",
              "block-8",
              "block-10"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-3",
            "net": "vip",
            "nodes": [
              "block-8",
              "block-9"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-4",
            "net": "topp",
            "nodes": [
              "block-8",
              "block-9",
              "block-1",
              "block-3",
              "block-21"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-5",
            "net": "vin",
            "nodes": [
              "block-10",
              "block-11"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-6",
            "net": "topn",
            "nodes": [
              "block-10",
              "block-11",
              "block-2",
              "block-20",
              "block-21"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-7",
            "net": "bp0",
            "nodes": [
              "block-1",
              "block-6"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-8",
            "net": "bn0",
            "nodes": [
              "block-2",
              "block-12"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-9",
            "net": "cp0",
            "nodes": [
              "block-4",
              "block-6"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-10",
            "net": "d1",
            "nodes": [
              "block-4",
              "block-5",
              "block-22"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-11",
            "net": "cn0",
            "nodes": [
              "block-5",
              "block-12"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-12",
            "net": "s0",
            "nodes": [
              "block-5",
              "block-22"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-13",
            "net": "vref",
            "nodes": [
              "block-6",
              "block-12",
              "block-13",
              "block-14",
              "block-15",
              "block-16",
              "block-17",
              "block-18",
              "block-19"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-14",
            "net": "bp1",
            "nodes": [
              "block-1",
              "block-6"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-15",
            "net": "bn1",
            "nodes": [
              "block-2",
              "block-13"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-16",
            "net": "cp1",
            "nodes": [
              "block-4",
              "block-6"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-17",
            "net": "d2",
            "nodes": [
              "block-4",
              "block-5",
              "block-22"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-18",
            "net": "cn1",
            "nodes": [
              "block-5",
              "block-13"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-19",
            "net": "s1",
            "nodes": [
              "block-5",
              "block-22"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-20",
            "net": "bp2",
            "nodes": [
              "block-1",
              "block-6"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-21",
            "net": "bn2",
            "nodes": [
              "block-2",
              "block-14"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-22",
            "net": "cp2",
            "nodes": [
              "block-4",
              "block-6"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-23",
            "net": "d3",
            "nodes": [
              "block-4",
              "block-5",
              "block-22"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-24",
            "net": "cn2",
            "nodes": [
              "block-5",
              "block-14"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-25",
            "net": "s2",
            "nodes": [
              "block-5",
              "block-22"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-26",
            "net": "bp3",
            "nodes": [
              "block-1",
              "block-6"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-27",
            "net": "bn3",
            "nodes": [
              "block-2",
              "block-15"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-28",
            "net": "cp3",
            "nodes": [
              "block-4",
              "block-6"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-29",
            "net": "d4",
            "nodes": [
              "block-4",
              "block-5",
              "block-22"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-30",
            "net": "cn3",
            "nodes": [
              "block-5",
              "block-15"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-31",
            "net": "s3",
            "nodes": [
              "block-5",
              "block-22"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-32",
            "net": "bp4",
            "nodes": [
              "block-1",
              "block-17"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-33",
            "net": "bn4",
            "nodes": [
              "block-2",
              "block-19"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-34",
            "net": "cp4",
            "nodes": [
              "block-4",
              "block-16"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-35",
            "net": "d5",
            "nodes": [
              "block-4",
              "block-5",
              "block-22"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-36",
            "net": "cn4",
            "nodes": [
              "block-5",
              "block-18"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-37",
            "net": "s4",
            "nodes": [
              "block-5",
              "block-22"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-38",
            "net": "bp4x",
            "nodes": [
              "block-16",
              "block-17"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-39",
            "net": "bn4x",
            "nodes": [
              "block-18",
              "block-19"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-40",
            "net": "clk",
            "nodes": [
              "block-21",
              "block-22"
            ],
            "direction": "undirected-shared-net"
          },
          {
            "id": "net-41",
            "net": "dec",
            "nodes": [
              "block-21",
              "block-22"
            ],
            "direction": "undirected-shared-net"
          }
        ],
        "ports": [
          {
            "name": "vip",
            "net": "vip",
            "kind": "input"
          },
          {
            "name": "vin",
            "net": "vin",
            "kind": "input"
          },
          {
            "name": "vref",
            "net": "vref",
            "kind": "bias"
          },
          {
            "name": "ib",
            "net": "ib",
            "kind": "bias"
          },
          {
            "name": "clk",
            "net": "clk",
            "kind": "clock"
          },
          {
            "name": "samp",
            "net": "samp",
            "kind": "clock"
          },
          {
            "name": "d5",
            "net": "d5",
            "kind": "output"
          },
          {
            "name": "d4",
            "net": "d4",
            "kind": "output"
          },
          {
            "name": "d3",
            "net": "d3",
            "kind": "output"
          },
          {
            "name": "d2",
            "net": "d2",
            "kind": "output"
          },
          {
            "name": "d1",
            "net": "d1",
            "kind": "output"
          },
          {
            "name": "d0",
            "net": "d0",
            "kind": "output"
          },
          {
            "name": "eoc",
            "net": "eoc",
            "kind": "output"
          },
          {
            "name": "vdd",
            "net": "vdd",
            "kind": "supply"
          }
        ],
        "coverage": "Every root DUT device belongs to one group; hierarchical instances refer to electrical child scopes."
      }
    ],
    "views": [
      {
        "bench": "convert",
        "source": {
          "recordField": "testbenches",
          "id": "convert",
          "field": "netlist"
        },
        "schematic": {
          "graph": "graph-1",
          "svg": {
            "url": "/circuits/sar-monotonic/convert-schematic.svg",
            "asset": "convert-schematic.svg"
          },
          "drawingCheck": {
            "method": "checkSchematic",
            "problems": []
          },
          "sheets": [
            {
              "name": "SAR ADC, monotonic switching",
              "instances": []
            },
            {
              "name": "msar_cmp",
              "instances": [
                "Xcmp"
              ]
            },
            {
              "name": "msar_logic",
              "instances": [
                "Xsar"
              ]
            }
          ]
        },
        "benchDiagram": {
          "graph": "graph-2",
          "svg": {
            "url": "/circuits/sar-monotonic/convert-bench.svg",
            "asset": "convert-bench.svg"
          }
        },
        "blockDiagram": {
          "graph": "graph-3",
          "electricalGraph": "graph-1",
          "svg": {
            "url": "/circuits/sar-monotonic/convert-block.svg",
            "asset": "convert-block.svg"
          }
        }
      }
    ]
  }
}
