
VDDSense measures the tile’s own core supply. A digital controller scans 15 taps on a resistor ladder and compares each divided voltage with an on-chip bandgap reference. The number of comparator-high decisions forms a four-bit result.
The nominal design range is 1.6–2.0 V, with approximately 25 mV per code. Higher supply voltage gives a higher code. The result saturates at 0 or 15. The circuit uses no external analog pins.
ui_in[0]) low, assert active-low reset, then release reset
with the clock running. Wait at least two clock edges.uo_out[5]) is low, pulse START high for one clock.
A conversion takes about 0.51 ms at 20 MHz.uo_out[4]) pulses high for one clock when the result is ready.
If polling in software, detect BUSY going high and then low, and read
the held result on uo_out[3:0]. Bit 0 is the least significant bit.A Tiny Tapeout demo board can select the project, generate the clock and drive the inputs. A logic analyzer is useful for capturing the 50 ns DONE pulse. A voltmeter is useful for checking the core rail during a sweep.
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | Start — pulse high for one clock to begin a conversion | Result bit 0 (LSB) | |
| 1 | Result bit 1 | ||
| 2 | Result bit 2 | ||
| 3 | Result bit 3 (MSB) | ||
| 4 | Done — high for one clock when the result is ready | ||
| 5 | Busy — high while a conversion is in progress | ||
| 6 | |||
| 7 |