Schematics
REY_PLL_SKY130A
REY_PLL
The loop. The phase frequency detector compares CK_REF with CK_FB, the charge pump turns UP and DN into a current on the loop filter, and the filter’s voltage VCTRL steers the ring oscillator. CK_FB is CK/16, so CK settles at 16 x 8 MHz = 128 MHz. REY_PLL_CTRL holds VCTRL at a supply when the PLL is powered down or in one of the open loop modes, and kicks the loop filter at power up.
The schematic is generated by py/gen_pll.py.
REY_PLL_PFD
Tri-state phase frequency detector: two flops with D high, one clocked by CK_REF (UP) and one by CK_FB (DN), cleared together when both are high. The flop of the library clocks on NAND(CK, RN), so each reset is held by a latch until that flop’s own clock is low again. Drawn as the two columns of the layout.
REY_PLL_CP
Charge pump. The oscillator slows down as VCTRL rises, so UP sinks current from VCTRL and DN sources it. The current is mirrored from the oscillator’s bias (VBP), 1.1 to 2.8 uA over the trim codes. The three devices on the right park VCTRL at VDD_1V8 or VSS for power down and the open loop modes, and pull the big capacitor down at power up (KICK).
REY_PLL_LPF
Loop filter, referenced to VDD_1V8 like the oscillator’s control device. Eight REYPLL_RCU cells: their 32 resistors in series are R (490 kOhm) from VCTRL to VLPFZ, seven of the capacitors are C1 on VLPFZ and one is C2 on VCTRL.
REYPLL_RCU
The unit cell of the loop filter: four 15.3 kOhm resistors (REYPLL_HRPPO8)
with a 473 fF MiM capacitor (REYPLL_MIMU16) stacked on top of them, 16 x
20.8 um. Compiled from cic/lpf.json with cicpy, which also writes this
schematic.
REYPLL_HRPPO8
Four resistors of 15.3 kOhm between two rows of dummies.
REYPLL_RES_36C2F0
One resistor of 15.3 kOhm: two high resistance poly segments, 0.4 um wide and 8.16 um long, in series.
REYPLL_MIMU16
The MiM capacitor of the unit cell, 473 fF, 17.8 x 13 um between met3 and met4.
REY_PLL_ROSC
Current starved ring oscillator: the bias, seven stages in a ring and the
output buffer. The trim code sets the bias current and with it the
frequency range; VCTRL moves the frequency inside the range, down as
VCTRL rises. Generated by py/gen_rosc.py.
REY_PLL_ROSC_BIAS
The bias of the ring, a current I = Vgs(MN1)/R. It falls with temperature the way the ring’s swing does, so the frequency at a trim code holds over temperature. R is a ladder, 38.5 kOhm with three sections that TRIM0 to TRIM2 short. The start-up circuit pulls VBP down while VG is low.
REY_PLL_ROSC_STAGE
One stage of the ring: an inverter on its own supply node VS, which two mirror branches feed. The fixed branch sets the lowest frequency. The other one goes through a device with its gate on VCTRL.
REY_PLL_DIVN
Ripple divider, six flops. The fourth flop’s output, CK/16, is the feedback to the phase detector. CK/8, CK/16, CK/32 and CK/64 are buffered to the pins, so the pins do not load the chain. Drawn as the three columns of the layout.
REY_PLL_CTRL
Power up, the kick pulse and the two open loop modes. OLH parks VCTRL at VDD_1V8, the oscillator’s slowest, and OLL at VSS, its fastest: with the divider taps on the pins that gives the oscillator’s range at a trim code without the loop.
tt_um_rey_pll_wulffern
REY_PLL in one Tiny Tapeout tile: the core, an antenna diode on every
input, and a tie to ground through a metal resistor on every output the
PLL does not drive. Generated, layout and schematic, by py/gen_tt_um.py.