You are on page 1of 2

Lab 13: Comparator Circuit

Overview:

A comparator compares the equality and inequality between variables.

Task 01:

Construct the circuit with basic logic gates.

Input Output
SW
1
SW2 (B) (A) A<B A>B A=B

0 0 0 0 1

0 1 1 0 0

1 0 0 1 0

1 1 0 0 1
Task 03+04:

Construct the following circuit using Module KL-33002.

Input Output

SW2 (B) SW1 (A) F1 F2 F5

0 0 1 1 0

0 1 0 1 1

1 0 1 0 1

1 1 1 1 0

You might also like