
This project implements a calculator for a 4x4 keypad. The keypad scanner drives the column lines and reads the row lines to detect which key is pressed. Digits are buffered, operators are stored, and the ALU computes the final result.
Supported operations:
The 8-bit result is shown on the dedicated output pins.
uo_out.| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | keypad row inputs | 8-bit calculator result | keypad column outputs |
| 1 | keypad row inputs | 8-bit calculator result | keypad column outputs |
| 2 | keypad row inputs | 8-bit calculator result | keypad column outputs |
| 3 | keypad row inputs | 8-bit calculator result | keypad column outputs |
| 4 | unused | 8-bit calculator result | unused |
| 5 | unused | 8-bit calculator result | unused |
| 6 | unused | 8-bit calculator result | unused |
| 7 | unused | 8-bit calculator result | unused |