Exp5
Exp5
Exp5
Introduction:
A multiplexer (or data selector) is a device that is capable of taking two or more data lines
and converting them into a single data line for transmission to another point.
A multiplexer (MUX) performs the function of selecting the input on any one of 'n' input
lines and feeding this input to one output line. Multiplexers are used as one method of
reducing the number of integrated circuit packages required by a particular circuit design.
This in turn reduces the cost of the system.
Objectives:
Design, build, and test Multiplexers.
Demonstrate the operations and applications of Multiplexers.
Implement logic functions using Multiplexers.
Use Tri-State Buffers to implement a Multiplexer.
Multiplexer
• A multiplexer is a combinational circuit that selects binary information from one of
many input lines and directs it to a single output lines.
• The selection of particular input line is controlled by a set of selection lines.
• Normally, there are (2)n input line and n selection lines whose combinations
determine which input is selected.
• A 2-to-1 line multiplexer connects one of two 1-bit sources to a common destination
as shown in figure below.
Figure(1)
input Output
S I0 I1
0 0 X 0
0 1 X 1
1 X 0 0
1 X 1 1
• The circuit has two data input lines, and one selection line S.
• When S=0, the upper AND gate is enabled and the I0 has a path to the output
• When S=1, the lower AND gate is enabled and I1 has path to the output.
• The multiplexer acts like an electric switch that selects one of two sources.
Figure(2)
• Each of the four inputs, I0 through I3, is applied to one input of an AND gate.
• Selection lines S1 and S0 are decoded to select a particular AND gate
• The output of AND gates are applied to a single OR gate that provides the 1-line
output.
This is an approach where you can transform one boolean expression into a form so that a
multiplexer can be implemented, This can be achieved by applying Boolean Theorems.
Before attempting the design of a multiplexer using the algebraic method, the function to
be considered should be minimized, Minimizing the terms and expressions can be
important because this allows designers to use the least amount of components and use
the most efficient type of multiplexer.
Example:
Consider the function:
Figure(3)
In this example we could have picked any variable to be the data variable and the other two
as select variables. Suppose we take A as the data variable. The corresponding Karnaugh map
is then:
Example:
∑
Implement the function F(X,Y,Z) = (0,1,3,6) using a single 4-to-1mux and an inverter.
– We choose the two most significant inputs X, Y as mux select lines.
– Construct truth table:
Tri-state buffer
A tri-state buffer is a digital device that is capable of three different outputs, high, low and
disconnected (high impedenace).
Here's two diagrams of the tri-state buffer.
Figure(4)
A tri-state buffer has two inputs: a data input x and a control input c. The control input acts
like a valve. When the control input is active, the output is the input. That is, it behaves just
like a normal buffer.
When the control input is not active no electrical current flows through,so the tri state buffer
is in high impedance state (Z) ,Thus, even if x is 0 or 1, that value does not flow through.
c x Out
0 0 Z c Out
0 1 Z 0 Z
1 0 0 1 x
1 1 1
c Out
0 x
1 Z
1. Implement the logic function F (A, B, C) = Σ (1, 2, 4, 5) using (IC 74153) Multiplexer
on Quartus II (schematic).
2. For circuit shown in Figure below, what logic function does it produce?
Figure 1
Part 3: Multiplexer Expansion:
Implement an 8-to-1 MUX using only one 74153 IC and a single inverter and 2-input
OR gate on Quartus II (schematic).
Part4:Tri-State Buffer:
Implement 2-to-1 Multiplexer; see Figure 2, using only two tri-state buffers
(others maxplus2 Tribuf ) and a single inverter on Quartus II (schematic).
Note: the tri state buffer above is active low control line.
Figure 2