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 PortalCSI-306Design And Use Of Mult…
Ctrl + K
Login
Explore
Search
Semester
Papers
CGPA
    CSI-306

    Digital Logic Design

    Progress0 / 47 done
    Topics47
    1Overview of Binary Numbers2Boolean Algebra3Switching Algebra4Logic Gates5Karnaugh Map6Quin-McCluskey Methods7Simplification of Boolean Functions
    8Two-Level NAND/NOR Implementation9Tabular Minimization
    10Adders11Subtracters12Code Converters13Parity Checkers14Multilevel NAND/NOR/XOR Circuits15MSI Components16Design and Use of Encoders17Design and Use of Decoders18Design and Use of Multiplexers19BCD Adders20Comparators21Latches and Flip-Flops22Synchronous Sequential Circuit Design and Analysis23Registers24Synchronous and Asynchronous Counters25Memories26Control Logic Design27Wired Logic and Characteristics of Logic Gate Families28ROMs29PLDs30PLAs31State Reduction and Good State Variable Assignments32Algorithmic State Machine (ASM) Charts33Asynchronous Circuits34Memory Systems35Functional Organization36Multiprocessor and Alternative Architectures37Introduction to SIMD38Introduction to MIMD39Introduction to VLIW40Introduction to EPIC41Systolic Architecture42Interconnection Networks43Shared Memory Systems44Cache Coherence45Memory Models and Memory Consistency46Performance Enhancements47Contemporary Architectures
    10 min read
    Topic 18 of 47
    Topic Study Note Illustration
    18

    Design and Use of Multiplexers

    A Multiplexer (MUX) is a combinational circuit that allows multiple input signals to be routed to a single output line. The multiplexer selects one of the multiple...

    Design and Use of Multiplexers

    A Multiplexer (MUX) is a combinational circuit that allows multiple input signals to be routed to a single output line. The multiplexer selects one of the multiple inputs based on control or selection lines and passes the selected input to the output. It is often referred to as a data selector because it selects one of many data inputs and sends it to a single output.

    1. Basic Operation of a Multiplexer

    A multiplexer takes several data inputs and one or more selection lines (also called control lines) to determine which input to connect to the output. For an nnn-input multiplexer, there are log⁡2n\log_2 nlog2​n selection lines.

    Example: 4-to-1 Multiplexer

    A 4-to-1 multiplexer has:

    • 4 input lines: I0,I1,I2,I3I_0, I_1, I_2, I_3I0​,I1​,I2​,I3​
    • 2 selection lines: S1,S0S_1, S_0S1​,S0​ (since log⁡24=2\log_2 4 = 2log2​4=2)
    • 1 output line: YYY

    The truth table for a 4-to-1 multiplexer is:

    Selection Lines Output (Y)
    00 I0
    01 I1
    10 I2
    11 I3

    In this example:

    • When the selection lines S1S0=00S_1 S_0 = 00S1​S0​=00, input I0I_0I0​ is connected to the output.
    • When S1S0=01S_1 S_0 = 01S1​S0​=01, input I1I_1I1​ is connected to the output.
    • When S1S0=10S_1 S_0 = 10S1​S0​=10, input I2I_2I2​ is connected to the output.
    • When S1S0=11S_1 S_0 = 11S1​S0​=11, input I3I_3I3​ is connected to the output.

    2. Design of a Multiplexer

    To design a multiplexer, the following steps are generally followed:

    Step 1: Determine the Number of Inputs and Selection Lines

    • For an nnn-input multiplexer, you need log⁡2n\log_2 nlog2​n selection lines.
    • The number of outputs is always 1 for the standard multiplexer.

    Step 2: Construct the Truth Table

    A truth table outlines how the selection lines determine which input is selected. For example, a 4-to-1 multiplexer has 4 rows corresponding to the 4 possible values of the 2 selection lines (00, 01, 10, 11).

    Step 3: Derive the Boolean Expressions

    For each output, write the Boolean expression that represents the selection of the corresponding input. This can be derived from the truth table by using minterms. A minterm is a product term where the input variables are ANDed together (in normal or negated form), based on the selected input.

    For a 4-to-1 multiplexer, the Boolean expression for the output YYY can be written as:

    Y=(S1‾⋅S0‾⋅I0)+(S1‾⋅S0⋅I1)+(S1⋅S0‾⋅I2)+(S1⋅S0⋅I3)Y = (\overline{S_1} \cdot \overline{S_0} \cdot I_0) + (\overline{S_1} \cdot S_0 \cdot I_1) + (S_1 \cdot \overline{S_0} \cdot I_2) + (S_1 \cdot S_0 \cdot I_3)Y=(S1​​⋅S0​​⋅I0​)+(S1​​⋅S0​⋅I1​)+(S1​⋅S0​​⋅I2​)+(S1​⋅S0​⋅I3​)

    This expression states that:

    • If S1S0=00S_1 S_0 = 00S1​S0​=00, then I0I_0I0​ is selected.
    • If S1S0=01S_1 S_0 = 01S1​S0​=01, then I1I_1I1​ is selected.
    • If S1S0=10S_1 S_0 = 10S1​S0​=10, then I2I_2I2​ is selected.
    • If S1S0=11S_1 S_0 = 11S1​S0​=11, then I3I_3I3​ is selected.

    Step 4: Implement the Logic

    Using the Boolean expressions derived, implement the logic using AND, OR, and NOT gates. The inputs are passed through AND gates, with each gate corresponding to a specific selection combination, and the results are combined using OR gates to form the final output.


    3. Types of Multiplexers

    Multiplexers come in various sizes, depending on the number of inputs and the number of selection lines. The most common multiplexers include:

    a. 2-to-1 Multiplexer

    • Inputs: 2 inputs (I0,I1I_0, I_1I0​,I1​)
    • Selection Lines: 1 selection line (S0S_0S0​)
    • Output: 1 output line

    The truth table for a 2-to-1 multiplexer is:

    Selection Line Output (Y)
    0 I0I_0I0​
    1 I1I_1I1​

    The Boolean expression for the output is:

    Y=(S0‾⋅I0)+(S0⋅I1)Y = (\overline{S_0} \cdot I_0) + (S_0 \cdot I_1)Y=(S0​​⋅I0​)+(S0​⋅I1​)

    b. 8-to-1 Multiplexer

    • Inputs: 8 inputs (I0I_0I0​ to I7I_7I7​)
    • Selection Lines: 3 selection lines (S2,S1,S0S_2, S_1, S_0S2​,S1​,S0​)
    • Output: 1 output line

    The Boolean expression for an 8-to-1 multiplexer is more complex, but it follows the same principle as the 4-to-1 and 2-to-1 multiplexers.


    4. Use of Multiplexers

    Multiplexers have a variety of uses in digital systems. Here are some common applications:

    a. Data Routing

    Multiplexers are often used in data routing systems to select and send one of several input signals to a single output. This is particularly useful in situations where multiple data streams need to be managed over a limited number of channels.

    b. Communication Systems

    In communication systems, multiplexers are used to combine multiple signals into a single transmission channel. This technique, called multiplexing, helps in efficiently utilizing the available bandwidth by allowing multiple data streams to share the same transmission medium.

    c. Control Systems

    Multiplexers are used in control systems to select between different operations or devices. For example, in a microcontroller-based system, a multiplexer can be used to select which sensor data to process based on control signals.

    d. ALU Operations (Arithmetic Logic Units)

    In digital processors, multiplexers are used in ALUs to select between different operations. For instance, a multiplexer can select between addition, subtraction, or logical operations based on control signals.

    e. Memory Systems

    Multiplexers are used in memory systems to select which memory address to access or write to. A multiplexer can route memory addresses or data to a particular location in the memory unit.

    f. Switching Circuits

    Multiplexers are used in switching circuits to route different signals to different destinations. For example, in a network, a multiplexer might select between different data streams based on the destination device.

    g. Display Systems

    In display systems, multiplexers are used to select which data (such as digits or characters) is sent to the display at any given time. For example, in a 7-segment display, a multiplexer may select which digit to display from several inputs.


    5. Example: 4-to-1 Multiplexer in a Digital System

    Let’s consider an example where a 4-to-1 multiplexer is used to select data from four input lines and send the selected data to an output line.

    System Requirements:

    • Inputs: I0,I1,I2,I3I_0, I_1, I_2, I_3I0​,I1​,I2​,I3​ (data inputs)
    • Selection Lines: S1,S0S_1, S_0S1​,S0​ (2 control lines)
    • Output: YYY (selected data output)

    Operation:

    • If S1S0=00S_1 S_0 = 00S1​S0​=00, output Y=I0Y = I_0Y=I0​
    • If S1S0=01S_1 S_0 = 01S1​S0​=01, output Y=I1Y = I_1Y=I1​
    • If S1S0=10S_1 S_0 = 10S1​S0​=10, output Y=I2Y = I_2Y=I2​
    • If S1S0=11S_1 S_0 = 11S1​S0​=11, output Y=I3Y = I_3Y=I3​

    This setup could be used in a scenario where you need to select one of four data sources (such as different sensors or different memory locations) and send that data to a processor or display.


    Conclusion

    Multiplexers are fundamental building blocks in digital systems, providing efficient methods for selecting and routing data from multiple sources to a single output. Their ability to handle multiple inputs and direct them based on selection lines makes them highly versatile in applications ranging from communication systems and control units to ALUs and memory systems. Understanding how to design and use multiplexers is crucial for designing complex digital circuits and systems.

    ← Previous topic 17
    Design and Use of Decoders
    Next topic 19 →
    BCD Adders

    Past Papers

    Open this section to view and download past papers

    Click on Show Past Papers to load available exam papers.

    Reading Progress
    0%
    10mremaining
    1.7kwords
    Intermediatelevel
    On This Page

    No headings found

    Study Toolkit

    Subject Portal

    Digital Logic Design