ScholarQuill logoScholarQuillUniversity Notes
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
Study Tools
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
Contact
ScholarQuill logo
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
ScholarQuill logoScholarQuillUniversity Notes
Study PortalCC-110Demultiplexers
Ctrl + K
Login
Explore
Search
Semester
Papers
CGPA
    CC-110

    Digital Logic Design

    Progress0 / 63 done
    Topics63
    1Introduction to Digital Systems2Number Systems3Introduction to Boolean Algebra4Basic theorems and properties of Boolean Algebra5Boolean Functions6Logic Gates7NAND and NOR Implementation8Representation of Function in Sum of Minterms or Product of Maxterms9Simplification of Boolean function using Karnaugh Map10Don't care Conditions11The Tabulation Method12Introduction to Combinational Logic13Design of Adders14Design of Subtractors15Code Convertors16Analysis Procedure of Combinational Circuits17Binary Parallel Adders18Decimal Adders19Magnitude Comparator20Decoders and its applications21Multiplexers22Demultiplexers23Encoders24ROM25Programmable Logic Array (PLA)26Introduction to Sequential Circuits27Basic Flip Flop28Clocked RS Flip Flop29Clocked D Flip Flop30Clocked JK Flip Flop31Clocked T Flip Flop32Analysis of Clocked Sequential Circuits33State Reduction and Assignment34Flip Flop Excitation tables35Design Procedure36Design of Counters37Design with State Equations38Introduction to Registers39Shift Registers40Ripple Counters41Synchronous Counters42Timing Sequences43Memory Unit44Random Access Memory45Introduction to Programmable Logic Devices (CPLD, FPGA)46Lab Assignments using tools such as Verilog HDL/VHDL, MultiSim47Familiarization with Digital Electronic Trainer48Logic gates operations49Half Adder Operation50Full Adder Operation51Half Subtractor Operation52Full Subtractor Operation537-Segment Display Operation54Decoder Operation55BCD To 7-Segment Display56Multiplexer Operation57Using Multiplexer and Demultiplexer/Decoder58Multiplexing 7-Segment Displays59Comparator Operations60D Latch and Flip-Flop Operation61Latching BCD Data for Displaying On 7-Segment Display62JK Flip-Flop Operation63Random Access Memories
    7 min read
    Topic 22 of 63
    Topic Study Note Illustration
    22

    Demultiplexers

    A Demultiplexer (DEMUX) is a digital logic device that performs the reverse function of a multiplexer. While a multiplexer takes multiple input signals and selects one to...

    Demultiplexers (DEMUX)

    A Demultiplexer (DEMUX) is a digital logic device that performs the reverse function of a multiplexer. While a multiplexer takes multiple input signals and selects one to be sent to the output, a demultiplexer takes a single input signal and routes it to one of many output lines. Essentially, a DEMUX takes a single data stream and "demultiplexes" it into multiple channels, allowing it to be directed to one of several outputs based on control (select) lines.

    Basic Functionality of a Demultiplexer

    The main function of a Demultiplexer is to distribute the incoming data signal to one of several output lines, depending on the values of the control or select lines. The number of select lines determines the number of output lines, and the number of output lines is always a power of 2 (i.e., 2, 4, 8, 16, etc.).

    • A DEMUX has one data input and multiple output lines.
    • The select lines (or control lines) determine which output line the input will be sent to.
    • The output lines are usually deactivated (logic 0) except the one that corresponds to the select line value, which is activated (logic 1).

    Representation of a Demultiplexer

    For a 2-to-4 demultiplexer, the demux has:

    • 1 data input (D)
    • 4 output lines (O0, O1, O2, O3)
    • 2 select lines (S1, S0)

    The operation of the 2-to-4 Demux works as follows:

    • The select lines determine which one of the four output lines will carry the input signal.
    • Based on the combination of the select lines, the demux will connect the input signal to one of the output lines, and all others will be at logic 0.

    Truth Table for a 2-to-4 Demultiplexer:

    Select S1 Select S0 Data Input (D) Output O0 Output O1 Output O2 Output O3
    0 0 1 1 0 0 0
    0 1 1 0 1 0 0
    1 0 1 0 0 1 0
    1 1 1 0 0 0 1

    In this example:

    • When S1S0 = 00, output O0 is activated and the others are 0.
    • When S1S0 = 01, output O1 is activated, and so on.

    Logic Expression for a Demultiplexer

    For a 2-to-4 demultiplexer, the output expressions for each output can be written in terms of the input data D and the select lines S1 and S0. The output will depend on the state of the select lines:

    • O0 = D * (~S1) * (~S0)
    • O1 = D * (~S1) * S0
    • O2 = D * S1 * (~S0)
    • O3 = D * S1 * S0

    In this representation:

    • Each output is a combination of the data input D and the corresponding select lines that activate that output.
    • The tilde (~) represents the NOT operation (inversion of the select line).

    Types of Demultiplexers

    1. 1-to-2 Demultiplexer:

      • A 1-to-2 demux takes a single input and sends it to one of two output lines.
      • It has 1 data input, 2 outputs, and 1 select line.
    2. 1-to-4 Demultiplexer:

      • A 1-to-4 demux takes a single input and routes it to one of four output lines.
      • It has 1 data input, 4 outputs, and 2 select lines.
    3. 1-to-8 Demultiplexer:

      • A 1-to-8 demux takes a single input and routes it to one of eight output lines.
      • It has 1 data input, 8 outputs, and 3 select lines.
    4. 1-to-16 Demultiplexer:

      • A 1-to-16 demux takes a single input and routes it to one of sixteen output lines.
      • It has 1 data input, 16 outputs, and 4 select lines.

    Applications of Demultiplexers

    Demultiplexers are used in a variety of applications where data needs to be directed to one of several channels or destinations. Some key applications include:

    1. Data Routing

    In systems that require directing data from a single source to multiple destinations, demultiplexers are used to route the data. For example, in communication systems, a demux can route a single data signal to one of several receivers based on control signals.

    2. Memory Systems

    Demultiplexers are used in memory systems to distribute data to the appropriate memory addresses or locations. A single input can be routed to one of many memory blocks or locations, depending on the address provided by the select lines.

    • Example: In a memory system with multiple RAM modules, a demux could be used to send the data from a processor to the appropriate RAM module based on an address.

    3. Signal Distribution

    In digital circuits, demuxes are used to distribute a single signal to various parts of a system. For example, a demux could route a clock signal to different parts of a synchronous circuit to synchronize different sub-components.

    4. Data Transmission and Communication

    In communication systems, a demultiplexer is used to separate a signal that was multiplexed (combined) from multiple channels. A demux will route the combined signal back to the appropriate output channels at the receiving end.

    • Example: In a Time Division Multiplexing (TDM) system, a demux would take a single multiplexed signal and separate it into its original time slots, sending the data to the appropriate output channels.

    5. Control Systems

    Demuxes are used in control systems to route control signals to various parts of a machine or process. For example, in a control unit of a computer, a demux may direct the control signals to different functional units (like the ALU, registers, or memory) based on the operation being performed.

    6. Audio and Video Routing

    In multimedia applications, demuxes are used to route audio and video streams to specific outputs. For example, a demux could be used in a home theater system to direct video signals to the appropriate display or audio signals to the correct speakers.

    7. Decoding Data Signals

    Demuxes can be used for decoding purposes in digital systems. For example, when receiving a coded signal, a demux can help decode the signal and route it to the appropriate output.

    8. Interrupt Handling in Microcontrollers

    In microcontrollers, demuxes can be used to route interrupt signals to the appropriate handling routines or interrupt lines based on the priority or type of interrupt.

    Advantages of Demultiplexers

    • Efficient Resource Utilization: Demultiplexers help efficiently route data to one of many outputs using a small number of control lines, optimizing the use of resources.
    • Cost-Effective: A single demux can replace multiple individual routing circuits, reducing the overall hardware complexity and cost.
    • Simplification of Circuit Design: In systems where multiple outputs are needed, demuxes simplify circuit design by providing a compact and efficient way to handle data routing.

    Conclusion

    A Demultiplexer (DEMUX) is a crucial digital component in many systems, enabling the distribution of a single data signal to one of many outputs. By utilizing control or select lines, demuxes ensure that data is routed to the appropriate destination. They are widely used in communication systems, memory addressing, signal routing, data transmission, and control systems. By performing the reverse operation of a multiplexer, demultiplexers enhance the flexibility and efficiency of digital systems, allowing data to be managed and routed effectively to multiple destinations.

    ← Previous topic 21
    Multiplexers
    Next topic 23 →
    Encoders

    Past Papers

    Open this section to view and download past papers

    Click on Show Past Papers to load available exam papers.

    Reading Progress
    0%
    7mremaining
    1.2kwords
    Intermediatelevel
    On This Page

    No headings found

    Study Toolkit

    Subject Portal

    Digital Logic Design