Question: Design a 5bit signed magnitude adder by using the following steps a) Design a circuit that outputs the 2s complement of a 4bit input. b)

Design a 5bit signed magnitude adder by using the following steps a) Design a circuit that outputs the 2s complement of a 4bit input. b) Using your circuit from a), design a 4bit addersubtractor. One of the inputs should be a signal to select add or subtract. c) Design a control circuit that outputs the add/subtract signal. Consider: If you are adding numbers with the same sign, should you add or subtract their magnitudes? If you are adding numbers with different signs, should you add or subtract their magnitudes? d) Using your circuit from a), design a selective 2s complement circuit. (This means a circuit that will output either the 2s complement of the input, or the original input.) One of the inputs should be a control signal that selects which to output. e) Design a control circuit that outputs the correct sign bit for the result, and the 2s complement selection signal needed as an input for d). You will want to consider the sign bit of your inputs and the carry-out from the circuit you designed in b). f) Draw a block diagram to connect the modules of your design. Hint: You may find it helpful to look at some input examples, e.g. 01001 and 10101, 00101 and 11001, 11001 and 00101, 10101 and 01001.

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!