Design a Verilog program that performs the basic arithmetic and logic operations.
(ALU) on two 3-bit binary inputs, and displays the outcome on 7-segments.
- Arithmetic operations: addition and subtraction
- Logic operations: AND and OR
- Displaying results:
– For addition and subtraction: display the result using decimal digits
– For logic AND and OR: display the result using binary digits