Our own analog chip: one mixed-signal Tiny Tapeout tile

BVM Engineering College and IC Works · SkyWater SKY130 · shuttle TTSKY26d · Jørgen Kragh Jakobsen, IC Works

The project in short

Together we design one mixed-signal tile and send it to fabrication on the next Tiny Tapeout SKY130 shuttle. On the digital side: an SPI slave, a register bank and two PWM generators (one block, used twice). On the analog side: a bandgap reference, a bias generator, a clock doubler and a PWM DAC (RC filter + output buffer). Every trim and enable bit sits in the register bank, written over SPI.

The point is to learn the full flow, from schematic to layout to tapeout, and especially how digital and analog circuits meet on one tile.

Follows on from the open-source ASIC design webinars (September–October 2026).

Shuttle and limits

ItemTTSKY26d / SKY130 analog
Submission closes30 November 2026
Chips expectedMay 2027
Tile1x2 analog tile, about 160 × 225 µm (2x2 if the layout does not fit)
Analog pinsua[0]–ua[5], used in order; < 500 Ω, < 5 pF, max 4 mA. We use three.
Supplies1.8 V digital (VDPWR); 3.3 V analog optional
ClockUp to 50 MHz from the Tiny Tapeout harness
Layout rulesMetal 5 is reserved for the power grid; pins as in the Tiny Tapeout analog template

Sources: tinytapeout.com/chips · analog specs

Block diagram

One SPI register bank controls every block on the tile Digital macro (dig_top) Analog blocks (SKY130) SPI uio[0..3] ena, rst_n enable, reset clk 50 MHz SPI slave mode 0 16-bit frame Registers generated by regmap trims, enables, PWM duty one block, two instances PWM 0 6/8 bit, clk or 2x PWM 1 6/8 bit, clk or 2x Reference bandgap 4-bit trim Bias gen 1 to 32 µA 5-bit trim Clk doubler XOR + delay 50 to 100 MHz PWM DAC 2-stage RC filter buffer buffer trims + enables to every block PWM 0 uo_out[0] PWM 1 uo_out[1] 2x clk clk PWM 0 bias ua[0]: VREF ua[1]: bias ua[2]: DAC

Blocks

BlockDomainWhat it does
analog/bandgapanalogSwitched-capacitor reference with 4-bit trim and start-up circuit; bg_ok flag. Design guide →
analog/out_bufanalogUnity-gain buffer for a pad; one cell, used twice: reference to ua[0] and inside the PWM DAC to ua[2]
analog/bias_genanalogVREF/R current, 5-bit binary-weighted mirror, 1–32 µA; feeds the clock doubler, both output buffers and ua[1]
analog/clk_doubleranalogClock XOR delayed clock → 100 MHz for the PWMs; delay biased from the bias generator
analog/pwm_dacanalogTwo-stage RC low-pass (poly R + MIM C) and a unity-gain buffer to ua[2], driven by PWM 0
analog/tt_analog_topanalogTop schematic and layout in the Tiny Tapeout analog template; places the digital macro
digital/spi_slavedigitalSPI mode 0, 16-bit frame: R/W bit, 7-bit address, 8-bit data
digital/reg_bankdigitalGenerated from the register database with the IC Works regmap tool, never hand-edited
digital/pwmdigitalCounter + comparator, 6 or 8 bits, clock select; one module, instanced twice
digital/dig_topdigitalSPI + register bank + two PWMs; hardened into one macro

Block design guides

Interactive step-by-step guides that take one block from the first equation to a DRC/LVS-clean layout, written for a first custom analog tapeout.

Register map (draft)

SPI frame, CS low, 16 clocks, MSB first: [15] R/W (1 = read) · [14:8] address · [7:0] data. The same frame as in the servo challenge.

AddrNameBitsReset
0x00BG_CTRL[7] bg_en, [3:0] bg_trim0x88 (on, mid trim)
0x01BIAS_CTRL[7] bias_en, [4:0] bias_trim0x90 (on, code 16)
0x02CLK_CTRL[0] dbl_en (clock doubler on)0x00
0x03PWM0_DUTY[7:0] duty = value / 2N0x80 (50 %)
0x04PWM0_CTRL[0] en, [1] width (0 = 6 bit, 1 = 8 bit), [2] clk_sel (0 = clk, 1 = doubled)0x01
0x05PWM1_DUTYas PWM0_DUTY0x80 (50 %)
0x06PWM1_CTRLas PWM0_CTRL0x01
0x07STATUS (read-only)[0] bg_ok—

Pins

PinUse
uio[0] / uio[1] / uio[3]SPI CS_N / MOSI / SCK (in)
uio[2]SPI MISO (out)
uo_out[0]PWM 0 (also drives the DAC)
uo_out[1]PWM 1
ua[0]Reference voltage (VREF), buffered
ua[1]Bias current
ua[2]DAC output
clk, ena, rst_nTiny Tapeout clock (up to 50 MHz, also to the clock doubler), enable and reset

The DAC filter

The simple route is to keep plain PWM, run it fast and filter with two RC stages instead of one. A second pole cuts the ripple by (fc / fPWM)² rather than fc / fPWM, and that is what makes small capacitors enough.

PWMPWM frequencyEach RC stageRippleCapacitor area
6-bit at 100 MHz (doubler)1.56 MHz~1 pF + ~2 MΩ~1.5 mVpp (LSB 28 mV)~1 000 µm², ~3 % of the tile
6-bit at 50 MHz781 kHz~2 pF + ~4 MΩ~1.5 mVpp (LSB 28 mV)~2 000 µm², ~6 % of the tile
8-bit at 50 MHz195 kHz~10 pF + ~3.2 MΩ~1.5 mVpp (LSB 7 mV)~10 000 µm², ~28 % of the tile

First-order estimates, not yet simulated. Resistors in high-resistance poly (about 2 kΩ per square), capacitors in MIM (about 2 fF/µm², cap_mim_m3_1).

Stretch option: sigma-delta and switched-capacitor filter

A first-order sigma-delta (the carry-out of an 8-bit accumulator) spreads the pulses evenly, so a passive switched-capacitor low-pass with C2/C1 = 256 (C1 ≈ 40 fF, C2 ≈ 10 pF) keeps the ripple within one LSB, even at 8 bits. Not needed for a working DAC, but a nice extra for anyone who wants to learn noise shaping and switched-capacitor circuits.

How the project is organised

One folder per block, each with its own depend.config, all listed in workspace.config. This is the same layout IC Works uses for its own chip projects.

bvm_analog_tapeout/
├── workspace.config          components in this project
├── setup/
│   ├── analog/               xschemrc, corner runner, layout tech files
│   └── digital/              LibreLane flow, cocotb common
├── analog/
│   ├── bandgap/  bias_gen/  clk_doubler/  out_buf/  pwm_dac/
│   └── tt_analog_top/        top schematic + layout, LVS
├── digital/
│   ├── spi_slave/  reg_bank/  pwm/
│   └── dig_top/              integration and harden
├── tapeout/                  the Tiny Tapeout repo we submit
├── obj/                      build outputs (not in git)
└── doc/                      datasheet, bring-up notes