Hello,
you have to develop a circuit that takes as input a n+1-bit 2-complement number and computes its value and, if it is the case, indicates an overflow.
In addition you have to compute the costs of the circuit.
Tips:
- take into account the definition of (abs) value. You are allowed to make use of the circuits defined in the lecture.
- for the determination of the overflow you can make use of what we computed in the lecture. for this special case you can also think in which case the (abs) value of a (n+1)-bit number given in 2-complement format is not representable as a (n+1)-bit 2-complement number.
Greetings, Paolo