Use 4 HALF-ADDERs to build a circuit that takes as input a 4-bit number
x and on its 4-bit output computes the twos-complement of x.
Hint: first use a layer of INVERTERS to invert the input of x to produce the ones complement of
x, and then add to this the value 1 to produce the two’s complement.
Half-Adder
Truth table of Half-Adder:
Esercizio in aula del 07/03/2023. Assente per influenza
This is the Full, half and main adder circuits