Question: Need help to build the LU circuit The Arithmetic Logic Unit is a combinational circuit that makes up an important part of the CPU. As

Need help to build the LU circuit
Need help to build the LU circuit The Arithmetic Logic Unit is

The Arithmetic Logic Unit is a combinational circuit that makes up an important part of the CPU. As discussed earlier, we learned that a simple ALU consists of two major subciruits: an arithmetic unit (AU) and a logic unit (LU). We have previously created the arithmetic unit; in today's lab, we will build the logic unit and combine the two subcircuits together to create the final ALU circuit. The Logic Unit (LU): The logic unit of the RSC must be able to perform the following logic operations for two 32-bit registers called A and B: A AND B, A OR B, Right Arithmetic Shift (RAS) on A, and NOT A. Since there are four operations to be performed, we need a code, S1 and S0 again, to specify which operation is to be performed. Your logic unit should operate as follows: S1 S0 Output 00F=AAANDB 0 1 F=AORB 10F=RASA 11F= NOT A A note on the right arithmetic shift: Our operation will shift only one bit to the right. Procedure The Logic Unit: 1. Open Logisim and open your RSC. circ file. 2. Open the Logic_U circuit and add the following 1/O : - Two 32-bit inputs labeled A and B - Two 1-bit inputs labeled $0 and $1 - One 32-bit output labeled Logic_Out 3. Add combinational gates and circuits as needed to make the circuit behave as described above. Note: You may use the shifter when implementing the right arithmetic shift. It can be found under the Arithmetic folder. Remember: our right shift operation shifts only one bit to the right. 4. Test your circuit with the following values: A=ABCD1234 and B=06AE18AD. S1 SO Output should be: 00028C1024 01 AFEF1ABD 10 D5E6891A 115432EDCB

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!