The Arithmetic Logic Unit (ALU) operates on signed numbers, which are expressed as 2s complement. Design a circuit, which will convert a binary input to its 2s complement equivalent. Limit the number of bits to 4.
Does this mean it doesn't have to give signed numbers at the output? Because to convert to two's complement I used half adder with Cin shorted to Cout. First Cin is given a 1 and each input inverted first. While if the circuit is to be able to represent signed numbers it would be slightly different which I managed to build but not with a truth table (attached). What do you think he wants exactly?
Does this mean it doesn't have to give signed numbers at the output? Because to convert to two's complement I used half adder with Cin shorted to Cout. First Cin is given a 1 and each input inverted first. While if the circuit is to be able to represent signed numbers it would be slightly different which I managed to build but not with a truth table (attached). What do you think he wants exactly?
Attachments
-
88.8 KB Views: 68