0% found this document useful (0 votes)
258 views3 pages

Encoder

An encoder is a circuit that takes binary input and encodes it to an output code. An 8-1 encoder, also called an octal to binary encoder, has 8 inputs and 3 outputs. It uses OR gates to encode which of the 8 inputs is high, outputting a 3-bit binary code representing values 0 to 7. The truth table and circuit diagram show how each output is the OR of specific input bits to generate the binary encoding.

Uploaded by

Ravi Rawat
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)
258 views3 pages

Encoder

An encoder is a circuit that takes binary input and encodes it to an output code. An 8-1 encoder, also called an octal to binary encoder, has 8 inputs and 3 outputs. It uses OR gates to encode which of the 8 inputs is high, outputting a 3-bit binary code representing values 0 to 7. The truth table and circuit diagram show how each output is the OR of specific input bits to generate the binary encoding.

Uploaded by

Ravi Rawat
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
You are on page 1/ 3

Encoder

An Encoder is a combinational circuit that performs the reverse operation of


Decoder.It has maximum of 2^n input lines and ‘n’ output lines, hence it
encodes the information from 2^n inputs into an n-bit code. It will produce a
binary code equivalent to the input, which is active High. Therefore, the
encoder encodes 2^n input lines with ‘n’ bits.

8:1 Encoder
Octal to binary Encoder has eight inputs, Y7 to Y0 and three outputs A2, A1 &
A0. Octal to binary encoder is nothing but 8 to 3 encoder. The block
diagram of octal to binary Encoder is shown in the following figure.

At any time, only one of these eight inputs can be ‘1’ in order to get the
respective binary code. The Truth table of octal to binary encoder is shown
below.

Inputs Outputs

Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 A2 A1 A0

0 0 0 0 0 0 0 1 0 0 0

0 0 0 0 0 0 1 0 0 0 1

0 0 0 0 0 1 0 0 0 1 0

0 0 0 0 1 0 0 0 0 1 1

0 0 0 1 0 0 0 0 1 0 0

0 0 1 0 0 0 0 0 1 0 1

0 1 0 0 0 0 0 0 1 1 0

1 0 0 0 0 0 0 0 1 1 1
From Truth table, we can write the Boolean functions for each output as

A2=Y7+Y6+Y5+Y4A2=Y7+Y6+Y5+Y4

A1=Y7+Y6+Y3+Y2A1=Y7+Y6+Y3+Y2

A0=Y7+Y5+Y3+Y1A0=Y7+Y5+Y3+Y1

We can implement the above Boolean functions by using four input OR gates.
The circuit diagram of octal to binary encoder is shown in the following figure.

The above circuit diagram contains three 4-input OR gates. These OR gates
encode the eight inputs with three bits.

You might also like