
The design accepts two 8-bit numbers. A[0] is also used to choose addition or multiplication. The design gives an approximate result.
Apply two 8-bit numbers and select a mode
No need for external hardware. The output can be connected to LEDs to validate
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | A0 | P0 | B0 |
| 1 | A1 | P1 | B1 |
| 2 | A2 | P2 | B2 |
| 3 | A3 | P3 | B3 |
| 4 | A4 | P4 | B4 |
| 5 | A5 | P5 | B5 |
| 6 | A6 | P6 | B6 |
| 7 | A7 | P7 | B7 |