# 09._Magnitude_Comparator.pdf - Magnitude Comparator By Dr...

• yopayi
• 24

This preview shows page 1 - 8 out of 24 pages.

Dr. Praveen Kumar Reddy M;School of Information Technology and Engineering9/8/2021 7:16 AMSlide No.1Magnitude ComparatorByDr Praveen Kumar ReddyMSchool of Information Technologyand Engineering
Dr. Praveen Kumar Reddy M;School of Information Technology and Engineering9/8/2021 7:16 AMSlide No.4DecoderThe combinational circuit that change the binary information into 2Noutput lines is knownasDecoders.The binary information is passed in the form of N input lines. The output lines define the 2N-bit code for the binary information.In simple words, theDecoderperforms the reverse operation of theEncoder. At a time, onlyone input line is activated for simplicity. The produced 2N-bit output code is equivalent to thebinary information.Decoder
Dr. Praveen Kumar Reddy M;School of Information Technology and Engineering9/8/2021 7:16 AMSlide No.52 to 4 line decoder:In the 2 to 4 line decoder, there is a total of three inputs, i.e., A0, and A1and E andfour outputs, i.e., Y0, Y1, Y2, and Y3.For each combination of inputs, when the enable 'E' is set to 1, one of these fouroutputs will be 1. The block diagram and the truth table of the 2 to 4 line decoder aregiven below.Block Diagram:Truth Table:Decoder2 to 4 line decoder:
Dr. Praveen Kumar Reddy M;School of Information Technology and Engineering9/8/2021 7:16 AMSlide No.62 to 4 line decoder:The logical expression of the term Y0, Y0, Y2, and Y3 is as follows:Y3=E.A1.A0Y2=E.A1.A0Y1=E.A1'.A0Y0=E.A1'.A0'Logical circuit of the above expressions is given below:Decoder2 to 4 line decoder:
Dr. Praveen Kumar Reddy M;School of Information Technology and Engineering9/8/2021 7:16 AMSlide No.73 to 8 line decoder:The 3 to 8 line decoder is also known asBinary to Octal Decoder.In a 3 to 8 line decoder, there is a total of eight outputs, i.e., Y0, Y1, Y2, Y3, Y4, Y5, Y6,and Y7and three outputs, i.e., A0, A1, and A2.This circuit has an enable input 'E'. Just like 2 to 4 line decoder, when enable 'E' is setto 1, one of these four outputs will be 1.The block diagram and the truth table of the 3 to 8 line encoder are given below.Block Diagram:Truth Table:Decoder2 to 4 line decoder:3 to 8 line decoder:
Dr. Praveen Kumar Reddy M;School of Information Technology and Engineering9/8/2021 7:16 AMSlide No.83 to 8 line decoder:The logical expression of the term Y0, Y1, Y2, Y3, Y4, Y5, Y6, and Y7is as follows:Y0=E. A0'.A1'.A2'Y1=E. A0.A1'.A2'Y2=E. A0'.A1.A2'Y3=E. A0.A1.A2'Y4=E. A0'.A1'.A2Y5=E. A0.A1'.A2Y6=E. A0'.A1.A2Y7=E. A0.A1.A2Logical circuit of the above expressions is:Decoder2 to 4 line decoder:3 to 8 line decoder:
Dr. Praveen Kumar Reddy M;School of Information Technology and Engineering9/8/2021 7:16 AMSlide No.94 to 16 line DecoderIn the 4 to 16 line decoder, there is a total of 16 outputs, i.e., Y0, Y1, Y2,……,Y15and four inputs, i.e., A0, A1, A2, and A3.

Course Hero member to access this document

Course Hero member to access this document

End of preview. Want to read all 24 pages?