An arithmetic logic unit (ALU) performs arithmetic and logic operations on binary numbers. These operations include:
- Arithmetic operations: Addition, subtraction, multiplication, and division
- Logic operations: AND, OR, NOT, XOR, and comparisons like less than, equal to, and greater than
- Bitwise operations: Shift operations and other bitwise operations
- Data transfer: Transferring data to and from registers
- Data checks: Checking data for special values
- Status outputs: Providing information about the current or previous operation
In this project, I've chosen my 8-bit-ALU to perform Logical operations (AND, OR), Operations involving comparisons (Set less than) and Arithmetic Operations (Addition, Subtraction).
Boolean Expressions for the operations used in this project:
- AND -> y = a & b
- OR -> y = a | b
- Addition -> y = a + b
- Subtraction -> y = a - b
- Set Less than -> a < b
