0% found this document useful (0 votes)
4 views5 pages

Encoder

Uploaded by

nsyd08384
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views5 pages

Encoder

Uploaded by

nsyd08384
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

‫االسم‪ :‬نورالدين سعيد بسيونى‬

‫الفرقة‪ :‬الثانية‬

‫‪Encoder and Decoder‬‬


Encoder Circuit
DISCUSSION

An encoder is a combinational logic gate that accept one or multiple inputs and generates a specific
output code. Only one input is triggered at a time. An encoder with n-bit inputs and n-bit outputs.

When one of the inputs is triggered there will be a n-bit output code at the outputs.

(a) Constructing a 4-to-2 Encoder with Basic Gates


D C B A F9 F8
0 0 0 0 0 0
0 0 0 1 0 0
0 0 1 0 0 1
0 0 1 1 0 0
0 1 0 0 1 0
0 1 0 1 0 0
0 1 1 0 0 0
0 1 1 1 0 0
1 0 0 0 1 1
1 0 0 1 0 0
1 0 1 0 0 0
1 0 1 1 0 0
1 1 0 0 0 0
1 1 0 1 0 0
1 1 1 0 0 0
1 1 1 1 0 0

(b) Constructing a 10-to-4 Encoder with TTL IC


A9 A8 A7 A6 A5 A4 A3 A2 A1 F4 F3 F2 F1
0 1 1 1 1 1 1 1 1 0 1 1 0
0 0 1 1 1 1 1 1 1 0 1 1 0
1 1 1 1 1 1 1 1 0 0 1 1 1
1 1 1 1 1 1 1 0 0 1 0 1 1
1 1 1 1 1 1 0 1 1 0 0 1 1
1 1 1 1 1 0 0 0 0 1 1 0 1
1 1 1 1 0 1 1 1 1 1 0 0 1
1 1 1 1 0 0 0 1 1 1 0 0 1
1 1 1 0 1 1 1 0 0 1 0 0 1
1 1 0 1 1 0 1 1 0 0 0 0 1
1 1 0 0 0 1 1 1 1 0 0 0 1
1 0 0 0 0 0 1 1 1 1 1 1 0

RESULTS
1. Encoders have more input gates than output gates.
2. Output codes of encoders can only be read by professionals.
3. The output of encode s should be decoded by decoders

Decoder Circuit
DISCUSSION

A decoder is a logic circuit that will detect the presence of a specific binary number or word. The jnput
to the decoder is a parallel binary number and the output is a binary signal that indicates the presence
or absence of that specific number.

The AND gate can be used as a basic decoder circuit, since the AND gates’s output will be a binary 1 only
when all inputs are binary 1. Proper connections of AND gate's inputs to the data will ensure detection
of any binary number.
B A F4 F3 F2 F1
0 0 0 0 0 1
0 1 0 0 1 0
1 0 0 1 0 0
1 1 1 0 0 0

You might also like