How to Design a 3-Bit Priority Encoder Circuit?

  • Thread starter Thread starter fran1942
  • Start date Start date
  • Tags Tags
    Encoder Logic
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 2K views
fran1942
Messages
80
Reaction score
0
Hello, I need to design a circuit (3-bit priority encoder) whereby:

- if input X =1, then outputs B1=1, B0=1
- if inputs X=0, Y=1, then outputs B1=1, B0=0
- if inputs X=0, Y=0, Z=1 then outputs B1=0, B2=1
- if all 3 inputs = 0, then outputs B1=0, B0=0

Would this be the correct way to draw the circuit for this operation ?

Thanks kindly for any help.
 

Attachments

  • diag.jpg
    diag.jpg
    48.8 KB · Views: 596
Last edited:
Physics news on Phys.org
fran1942 said:
Hello, I need to design a circuit (3-bit priority encoder) whereby:

- if input X =1, then outputs B1=1, B0=1
- if inputs X=0, Y=1, then outputs B1=1, B0=0
- if inputs X=0, Y=0, Z=1 then outputs B1=0, B2=1
I suppose you mean B0 = 1.

- if all 3 inputs = 0, then outputs B1=0, B0=0

Would this be the correct way to draw the circuit for this operation ?

Thanks kindly for any help.

Can't you just check it by following the inputs through your circuit?