PLEASE GO TO THE WIKI FOR DOCUMENTATION ON THE BUILD AND DESIGN PROCESS OF THE ARITHMETIC UNIT
The arithmetic unit build is able to perform the following operations with 8-bit binary represented integers and a 2-bit opcode (operation code):
- Addition
- Subtraction
- Incrementing
- Decrementing
Upon inputting the following outputs are generated
- The result of the operation
- A single bit giving any overflow, carry or borrow bit left over from the operation
- A single bit yielding 1 if the result of the operation is exactly 0, and yielding 0 otherwise
- A single PARITY bit yielding 1 if the result of the operation has an odd number of 1 bits and yielding 0 otherwise.