Skip to content
Sahithyan's S2
Sahithyan's S2 — Computer Organization And Digital Design

Comparators

A digital logic component that compares two binary numbers.

Comparator

Equality Comparator

Outputs whether the two numbers are equal or not.

Magnitude Comparator

Outputs whether the two numbers are equal or less than or greater than.

1-bit Magnitude Comparator

Suppose the comparator takes in and . And the output denotes whether is greater than .

n-bit Magnitude Comparator

Let . denotes if .