This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: Problem 6. Your circuit must operate in two different modes, determined by the value of S. When S = 0, the circuit output is ( A plus B ); When S = 1, the output is ( A - B ) = ( A plus B ' plus 1 ). Organize your circuit as shown below. Design the circuit module C1 so that Output bits = Corresponding input bits when S = 0. Output bits = The negation of the corresponding input bits when S = 1. [ To further simplify this module, consider only one input bit b. The output is equal to b when S = 0, is equal to b' when S = 1. Design this circuit, then use three copies of it for the other bits.] Design the module C2 so that Error is asserted properly for the addition or subtraction operation: Error equals co when S = 0, Error equals co ' when S = 1. Finally, decide how to connect the ci input....
View Full Document
- Fall '07
- Addition, Half adder, corresponding input bits