Docsity

Decoders and Encoders: Understanding Combinational Circuits, Slides of Digital Logic Design and Programming

Partial preview of the text

Download Decoders and Encoders: Understanding Combinational Circuits and more Slides Digital Logic Design and Programming in PDF only on Docsity!

Decoders and Encoders

Decoder

  • (^) Is a combinational circuit that converts binary information from n input lines to a maximum of 2 n unique output lines.
  • (^) n-to-m line decoders => n input lines, m ≤ 2 n output lines.
  • (^) Can also be used to convert codes
  • (^) Outputs are mutually exclusive because only one output is enabled at any one time.

V.Saritha@VIT University

Logic diagram of 3 x 8 Decoder

Combinational logic Implementation using

decoders

  • (^) The outputs of the decoder are the minterms of the Boolean function.
  • (^) So, decoders can be used to design of the combinational circuits with an external OR gate to form the sum.
  • (^) Ex: full adder: Sum (x, y, z) = Σ(1, 2, 4, 7) Carry (x, y, z) = Σ(3, 5, 6, 7)

Decoder

  • (^) A 2 – to – 4 line decoder with an enable input constructed with NAND gates and complemented outputs.

Demultiplexer

  • (^) A decoder with an enable input functions as a demultiplexer.
  • (^) Demultiplexer is a circuit that receives information on a single line and transmits this information on one of 2 n possible output lines.

4 x 16 decoder using two 3 x 8 decoders

Assignment

  • (^) Design BCD – to – decimal decoder
  • (^) Design a 5 x 32 decoder using 4 3 x 8 decoder and 1 2 x 4 decoder
  • (^) Design a combinational circuit for the given maxterms 0,3,5,
  • (^) Design a full subtractor using decoder
  • (^) Design 1:32 demultiplexer tree using 1:4 and 1:8 demux

Encoders

  • (^) Is a digital function that produces a reverse operation from that of a decoder.
  • (^) An encoder has 2 n (or less) input lines and n output lines.
  • (^) Ex: Octal to Binary encoder

Octal to Binary Encoder