
A custom GDS layout implements some simple analog circuits with an interface to the Tiny Tapeout digital pins of a 1x1 tile. In particular ui_in goes to an 8-bit RDAC, as does uio_in, and together they form the positive and negative inputs to a comparator whose output is on uo_out[7].
Try comparing values on ui_in with those on uio_in -- if ui_in is greater, uo_out[7] should go high. Note that the comparator is generally considered to be reliable for voltages in the range of 0.3V to 0.9V internally -- DAC codes 64..192.
You'll need the Tiny Tapeout demo board to assert values on the bidirectional pins, but other than that no external hardware is required.
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | pdac[0] | ndac[0] | |
| 1 | pdac[1] | ndac[1] | |
| 2 | pdac[2] | ndac[2] | |
| 3 | pdac[3] | ndac[3] | |
| 4 | pdac[4] | ndac[4] | |
| 5 | pdac[5] | ndac[5] | |
| 6 | pdac[6] | ndac[6] | |
| 7 | pdac[7] | comparator_out | ndac[7] |