DIGITAL ETC.docx - Designing of 3 to 8 Line Decoder and...

This preview shows page 1 out of 11 pages.

Unformatted text preview: Designing of 3 to 8 Line Decoder and De-multiplexer A decoder is a combinational logic circuit which is used to change the code into a set of signals. It is the reverse process of an encoder. A decoder circuit takes multiple inputs and gives multiple outputs. A decoder circuit takes binary data of ‘n’ inputs into ‘2^n’ unique output. In addition to input pins, the decoder has a enable pin. This enables the pin when negated, makes the circuit inactive. in this article, we discuss 3 to 8 line Decoder and Multiplexer. The below is the truth table for simple 1 to 2 line decoder where A is the input and D0 and D1 are the outputs. (1 to 2 Decoder) The circuit shows the 1 to 2 decoder logic. (1 to 2 Decoder Circuit) A demultiplexer is a device that takes a single input and gives one of the several output lines. A demultiplexer takes one single input data and then selects any one of the single output lines one at a time. It is the reverse process of a multiplexer. It is also called as a DEMUX or a data distributor. A DEMUX converts the input serial data line into output parallel data. A DEMUX gives ‘2n’ outputs for ‘n’ selection lines with a single input. (De-mux) DEMUX is used when the circuit wishes to send the data signal to one of the many devices. A decoder is used to select among many devices whereas a demultiplexer is used to send the signal to many devices. The below is the truth table for 1 to 2 demultiplexer with “I” as input data, D0 and D1 are the output data line and A is the selection line. (1 to 2 Demux Truth Table) The circuit shows the 1 to 2 demultiplexer schematic. (1 to 2 Demux) 3 Line to 8 Line Decoder This decoder circuit gives 8 logic outputs for 3 inputs and has a enable pin. The circuit is designed with AND and NAND logic gates. It takes 3 binary inputs and activates one of the eight outputs. 3 to 8 line decoder circuit is also called as binary to an octal decoder. (3 to 8 Line Decoder Block Diagram) The decoder circuit works only when the Enable pin (E) is high. S0, S1 and S2 are three different inputs and D0, D1, D2, D3. D4. D5. D6. D7 are the eight outputs. Circuit Diagram (3 to 8 Decoder Circuit) 3 to 8 Line Decoder Truth Table The below table gives the truth table of 3 to 8 line decoder. S0 S1 x x S2 E D0 x 0 0 D1 D2 0 0 D3 D4 D5 D6 D7 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 1 1 0 0 0 0 0 0 1 0 0 1 0 1 0 0 0 0 0 1 0 0 0 1 1 1 0 0 0 0 1 0 0 0 1 0 0 1 0 0 0 1 0 0 0 0 1 0 1 1 0 0 1 0 0 0 0 0 1 1 0 1 0 1 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 0 0 0 When the Enable pin (E) is low all the output pins are low. 1 to 8 Demultiplexer A 1 line to 8 line demultiplexer has one input, three select input lines and eight output lines. It distributes the one input data into 8 output lines depending on the selected input. Din is the input data, S0, S1, and S2 are select inputs and Y0, Y1, Y2, Y3, Y4, Y5, Y6, Y7 are the outputs . [1 to 8 DEMUX] Circuit Diagram [1 to 8 Demux circuit] 3 to 8 Decoder/Demultiplexer IC 74HC238 is used is used as decoder/ demultiplexer. 3 to 8 line decoder demultiplexer is a combinational circuit that can be used as both a decoder and a demultiplexer. IC 74HC238 decodes three binary address inputs (A0, A1, A2) into eight outputs (Y0 to Y7). The device also has three Enable pins. The same combination is used as a demultiplexer. Pin Configuration The below is the pin configuration for the IC74HC238 3 to 8 line decoder or demultiplexer. It is a 16 pin DIP. Circuit The logical circuit explains the working of the IC 74HC238. Features of 74HC238 IC Demultiplexing capability Multiple inputs enable for easy expansion Ideal for memory chip select decoding Active HIGH mutually exclusive outputs Multiple package option Application of Decoder The Decoders were used in analog to digital conversion in analog decoders. Used in electronic circuits to convert instructions into CPU control signals. They mainly used in logical circuits, data transfer. Applications of Demultiplexer Used to connect a single source to multiple destinations. The Demux is used in communication systems to carry multiple data signals into a single transmission line. Used in Arithmetic Logic Units Used in serial to parallel converters in data communications. Therefore, this is the basic information about 3 to 8 line decoder and demultiplexers. Hope you might have got some fundamental concepts about this topic by observing the digital logic circuits and truth tables and their applications. Circuit Design of 4 to 16 Decoder Using 3 to 8 Decoder decoder is a combinational circuit constructed with logic gates. It is the reverse of the encoder. A decoder circuit is used to transform a set of digital input signals into an equivalent decimal code of its output. For ‘n’ inputs a decoder gives 2^n outputs. In this article, we will discuss on 4 to 16 decoder circuit design using 3 to 8 decoder. An encoder is a combinational circuit that changes a set of signals into a code. For ‘2^n’ inputs an encoder circuit gives ‘n’ outputs. The following figure shows the block diagram of a decoder. (Decoder Block Diagram) 3 to 8 Decoder This decoder circuit gives 8 logic outputs for 3 inputs. The circuit is designed with AND and NAND combinations. It takes 3 binary inputs and activates one of the eight outputs. [3 to 8 Decoder Block Diagram] Circuit Diagram The decoder circuit works only when the Enable pin is high. [3 to 8 Decoder Circuit] Truth Table When the Enable (E) pin is low, all the output pins are low. S0 S1 S2 E D0 D1 D2 D3 D4 D5 D6 D7 x x x 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 1 1 0 0 0 0 0 0 1 0 0 1 0 1 0 0 0 0 0 1 0 0 0 1 1 1 0 0 0 0 1 0 0 0 1 0 0 1 0 0 0 1 0 0 0 0 1 0 1 1 0 0 1 0 0 0 0 0 1 1 0 1 0 1 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 0 0 0 Circuit Design of 4 to 16 Decoder Using 3 to 8 Decoder A decoder circuit of the higher combination is obtained by adding two or more lower combinational circuits. 4 to 16 decoder circuit is obtained from two 3 to 8 decoder circuits or three 2 to 4 decoder circuits. When two 3 to 8 Decoder circuits are combined the enable pin acts as the input for both the decoders. When enable pin is high at one 3 to 8 decoder circuits then it is low at another 3 to 8 decoder circuit. Truth Table The Enable (E) pin acts as one of the input pins for both 3 to 8 decoder circuits. E A B C Y0 Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 Y9 Y10 Y11 Y12 Y13 Y14 Y15 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 1 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Circuit Diagram of 4 to 16 Decoder [4 to 16 Decoder Circuit] Applications of Decoders In every wireless communication, data security is the main concern. The decoders are mainly designed to provide security for data communication by designing standard encryption and decryption algorithms. Decoders are used in audio systems to convert analogue audio into digital data. Used as a decompressor to convert a compressed data like images and videos into decompressed form. Decoders use in electronic circuits which converts computer instructions into CPU control signals. Therefore, this is all about the 4 to 16 decoder circuit design using 3 to 8 decoder circuit. ...
View Full Document

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture