8 Encoder Decoder
8 Encoder Decoder
Decoder
Decoder
A decoder is a multiple-input, multiple-
output logic circuit which converts coded
inputs into coded outputs, where the input
and output codes are different.
3:8 decoder
4:16 decoder
2:4 Decoder
Step 1: Definition- logic circuit which converts
coded inputs into coded outputs
A Y0
B 2:4 Decoder
Y1
Y2
Y3
Step 4: Truth table
A B Y0 Y1 Y2 Y3
0 0 1 0 0 0
0 1 0 1 0 0
1 0 0 0 1 0
1 1 0 0 0 1
Y0
Y1
Y2
Y3
3:8 Decoder
Step 1: Definition- logic circuit which converts
coded inputs into coded outputs
B 3:8 Decoder Y3
Y4
C Y5
Y6
Y7
Step 4: Truth table
A B C Y0 Y1 Y2 Y3 Y4 Y5 Y6 Y7
0 0 0 1 0 0 0 0 0 0 0
0 0 1 0 1 0 0 0 0 0 0
0 1 0 0 0 1 0 0 0 0 0
0 1 1 0 0 0 1 0 0 0 0
1 0 0 0 0 0 0 1 0 0 0
1 0 1 0 0 0 0 0 1 0 0
1 1 0 0 0 0 0 0 0 1 0
1 1 1 0 0 0 0 0 0 0 1
Y0
Y1
Y2
Y3
Y4
Y5
Y6
Y7
HW: 4:16
Implementation of boolean
function using decoder
Encoder
An encoder is a digital circuit that performs
the inverse operation of a decoder.
8:3
16:4
4:2 Encoder
Step 1: Definition- In encoder the output lines
generate the binary code corresponding to the input
value.
D0 Y0
D1 4:2 Encoder
Y1
D2
D3
Step 4: Truth table
D0 D1 D2 D3 Y0 Y1
1 0 0 0 0 0
0 1 0 0 0 1
0 0 1 0 1 0
0 0 0 1 1 1
D0
Y0
D1
D2
Y1
D3
8:3 Encoder
Step 1: Definition- In encoder the output lines generate
the binary code corresponding to the input value.
A
B
C
Step 4:
Truth table
Step 5: Expression
Step 6: Logic diagram