
This tile is a 1.8 V pseudo-differential, second-order closed-loop VCO delta-sigma ADC in SkyWater 130 nm CMOS (sky130A, Tiny Tapeout SKY26e 1×2 analog tile, 161.0 × 225.76 µm²) with an auxiliary-OTA linearized V-to-I and a dual-mode on-chip 3rd-order Sinc³ CIC decimation filter (R = 64, 312.5 kS/s 15-bit signed PCM + DRDY).

Loop of one half (hand-drawn, sky130A 1.8 V devices)
ua[0] = VINP, ua[1] = VINN) drives a 49.7 kΩ xhigh-poly resistor into the virtual ground of a common-centroid 5-transistor OTA (interdigitated A A B B B B A A NMOS input pair 48 µm / 3 µm and PMOS active load 16 µm / 2 µm, tail 8 µm / 2 µm at ~23 µA, DC gain 47.8 dB, BSIM4 input-referred 1/f + thermal noise 21.39 µVrms front-end / ~21.9 µVrms full analog path over 100 Hz–50 kHz, corresponding to a 79.7 dB SNR ceiling at −6 dBFS and 85.7 dB full-scale DR). Two identical parallel 26 µm × 19.2 µm MIM capacitors (2.02 pF total) form the integrator; an NMOS switch clears them when rst_n is low.CLAMP_A5): A zero-static-power 5-transistor Miller-compensated clamp (XMsns 0.42/1.8 µm, XMld1/2 2× 0.42/8 µm, XMpd 6/0.5 µm, XMc 4/3 µm) sits on vctrl. In normal swing (≤ 1.06 V at TT) it leaks only 31.9 nA (0.00 dB noise/HD3 penalty), while hard-clamping rail-overload VCO frequency to ≤ 13.16 MHz (< 0.75·fs = 15 MHz) across PVT and VDD ± 10% corners so the loop recovers cleanly without phase-aliasing latch-up.vctrl through a raw NMOS transconductor (which limited V2 to HD3 = −71.9 dBc), vctrl passes through a 1:4 xhigh-poly divider (162 µm : 54 µm) into a fast PMOS-input 5T auxiliary OTA (aux_ota_p, ~4 µA tail via XMaux_n 2/2, XMcaux 4/3, UGB = 7.2–13.4 MHz, PM = 80.9°–84.1° across PVT with post-layout parasitics). The auxiliary loop forces v_s = vctrl / 4 across a shared common-centroid 3:3:4 xhigh-poly array (RARR, 12 strips of L = 2.7 µm: D0 N1 N2 P1 S1 S2 S3 S4 P2 P3 N3 D11, giving R1_P = R1_N = 3 × 2.7 µm and R_sub = 4 × 2.7 µm). A ratio-tracked PMOS current subtractor (XMsub, mirrored from a matched reference branch biased at VDD/8) removes the quiescent pedestal so the ring VCO current scales linearly with vctrl − VDD/2 with > 35 dB local linearization loop gain.xor2_4 NRZ DAC: Each ring runs at fs/4 = 5.0 MHz at mid-scale (fs = 20 MHz, OSR = 200), with load capacitors (XMc W=1.4, L=0.20 µm) co-sized with extracted ring parasitics (~14.5 fF/stage) to maintain post-layout Kvco ≈ 26 MHz/V. Two-rank dfxtp_1 flip-flops sample all 7 phases on posedge clk (isolated from output pins by buf_4 buffers), while strong sky130_fd_sc_hd__xor2_4 gates (7.6× lower |t_r − t_f| asymmetry than xor2_1, with length-matched met3 routing to the CIC macro) drive the intrinsically barrel-shifted 7-element NRZ resistor DAC (1.04 MΩ per element).Sinc³ CIC decimator (vco_cic_decim): Placed in the bottom decap region (122.36 × 70.72 µm, 26 rows, met1–met3, 467 cells, +36.755 ns STA slack at 20 MHz, isolated from analog inputs ua[0:1] and analog bias by quiet decap_12 rows). It sums the 7+7 on-chip XOR pulses (y_diff = yN − yP ∈ [−7, +7]), applies a Hogenauer-pruned 3-stage integrator (22b / 22b / 19b) and time-shared 16-bit 3-stage comb (R = 64), and outputs a 15-bit signed two's-complement PCM word at 312.5 kS/s (91.6 dB digital SQNR floor) with a 50%-duty DRDY clock (1.5 µs setup, 1.7 µs hold around posedge DRDY). When ui_in[0] = 1 (MODE_RAW), integrated clock-gating cells (sky130_fd_sc_hd__dlclkp_1) hard-gate all CIC clocks off with zero digital switching activity and mux2_4 pad drivers bypass the raw sampled phases and unsampled monitors directly to the pins.Operating range, power, and verification highlights (V3 / v3_b)
1,840-FET zero-XSPICE gear transient, tt / 27 °C / 1.80 V, −6 dBFS = ±0.15 V/side):
fin = 14.65 kHz (HD3 = 43.95 kHz strictly inside the 50 kHz band): SNDR = 77.5 dB (CIC) / 77.6 dB (RAW), SNR = 83.1 dB, HD2 = −89.9 dBc (CIC) / −93.3 dBc (RAW), HD3 = −79.3 dBc (CIC) / −77.7 dBc (RAW) (+7.4 dB SNDR, +12.1 dB HD2, +7.4 dB HD3 over V2's 70.1 dB / −77.8 / −71.9 dBc).fin = 9.77 kHz (HD3 = 29.30 kHz in-band, reltol = 1e-4): SNDR = 79.7 dB, SNR = 83.4 dB, HD2 = −89.2 dBc, HD3 = −83.0 dBc.~21.9 µVrms / 79.7 dB ceiling @ −6 dBFS), real-silicon SNDR reaches 75.5–76.7 dB (ENOB = 12.2–12.5 bits, 85.7 dB full-scale DR).VDD ± 10% & 4/4 anti-latchup PEX sign-off: Zero limit cycling across all 8 extracted corners (tt, ff_m20, ss_85, sf, fs, fs_ll, ss_85_1v62, ff_m20_1v98: CIC SNDR = 74.0–79.5 dB, HD2 = −86.1..−104.0 dBc, HD3 = −74.8..−81.2 dBc) and 4/4 unreset/rail-overload anti-latchup stress PASS (f_clamp ≤ 13.16 MHz < 15 MHz).1.80 V, BW = 50 kHz): Analog core draws 117.1 µA (210.8 µW); analog + DFF + xor2_4 draws 167.3 µA (301.1 µW); full-chip live 9,395-FET GDS extraction with 20 MHz Sinc³ CIC running + 16 × 1 pF output loads draws ~269 µA (484 µW) — lower than raw bypass mode (~323 µA) because the 16 output pads toggle at 312.5 kHz instead of 5–20 MHz. Resulting real-silicon Schreier FoM (incl. BSIM4 noise): 158.9 dB (167.9 dB DR-FoM) for ADC + feedback digital (540 fJ/conv-step), and 156.8 dB (165.8 dB DR-FoM) for the complete chip including on-chip Sinc³ CIC + pad loads.uio_oe, ena, and rst_n: All 8 uio lines are dedicated outputs (uio_oe[7:0] permanently tied high via 8 conb_1 cells; isolated by Tiny Tapeout's chip-level mux when unselected). Holding rst_n = 0 resets both analog integrators (vg = vctrl) and asynchronously clears all CIC registers (cnt, i1..i3, d1..d3, pcm_reg).Dual-mode output pinout (ui_in[0] = MODE_RAW)
ui_in[0] = 0 (default — on-chip Sinc³ CIC PCM mode):
uo_out[7:0] = PCM[7:0] (lower 8 bits of 15-bit signed two's-complement sample)uio_out[6:0] = PCM[14:8] (uio_out[6] = sign MSB; code range −16384..+16383)uio_out[7] = DRDY (fs / 64 = 312.5 kHz, 50% duty; latch {uio_out[6:0], uo_out[7:0]} on posedge DRDY, with 1.5 µs setup and 1.7 µs hold!)ui_in[0] = 1 (debug raw phase bypass, CIC clock-gated off):
uo_out[6:0] = sampled P phases PHP, uo_out[7] = unsampled P monitor MONP (≈ 5.0 MHz at mid-scale)uio_out[7:1] = sampled N phases PHN, uio_out[0] = unsampled N monitor MONN (≈ 5.0 MHz at mid-scale)yP[n] = popcount(PHP[n] xor PHP[n-1]), yN[n] likewise, y[n] = yN[n] − yP[n].Required: a differential source for ua[0]/ua[1] around 0.90 V, a 20 MHz clock (clk), and either any standard 312.5 kS/s MCU/PIO/logic analyzer (ui_in[0] = 0) or a 20 MHz 16-bit capture (ui_in[0] = 1).
UIO[7:0] pins as inputs, select tt_um_arcadia1_vco_adc, and supply a 20 MHz clock (clk). Hold rst_n low for ≥ 2 µs (e.g. 10 µs), release it, and wait ≥ 50 µs (~16 CIC frames) for both analog loops and the 3-stage CIC pipeline to settle.ui_in[0] = 0, easiest bring-up): Trigger capture on posedge uio_out[7] (DRDY, 312.5 kHz) and read the 15-bit signed word pcm = sign_extend_15({uio_out[6:0], uo_out[7:0]}). With ua[0] = ua[1] = 0.90 V, pcm sits near 0. With VINP = 0.90 + 0.15·sin(2π·fin·t), VINN = 0.90 − 0.15·sin(2π·fin·t) (fin = 1–15 kHz), pcm outputs a clean 15-bit sine wave ready for direct FFT or audio playback (no off-chip decimation required; apply optional sinc⁻³ droop compensation ~0.19 dB at 20 kHz / 1.2 dB at 50 kHz if flat passband to 50 kHz is desired).ui_in[0] = 1): Confirm uo_out[7] (MONP) and uio_out[0] (MONN) oscillate at ≈ fs/4 = 5.0 MHz at mid-scale. Capture all 16 outputs at 20 MHz (test/capture_vco_adc.py) and decode with python3 test/decode_vco_adc.py vco_adc.bin --fs 20e6 --bw 50e3.ua[0] / ua[1]): Each input sees Rin ≈ 49.7 kΩ to the 0.90 V virtual ground, so keep driver source impedance R_src ≪ 1 kΩ and common mode at 0.90 V:
VOCM = 0.90 V and a matched 1st-order RC anti-aliasing filter (e.g. 100 Ω + 1 nF, fc ≈ 1.6 MHz).0.90 V.VDPWR. Power VDPWR = 1.80 V from a clean LDO with local 100 nF + 10 µF ceramic decoupling.uio_out[7] (312.5 kHz DRDY when ui_in[0] = 0) or uo_out[7] / uio_out[0] (5.0 MHz MONP/MONN when ui_in[0] = 1).| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | MODE_RAW (0: on-chip Sinc3 CIC 15-bit PCM + DRDY, 1: CIC clock-gated off, raw phases) | PCM[0] / PHP6 (CIC bit 0 when ui[0]=0; P ring stage 6 when ui[0]=1) | PCM[8] / MONN (CIC bit 8 when ui[0]=0; N unsampled monitor when ui[0]=1) |
| 1 | PCM[1] / PHP4 (CIC bit 1 when ui[0]=0; P ring stage 4 when ui[0]=1) | PCM[9] / PHN0 (CIC bit 9 when ui[0]=0; N ring stage 0 when ui[0]=1) | |
| 2 | PCM[2] / PHP1 (CIC bit 2 when ui[0]=0; P ring stage 1 when ui[0]=1) | PCM[10] / PHN3 (CIC bit 10 when ui[0]=0; N ring stage 3 when ui[0]=1) | |
| 3 | PCM[3] / PHP2 (CIC bit 3 when ui[0]=0; P ring stage 2 when ui[0]=1) | PCM[11] / PHN5 (CIC bit 11 when ui[0]=0; N ring stage 5 when ui[0]=1) | |
| 4 | PCM[4] / PHP5 (CIC bit 4 when ui[0]=0; P ring stage 5 when ui[0]=1) | PCM[12] / PHN2 (CIC bit 12 when ui[0]=0; N ring stage 2 when ui[0]=1) | |
| 5 | PCM[5] / PHP3 (CIC bit 5 when ui[0]=0; P ring stage 3 when ui[0]=1) | PCM[13] / PHN1 (CIC bit 13 when ui[0]=0; N ring stage 1 when ui[0]=1) | |
| 6 | PCM[6] / PHP0 (CIC bit 6 when ui[0]=0; P ring stage 0 when ui[0]=1) | PCM[14] / PHN4 (CIC sign MSB when ui[0]=0; N ring stage 4 when ui[0]=1) | |
| 7 | PCM[7] / MONP (CIC bit 7 when ui[0]=0; P unsampled monitor when ui[0]=1) | DRDY / PHN6 (312.5 kHz 50% data-ready when ui[0]=0; N ring stage 6 when ui[0]=1) |
ua | PCB Pin | Internal index | Description |
|---|---|---|---|
| 0 | R | 10 | VINP (positive analog input, around 0.9 V) |
| 1 | Q | 11 | VINN (negative analog input, around 0.9 V) |