PREVIEW
Fig. 1 — 4-Bit Magnitude Comparator INTERACTIVE

Ce que tu apprendras

  • Read a magnitude comparison as three mutually-exclusive outputs
  • Relate binary switch patterns to decimal values 0-15
  • See how comparators drive decision logic

Comment ça fonctionne

Each bit of A and B is fed into a 4-bit comparator. Internally it compares the two unsigned values and drives exactly one of three outputs high: A>B, A=B, or A

Composants utilisés

Applications concrètes

Sorting networks, thermostats and set-point controllers, priority arbitration, and the condition logic inside CPUs (branch-if-greater).