Question: 2. (a) Perform the following operation involving four-bit 2's complement numbers and indicate whether arithmetic overflow occurs. Check your answers by converting to decimal
2. (a) Perform the following operation involving four-bit 2's complement numbers and indicate whether arithmetic overflow occurs. Check your answers by converting to decimal sign and magnitude representation. 1010 +1101 C4 S3 S2 S1 S0 (b) Draw a circuit to determine the arithmetic overflow using s3 in question 2(a). (c) Write the verilog code for an n-bit adder with the option to determine the arithmetic overflow using s3 and other available signals. For simplicity, take n=4 as parameter.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
