DL-LAB-5.docx - TRIBHUWAN UNIVERSITY INSTITUTE OF...

This preview shows page 1 - 4 out of 14 pages.

TRIBHUWAN UNIVERSITYINSTITUTE OF ENGINEERINGPULCHOWK CAMPUSDepartment of Electronics and Computer EngineeringDigital Logic LabLab Report-5Submitted By:Shrey UpadhyayaRoll No. :PUL076BCT078
Experiment No:-5Encoders and DecodersObjectives:To observe the working methods of 4x2 and 8x3 encoders.To observe the working methods of 2x4 and 3x8 decoders.To realize the binary to decimal converter using 3x8 decoders and decimal to binaryusing 8x3 encoders.Theory:Binary code of N digits can be used to store 2Ndistinct elements of coded information. This iswhat encoders and decoders are used for.Encodersconvert 2Nlines of input into a code of Nbits andDecodersdecode the N bits into 2Nlines.1)EncodersThe combinational circuits that change the binary information into N output lines areknown asEncoders. The binary information is passed in the form of 2Ninput lines. Theoutput lines define the N-bit code for the binary information. In simple words,theEncoderperforms the reverse operation of theDecoder. At a time, only one inputline is activated for simplicity. The produced N-bit output code is equivalent to the binaryinformation.There are various types of encoders which are as follows:4 to 2 line Encoder:In 4 to 2 line encoder, there are total of four inputs, i.e., Y0, Y1, Y2, and Y3, and twooutputs, i.e., A0and A1. In 4-input lines, one input-line is set to true at a time to get the
respective binary code in the output side. Below are the block diagram and the truth tableof the 4 to 2 line encoder.

Upload your study docs or become a

Course Hero member to access this document

Upload your study docs or become a

Course Hero member to access this document

End of preview. Want to read all 14 pages?

Upload your study docs or become a

Course Hero member to access this document

Term
Winter
Professor
Lal babu
Tags
Binary numeral system, Logic gate, AND gate, Department of Electronics and Computer Engineering, Shrey Upadhyaya

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture