Digital magnitude comparator
Compares two digital words to provide the specified equality and magnitude indications.
IEC COMP element comparing two binary words P and Q, with outputs for P>Q, P=Q and P<Q.
In plain English
The IEC magnitude comparator is marked COMP. Its inputs are grouped as word P and word Q with binary weights, and its outputs are labelled P>Q, P=Q and P<Q. Cascading inputs carry the same labels in a separate group so that comparators can be chained for longer words.
Digital comparators appear in set-point logic, address matching and limit checking. A reviewer should confirm the bit order of P and Q, because a swapped weight produces a comparison that is correct only for some values.
The symbol does not indicate whether the comparison is for signed or unsigned numbers. Standard devices compare unsigned binary.
IEC COMP element comparing two binary words P and Q, with outputs for P>Q, P=Q and P<Q. An analogue voltage comparator compares two voltages, not binary words.
Read the source: Overview of IEEE Standard 91-1984: explanation of logic symbols (SDYZ001A) · CD74HC85 — digital magnitude comparators
Qualifying-symbol and dependency conventions as explained in TI's public overview of IEEE Std 91-1984, which incorporates IEC 617-12 work. Independent educational drawing; not certified IEC geometry or an IEC database identifier. The counterpart is the matching functional concept; no equivalence of every detailed standard graphic is asserted.
Shown as an independently authored educational illustration. Use the cited publication and drawing legend to verify the required drafting form.
The IEC magnitude comparator is marked COMP. Its inputs are grouped as word P and word Q with binary weights, and its outputs are labelled P>Q, P=Q and P<Q. Cascading inputs carry the same labels in a separate group so that comparators can be chained for longer words.
Digital comparators appear in set-point logic, address matching and limit checking. A reviewer should confirm the bit order of P and Q, because a swapped weight produces a comparison that is correct only for some values.
The symbol does not indicate whether the comparison is for signed or unsigned numbers. Standard devices compare unsigned binary.
An analogue voltage comparator compares two voltages, not binary words.
These public references support the explanation and provide further detail. Their graphics and downloadable files remain with their publishers.
Lists COMP as the magnitude comparator qualifier.
Magnitude comparator documentation.
This illustration was authored independently by Elora Grid to explain the concept. It is not reproduced from a customer drawing, an official standard graphic or a manufacturer CAD file. Its correspondence to an exact IEC or IEEE symbol identifier has not been certified.
SVG and DXF downloads contain this original artwork. DXF uses unscaled drawing units; a GA envelope supplies no product dimensions, clearances or fabrication information. Original artwork is available under CC BY 4.0. Third-party references retain their own terms.
Elora Grid helps electrical teams work with drawings, specifications and equipment information. Explore the drafting workflow or join the early-access waitlist.