LAB 3 - Overflow - CSE 2300W Lab 3 Overflow Section Number...

Info icon This preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
CSE 2300W: Lab 3 – Overflow Section Number: ____________ Name: Shayan Rizvi
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Objectives The objective of this lab is to detect overflow in the addition of two’s compliment numbers. Sometimes when one adds together two two’s compliment binary numbers there is an overflow of bits. There are two rules to check if there is an overflow of bits. In this lab both rules will be implemented and verified. This lab contained a hardware and software component. The digital circuit will be built in LogicWorks and then the physical circuit will be built on the protoboard. Background An overflow is present in the two’s compliment binary addition when there is an excess of bits, in other words when there is one more bit than necessary. For example if you add two eight bit binary numbers and the result is a 9 bit binary number than there is an overflow of one bit. To check overflow two rules are utilized as stated earlier. Rule one says that there is an overflow if and only if the incoming carry bit of the leftmost place is not the same as the carry generated at the place. Rule two states there is an overflow if and only if tow addends sign are the same but the sign of the sum is different. This lab implemented these two rules and verified these two rules. Specifications There was both digital and physical hardware used in this lab. The physical hardware used was two exclusive OR gates and the part was called 74LS86. There was one dual four input AND gate used and it was of the type 74LS21.
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern