How to Design a 3-Bit Priority Encoder Circuit?

1 reply · 2K views · last reply
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
  • Handwritten logic circuit: inputs X, Y and Z feed an OR gate producing B1 and an AND gate with inverted Y producing a signal into an OR gate producing B0.
    diag.jpg
    48.8 KB · Views: 606
Last edited:
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?