computer engineering: PLEASE HELP Design a 4-bit 2’s complement format adder/subtractor circuit that is also capable of indicating the occurrence of an overflow condition. The circuit has two 4-bit inputs, P and S, and a 1-bit input Op. The value of Op specifies whether the operation to be carried out is addition or subtraction. The outputs for the circuit are R (4-bit wide) and Ov (1-bit wide; Ov =1 indicates the occurrence of an overflow during the addition/subtraction process and Ov = 0 indicates that there is no overflow). Verify your design’s functionality with Multisim by performing both P + S operation as well as the P − S operation for each of the following pairs of P and S values: P = 0000 and S=0000 (i.e. P = 010 and S = 010) P = 0110 and S=0100 (i.e. P = 610 and S = 410) P = 1110 and S=1000 (i.e. P = −210 and S = −810) P = 1000 and S=0100 (i.e. P = −810 and S = 410) (Eight cases in total: Four P+S cases and four P-S cases). As an example, when P = −2 and S= −8 as in the third case above, P + S = −2 + (−8) = 1110 + 1000 in binary, and P – S = −2 − (−8) = −2 + 8 The report should contain the following: 1. A Problem statement or Objective statement 2. A Methodology section. In this section, you need to discuss your design approach. 3. A Discussion section. In this section, you need to discuss your results. You must also discuss any difficulties that you faced while working on this assignment and how you overcame them. In addition, you should also indicate what you learned after finishing this assignment. 4. Screenshots of the results for the 8 cases that you have been asked to verify (four cases of P + S and four cases of P – S as specified above) 5. Your conclusion
computer engineering:
PLEASE HELP
Design a 4-bit 2’s complement format adder/subtractor circuit that is also capable of indicating the occurrence of an overflow condition. The circuit has two 4-bit inputs, P and S, and a 1-bit input Op. The value of Op specifies whether the operation to be carried out is addition or subtraction.
The outputs for the circuit are R (4-bit wide) and Ov (1-bit wide; Ov =1 indicates the occurrence of an overflow during the addition/subtraction process and Ov = 0 indicates that there is no overflow).
Verify your design’s functionality with Multisim by performing both P + S operation as well as the P − S operation for each of the following pairs of P and S values: P = 0000 and S=0000 (i.e. P = 010 and S = 010)
P = 0110 and S=0100 (i.e. P = 610 and S = 410)
P = 1110 and S=1000 (i.e. P = −210 and S = −810)
P = 1000 and S=0100 (i.e. P = −810 and S = 410) (Eight cases in total: Four P+S cases and four P-S cases). As an example, when P = −2 and S= −8 as in the third case above, P + S = −2 + (−8) = 1110 + 1000 in binary, and P – S = −2 − (−8) = −2 + 8
The report should contain the following: 1. A Problem statement or Objective statement
2. A Methodology section. In this section, you need to discuss your design approach.
3. A Discussion section. In this section, you need to discuss your results. You must also discuss any difficulties that you faced while working on this assignment and how you overcame them. In addition, you should also indicate what you learned after finishing this assignment.
4. Screenshots of the results for the 8 cases that you have been asked to verify (four cases of P + S and four cases of P – S as specified above)
5. Your conclusions
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images