1. Design your circuit using one or more decoders of your choice.

Both the input and output are signed numbers that are represented as indicated by the table below.

Determine the number of bits need for the output, when your input is a three bit signed number.

F(x) Input Output
F = 2x - 3 Two's Complement One's Complement

Note: Subtraction is the same as addition of the two's complement.
The two's complement is the bit-by-bit complement plus 1.

Ex. X - Y = X + ~Y + 1
Complement Y inputs to adder, set Cin to 1
For a borrow, set Cin to 0.

Want an answer?