Question: 1. In this question you will implement a system that receives as input 3 variables A, B, C, each variable consisting of k bits, and

 1. In this question you will implement a system that receives

1. In this question you will implement a system that receives as input 3 variables A, B, C, each variable consisting of k bits, and a flag variable F consisting of 2 bits; and outputs a k bit variable Y based on the following rules. In what follows, A, B, C, and Y are considered to be in 2's complement form with bits and LXI stands for the absolute value of X (a) If F-00 then the output Y will check if the inputs A, B, C and their sums (or differences) can be represented in 2's complement form with k bits. Namely, Y 000000 if IAl+IBl+ICI 2k-1 and Y 111...111 otherwise. (b) If F 01 then the output Y will be equal to the input with the largest value (in 2's complement form). Namely, if A is larger than B and C then Y will be equal to A. Similarly, if B is largest Y wil be equal to B, and if C is largest Y will be equal to C. Ties can be broken arbitrarily (c) If F 10 then the output Y will compare between the values |A] + IBI-ICl and |A + B-Cl Namely Y-000 000 if IAI + IBI-1Cl ?A + B-Cl and Y-11 1 . . . 111 otherwise. (d) If F-11 then the output Y will be equal to the product of A12?and Bi2?. Here, A12:0] and B2-0l are the 3 least significant bits of A and B respectively (you may assume k 3). In this case, the values of A12:01, B2:0, and Y are considered to be in standard binary form Construct a circuit that performs the above functionality It is recommended to present the circuit in a modular manner (see figure below). In your circuits, you may use any component covered in the class lectures. details of circuit l circuit ccuit circut details of circuit II My circuit and so on 1. In this question you will implement a system that receives as input 3 variables A, B, C, each variable consisting of k bits, and a flag variable F consisting of 2 bits; and outputs a k bit variable Y based on the following rules. In what follows, A, B, C, and Y are considered to be in 2's complement form with bits and LXI stands for the absolute value of X (a) If F-00 then the output Y will check if the inputs A, B, C and their sums (or differences) can be represented in 2's complement form with k bits. Namely, Y 000000 if IAl+IBl+ICI 2k-1 and Y 111...111 otherwise. (b) If F 01 then the output Y will be equal to the input with the largest value (in 2's complement form). Namely, if A is larger than B and C then Y will be equal to A. Similarly, if B is largest Y wil be equal to B, and if C is largest Y will be equal to C. Ties can be broken arbitrarily (c) If F 10 then the output Y will compare between the values |A] + IBI-ICl and |A + B-Cl Namely Y-000 000 if IAI + IBI-1Cl ?A + B-Cl and Y-11 1 . . . 111 otherwise. (d) If F-11 then the output Y will be equal to the product of A12?and Bi2?. Here, A12:0] and B2-0l are the 3 least significant bits of A and B respectively (you may assume k 3). In this case, the values of A12:01, B2:0, and Y are considered to be in standard binary form Construct a circuit that performs the above functionality It is recommended to present the circuit in a modular manner (see figure below). In your circuits, you may use any component covered in the class lectures. details of circuit l circuit ccuit circut details of circuit II My circuit and so on

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!