ScholarQuill logoScholarQuillUniversity Notes
  • Notes
  • Past Papers
  • Blogs
  • Todo
Login
ScholarQuill logoScholarQuillUniversity Notes
Login
NotesPast PapersBlogsTodo
More
SubjectsDiscussionCGPA CalculatorGPA CalculatorStudent PortalCourse Outline
About
About usPrivacy PolicyReportContact
Notes
Past Papers
Blogs
Todo
Analytics
    Current Subject
    🧩
    Digital Logic Design
    CC-110
    Progress0 / 63 topics
    Topics
    1. Introduction to Digital Systems2. Number Systems3. Introduction to Boolean Algebra4. Basic theorems and properties of Boolean Algebra5. Boolean Functions6. Logic Gates7. NAND and NOR Implementation8. Representation of Function in Sum of Minterms or Product of Maxterms9. Simplification of Boolean function using Karnaugh Map10. Don't care Conditions11. The Tabulation Method12. Introduction to Combinational Logic13. Design of Adders14. Design of Subtractors15. Code Convertors16. Analysis Procedure of Combinational Circuits17. Binary Parallel Adders18. Decimal Adders19. Magnitude Comparator20. Decoders and its applications21. Multiplexers22. Demultiplexers23. Encoders24. ROM25. Programmable Logic Array (PLA)26. Introduction to Sequential Circuits27. Basic Flip Flop28. Clocked RS Flip Flop29. Clocked D Flip Flop30. Clocked JK Flip Flop31. Clocked T Flip Flop32. Analysis of Clocked Sequential Circuits33. State Reduction and Assignment34. Flip Flop Excitation tables35. Design Procedure36. Design of Counters37. Design with State Equations38. Introduction to Registers39. Shift Registers40. Ripple Counters41. Synchronous Counters42. Timing Sequences43. Memory Unit44. Random Access Memory45. Introduction to Programmable Logic Devices (CPLD, FPGA)46. Lab Assignments using tools such as Verilog HDL/VHDL, MultiSim47. Familiarization with Digital Electronic Trainer48. Logic gates operations49. Half Adder Operation50. Full Adder Operation51. Half Subtractor Operation52. Full Subtractor Operation53. 7-Segment Display Operation54. Decoder Operation55. BCD To 7-Segment Display56. Multiplexer Operation57. Using Multiplexer and Demultiplexer/Decoder58. Multiplexing 7-Segment Displays59. Comparator Operations60. D Latch and Flip-Flop Operation61. Latching BCD Data for Displaying On 7-Segment Display62. JK Flip-Flop Operation63. Random Access Memories
    CC-110›Demultiplexers
    Digital Logic DesignTopic 22 of 63

    Demultiplexers

    7 minread
    1,180words
    Intermediatelevel

    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 load past papers

    Click on Show Past Papers to see past papers.
    On This Page
      Reading Stats
      Est. reading time7 min
      Word count1,180
      Code examples0
      DifficultyIntermediate