Digital Comparator (Teachers Guide) (Nigerian Syllabus)

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 8

You Are

Specially
Welcome To
Today’s Class
November 2023

Year One
TOPIC
Digital Comparator
Digital Comparator is a very
useful application of logic circuit.
They are made from logic gates
XOR, NOR, NOT, AND etc
They compare the digital signals
of their inputs and produce output
depending upon the conditions of
those inputs.
Example

Consider a simple comparator using XOR


gate below:
The Output of the gate is 0 if the
inputs are the same and 1 if they differ.
The truth table and logic gate symbol for
XOR comparator.
XOR GATE SYMBOL
TRUTH TABLE

INPUT P INPUT Q P XOR Q = OUTPUT R

0 0 0

0 1 1

1 0 1

1 1 0

TRUTH TABLE FOR XOR LOGIC GATE


LOGIC SYMBOL

You might also like