The Encoder and Decoder are different kind of combinational circuits which are used to convert binary information to decimal,octal and hexa decimal and vice-versa.
Decoder:
A decoder is combinational circuit which is used for to convert n it binary information to 2n unique outputs. so that a decoder circuit is used for to convert a binary information to decimal,octal and hexa decimal. a decoder circuit is a variable circuit called as nxm decoder.
Let us consider 2x4 decoder circuits consists of inputs A0 and A1 some time along with Enable E.
The outputs are D0,D1,D2,D3,D4. The inputs are connected to 4 AND gates and derive Unique outputs. If we have Enable it will come along with input line. This is used to start the process of decoder circuit. Weather is Zero the inputs representing with xx called don't care conditions.
Diagram & truth table:
Encoder:
An encoder is a combinational circuit which is used to convert 2n inputs to n outputs. so that it is reverse operation of a decoder. it converts the decimal information to binary.
In 8x3 encoder circuit consists 8 inputs called D0 to D7 and the outputs A0,A1,A2 the all the inputs connected to a specified OR gate to representing the binary equavalent of a specifed decimal. The outputs are as follows.
A0=D1+D3+D5+D7
A1=D2+D3+D6+D7
A2=D4+D5+D6+D7
0 comments:
Post a Comment