# Keypad Decoder

A simple project for Tiny Tapeout 6 submission.

It scannes the attached keypad for a pressed key, and when detected, displays
the pressed key on the 7-segment display. There are no debouncing, latching,
buffering, or anything advanced.

The idea for key scanning stage is probably similar to the one used in the
standard ICs like: 74C922, ADP5586, or LM8330. 

To try the simulation, after clicking the green play button, click the reset
button, and then start pressing and releasing the keys on the keypad, or your
computer keyboard. The eqivalent numbers and keys should be displyed on the
7-segment display.  

To learn more about Tiny Tapeout project, visit: https://tinytapeout.com/
1k
D0
D1
D2
D3
D4
D5
D6
D7
SR
SR
SR
SR
SR
SR
SR
SR
SR
SR
SR
SR
SR
SR
SR
SR
Key Register 16-bit
Key0
Key1
Key2
Keypad Decoder v1.1
Key3
Key4
Key5
Key6
Key7
Key8
Key9
KeyA
KeyB
KeyC
KeyD
Key*
Key#
SR
SR
SR
SR
Ring Counter 1/4-bit
LCD Encoder 16-bit to 7-seg.
Click RESET first when running Simulation
Clock > 100Hz
Synch Reset

ERC Warnings

ttio0:OUT: Input pin not driven
ttio1:OUT: Input pin not driven
ttio2:OUT: Input pin not driven
ttio3:OUT: Input pin not driven