Lukas' Notes

Home

❯

Knowledge

❯

Comparator

Comparator

Jul 25, 20251 min read

logic-circuits

Definition

Comparator

A comparator is a logical circuit that takes two inputs A,B and compares them. There are different types of comparators.

Types

Equality

Let A,B be numbers, then:

A=B⟺A⊕B​

1

Signed Less Than

Let A,B be numbers, then:

A<B⟺A−B is negative

1

Footnotes

  1. DDCA Ch5 - Part 6: Subtractors & Comparators - YouTube ↩ ↩2


Graph View

  • Definition
  • Types
  • Equality
  • Signed Less Than

Created with Quartz v4.4.0 © 2025

  • GitHub