Lab 4.pdf - Lab 4 \u2013 Comparators circuit using Logic Gates I Introduction 1 Activity \u2022 \u2022 \u2022 Build and simulate Equality comparator circuit by

Lab 4.pdf - Lab 4 – Comparators circuit using Logic Gates...

This preview shows page 1 - 3 out of 9 pages.

Lab 4 Comparators circuit using Logic Gates I. Introduction 1. Activity Build and simulate Equality comparator circuit by logic gate Build and simulate Magnitude comparator circuit by logic gate Build several types of comparator circuit such as one bit, two bits or 4 bits circuit. 2. Theory Binary comparators, also called digital comparators or logic comparators, are combinational logic circuits that are used for testing whether the value represented by one binary word is greater than, less than, or equal to the value represented by another binary word. Two basic types of comparator can be used. Equality comparators. Magnitude comparators. II. Lab Experiment 1. Equality Comparator The equality comparator is the simplest form of comparator circuit for determining whether two number are equal. Practice a. By using truth table of Exclusive-NOR gate, explain why it can be used in building the basic 1-bit Equality comparator circuit. The circuit of the equality comparator consists of an exclusive NOR gate (XNOR) per pair of input bits. If the two inputs are identical (both 1s or both 0s) an output of logic 1 is obtained as it can be use as equality comparator which has the same characteristic.
Image of page 1
b. Verify with 2-bit Equality comparator circuit by implementing and simulating on Quartus Prime software for input as figure 2 below.
Image of page 2
Image of page 3

You've reached the end of your free preview.

Want to read all 9 pages?

  • Fall '17
  • tola
  • Logic gate, Comparator, 1s

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

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors