2 Consider the complete 4bit ALU as developed in class Add t

2. Consider the complete, 4-bit ALU as developed in class. Add the following functionality to the ALU by drawing the appropriate logic gates and noting the values for all control signals in the table on the last page of this document. If you need more bits for Operation, make sure to update all entries in the table. You may print one copy of the last page with all modifications, or multiple copies for each modification. a. A signal to support the BNE instruction (i.e., to indicate when Anl B). Modify the hardware only (ignore the table), since BNE is not an R-type instruction. b. Support for a SGE instruction, which sets Result to 1 if A J B. c. Support for a SGT instruction, which sets Result to 1 if A B.

Solution

answer:

The Final Result is

The symbol used for an ALU is on the right

What are the control lines?

What functions can we perform?

What (3-bit) values for the control lines do we need for each function? The control lines are Bnegate (1-bit) and Operation (2-bits)

and 0 00
or 0 01
add 0 10
sub 1 10
slt 1 11
 2. Consider the complete, 4-bit ALU as developed in class. Add the following functionality to the ALU by drawing the appropriate logic gates and noting the val

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site