Encoder (s2020376072)
Encoder (s2020376072)
AGENDA
Definition
Conversion
Truth Table
Logical Expression(Use of Logic Gates)
Application/Use Cases
Limitations
Q/A
DEFINITION
An encoder is a combinational
circuit that performs the reverse
operation of decoder.
Max no. of inputs=2n
No . of output=n[only one of the
outputs becomes high (logic state
‘1’) at a time.]
4
CONVERSION
(4 to 2 encoder)
4 to 2 encoder has four inputs & two
outputs.
Let D3,D2,D1,D0 are the four inputs and
A1,A0 are the two outputs.
5
TRUTH TABLE
6
LOGICAL
EXPRESSION
Logical expression of A1 and A0 is as
follows:
A1=Y3+Y2
A0=Y3+Y1
7
8 TO 3 ENCODER
Range:1-7
Base:8
Max.no. of inputs=23
No. of outpus= n(3)
Let, there are eight inputs I0 I1,I2,I3,I4,I5,I6 and I7 and
8 TO 3 ENCODER
TRUTH
TABLE
10
LOGICAL EXPRESSION
• Logical expression of 8 to 3 encoder is :
• O2=I4+I5+I6+I7
• O1=I2+I3+I6+I7
• O0=I7+I5+I3+I1
11
LOGICAL EXPRESSION
12
10 TO 4 ENCODER
Range:1-9
Base:10
Max.no. of inputs=24
No. of outpus= n(4)
Let, there are eight inputs I0 I1,I2,I3,I4,I5,I6, I7,I8,I9 and
10 TO 4 ENCODER
Click to add picture
Input
/
Y0 Y1 Y2 Y3
Outp
ut
I0 0 0 0 0
I1 0 0 0 1
I2 0 0 1 0
I3 0 0 1 1
I4 0 1 0 0 TRUTH TABLE
I5 0 1 0 1
I6 0 1 1 0
I7 0 1 1 1
I8 1 0 0 0
I9 1 0 0 1
15
LOGICAL EXPRESSION
Y0=I8+I9
Y1=I4+I5+I6+I7
Y2=I2+I3+I6+I7
Y3=I1+I3+I5+I7+I9
16
LOGICAL EXPRESSION
THANK
YOU
Presenter : Sidra
Bibi(s2024376072)
Presented to : Sir Khizar Abbas