beautypg.com

Project 14: comparator – Elenco Understanding Logic Gates and Circuits User Manual

Page 24

background image

Project 14:

Comparator

A

Q

Equal to 1 when A=B
Equals 0 when A ≠ B

A

B

Output (Q)

0

0

1

0

1

0

1

0

0

1

1

1

B

Comparators are used in Central Processing Units (CPUs) and

Microcontrollers (MCUs).

A

Q

B

Simpler Comparator Circuit

24

5

3

4

1

2