Question: 3. (ALU) Design a 2-bit ALU. Below is a block diagram of a simplified ALU. Three select lines should determine which operation the ALU performs
3. (ALU) Design a 2-bit ALU. Below is a block diagram of a simplified ALU. Three select lines should determine which operation the ALU performs from the set (NOT, AND. NAND, OR, NOR, XOR, ADD) A OUT B ALU COUT CIN S2 Si So All the components that you need to use are already in logisim Label which select bits perform which operation. You will need the basic gates, adder, multiplexer to complete the circuit. You don't need to use transistors or build the adder, multiplexer, etc. instead raise your abstraction level to gates and built-in components Here's how each operation works: Not operation - Only the A input is used to complete the operation. If it is 10, OUT will be a 01. If it is 00, OUT will be 11, etc. Add operation - When the Add operation is chosen the corresponding A, B and Cin inputs are used to determine OUT and Cout. Other operations - A, B inputs are used to perform the corresponding AND, NAND, OR, NOR, or XOR and the output is shown on the OUT. For example: If A is 11, B is 00 and the corresponding XOR operation is chosen using the select bits, then the output will be a 11. You want to make sure that your circuit doesn't output 1 for Cout, when Add operation is not chosen. For example, when A is 10, B is 11. And operation is chosen, is the output 1 for Cout? How do you make sure that it doesn't show a 1, when we are not performing an Add operation? Build the circuit in steps and make sure to go through the tutorial about Logisim to understand the wiring
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
