
This is a 2 bit calculator that can multiply,add or subtract 2 bit binary numbers.
In this, user enters 2 numbers A and B of 2 bit each and select the operation at a time and it calculates the answer and display it on 7 segment display.(A should be greater than B to check subtract if not then do 2's compliment)
Dip switch and 7 segment display screen.
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | A0 | a | |
| 1 | A1 | b | |
| 2 | B0 | c | |
| 3 | B1 | d | |
| 4 | Multiply | e | |
| 5 | Sum | f | |
| 6 | Subtract | g | |
| 7 |