
The project is a 4-bit ALU section that is usfull in mini and micro computer CPUs.
This device can be tested by inputting data on the two input ports (A/B), a function code (F0, F1, F2) and observing the output on pins d0, d1, d2, d3.
This project was tested uising an Altera FPGA (EP2C20F484C7).
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | da0 | d0 | NEG_ZERO |
| 1 | da1 | d1 | ci_left |
| 2 | da2 | d2 | ci_right |
| 3 | da3 | d3 | COM |
| 4 | db0 | co_left | F0 |
| 5 | db1 | co_right | F1 |
| 6 | db2 | EQU | F2 |
| 7 | db3 | ZERO |