Question: Homework 3 1. Imagine you have a 2-bit ALU, show that using an XOR gate to test the last two carries (the carry in to

 Homework 3 1. Imagine you have a 2-bit ALU, show that
using an XOR gate to test the last two carries (the carry

Homework 3 1. Imagine you have a 2-bit ALU, show that using an XOR gate to test the last two carries (the carry in to the MSB and the carry out the MS8 is sufficient to detect overflow. Don't do a formal proof, just consider the all possibilities for Carry-In and Carry-Out of the MSB. 2. The ALU constructed in class has a flaw. Assume you have a 4-bit ALU and try a set less than operation using the values-7o and 630 10012-01102 = 1001, + 1010: 00112 This is obviously incorrect. Therefore, overflow must be taken into consideration when SLT is executed. How could you change the figure below to allow SLT to provide the correct result? Make your changes on the diagram shown below and explain your solution. Ainvert Binvert Carryin Result Less Overflow detection

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!