Test Your EQ (Engineering Quotient)

EQ #54

What common function does the following truth table represent?

— ADVERTISMENT—

Advertise Here

A B C  X Y Z
0 0 0 → 0 0 0
0 0 1 → 0 0 1
0 1 0 → 0 1 0
0 1 1 → 0 0 1
1 0 0 → 1 0 0
1 0 1 → 0 0 1
1 1 0 → 0 1 0
1 1 1 → 0 0 1

The truth table implements a form of priority encoder:

  • Z is set if C is set, otherwise
  • Y is set if B is set, otherwise
  • X is set if A is set

— ADVERTISMENT—

Advertise Here

In other words, C has the highest priority and A has the lowest. However, unlike conventional priority encoders that produce a binary output, this one produces a “one hot” encoding.

The logic is quite straightforward:

  • Z = C
  • Y = B & !C
  • X = A & !B & !C

Keep up-to-date with our FREE Weekly Newsletter!

Don't miss out on upcoming issues of Circuit Cellar.


Note: We’ve made the Dec 2022 issue of Circuit Cellar available as a free sample issue. In it, you’ll find a rich variety of the kinds of articles and information that exemplify a typical issue of the current magazine.

Would you like to write for Circuit Cellar? We are always accepting articles/posts from the technical community. Get in touch with us and let's discuss your ideas.

Supporting Companies

Upcoming Events


Copyright © KCK Media Corp.
All Rights Reserved

Copyright © 2023 KCK Media Corp.

EQ #54

by Circuit Cellar Staff time to read: <1 min