0% found this document useful (0 votes)
62 views

DLD Lab#8

The document is a lab report submitted by Zain Ullah to Engineer Sadaf Sardar. It discusses implementing a multiplexer using Karnaugh maps and logic gates. The objectives are to get an expression using a Karnaugh map, simplify logic expressions using maps, simplify expressions experimentally, and implement and test a circuit. The report reviews multiplexers and their truth tables. It provides diagrams of 4x1 and 8x1 multiplexer implementations using lower order multiplexers and gates. The lab work is analyzed and calculations, graphs, and discussion of the experiment are included.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
62 views

DLD Lab#8

The document is a lab report submitted by Zain Ullah to Engineer Sadaf Sardar. It discusses implementing a multiplexer using Karnaugh maps and logic gates. The objectives are to get an expression using a Karnaugh map, simplify logic expressions using maps, simplify expressions experimentally, and implement and test a circuit. The report reviews multiplexers and their truth tables. It provides diagrams of 4x1 and 8x1 multiplexer implementations using lower order multiplexers and gates. The lab work is analyzed and calculations, graphs, and discussion of the experiment are included.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 10

DIGITAL LOGIC DESIGN

LAB REPORT # 08
Submitted to: Engineer Sadaf Sardar
Submitted by: ZAIN ULLAH
Registration Number: 20PWMCT0761
Lab Report Rubrics:

Excellent (4) Proficient (3) Basic (2) Below Basic (1) Student’s
Criteria
Score
Report is mostly Report is
as per the disorganized and
To organize the lab report Report is as per Sections/Step
guidelines and most follows some
and practice the the guidelines. All s are not ordered
sections/steps are guidelines but most
writing skills as per the sections/steps are and Report is not
ordered well but of the
guidelines clearly organized in as per the
requires minor guidelines are
a logical order. missing guidelines
improvements.

The report
completely
The report
discusses the
discusses the The report is
required The report
experiment/lab discusses the experiment/lab totally
To discuss the actual work but have
work in own words required irrelevant to the
experiment/task irrelevant experiment/lab
with some relevant experiment/lab work
additional information work
information

Calculations
and data analysis
Calculations and Most data and
were performed
data analyses were observations
accurately, but Calculations
performed clearly, were recorded
To perform calculations concisely, and minor errors were adequately, but and data
accurately, with made both in with several analyses of lab
and data analysis
calculations and in significant errors were missing
correct units.
applying correct units or omissions.

Graphs, if
necessary, were Graphs, if Graphs, if Major
drawn accurately necessary, were necessary, components
To present results in the and neatly and
form of graphs drawn were drawn of lab were
were clearly adequately but missing
labelled. inadequately.
1
Lab No 8: LOGIC SIMPLIFICATION USING KARNAUGH MAP
Objectives


To get the expression using karnaugh map.

To simplify logic expressions using K-maps.

To simply the expression experimentally.

Implementing the circuit and get the truth table.
Apparatus
• Logic gate
• AND gate
• NAND gate
• NOT gate
• OR gate
• Breadboard
• LED
• Push button
• Connecting wires
• 9-volt battery

Theory
In this lab we are going to study the following concepts and terms with full detail and discuss
them in the theory
• Multiplexer
• Types of multiplexers
• Truth table of multiplexer
• Implementation of multiplexer
The theory is given in detail in the coming pages.

Multiplexer
It is a combinational circuit that has maximum of 2 n data inputs, ‘n’ selection lines and single output line.
One of these data inputs will be connected to the output based on the values of selection lines.
Since there are ‘n’ selection lines, there will be 2 n possible combinations of zeros and ones. So, each
combination will select only one data input. Multiplexer is also called as Mux.

Page 2 of 10
4x1 Multiplexer
4x1 Multiplexer has four data inputs I3, I2, I1 & I0, two selection lines s1 & s0 and one output Y. The block
diagram of 4x1 Multiplexer is shown in the following figure.

Figure 1 4x1 multiplexer

One of these 4 inputs will be connected to the output based on the combination of inputs present at these
two selection lines.

Truth table
The truth table of 4x1 Multiplexer is shown below.
Selection Lines Output

S1 S0 Y

0 0 I0

0 1 I1

1 0 I2

1 1 I3

From Truth table, we can directly write the Boolean function for output, Y as

Y=S1′S0′I0+S1′S0I1+S1S0′I2+S1S0I3Y=S1′S0′I0+S1′S0I1+S1S0′I2+S1S0I3
We can implement this Boolean function using Inverters, AND gates & OR gate.

Circuit Diagram
The circuit diagram of 4x1 multiplexer is shown in the following figure.

Page 3 of 10
Figure 2 circuit diagram

Implementation of Higher-order Multiplexers


Now, let us implement the following two higher-order Multiplexers using lower-order
Multiplexers.
8x1 Multiplexer 16x1
Multiplexer

8x1 Multiplexer
In this section, let us implement 8x1 Multiplexer using 4x1 Multiplexers and 2x1 Multiplexer.
We know that 4x1 Multiplexer has 4 data inputs, 2 selection lines and one output. Whereas 8x1
Multiplexer has 8 data inputs, 3 selection lines and one output.
So, we require two 4x1 Multiplexers in first stage in order to get the 8 data inputs. Since each
4x1 Multiplexer produces one output, we require a 2x1 Multiplexer in second stage by
considering the outputs of first stage as inputs and to produce the final output.
Let the 8x1 Multiplexer has eight data inputs I7 to I0, three selection lines s2, s1 & s0 and one
output Y. The Truth table of 8x1 Multiplexer is shown below.
Selection Output
Inputs
S2 S1 S0 Y

0 0 0 I0

0 0 1 I1

0 1 0 I2

0 1 1 I3

Page 4 of 10
1 0 0 I4

1 0 1 I5

1 1 0 I6

1 1 1 I7

We can implement 8x1 Multiplexer using lower order Multiplexers easily by considering the
above Truth table. The block diagram of 8x1 Multiplexer is shown in the following figure.

Figure 3 block diagram

The same selection lines, s1 & s0 are applied to both 4x1 Multiplexers. The data inputs of upper
4x1 Multiplexer are I7 to I4 and the data inputs of lower 4x1 Multiplexer are I3 to I0. Therefore,
each 4x1 Multiplexer produces an output based on the values of selection lines, s1 & s0.
The outputs of first stage 4x1 Multiplexers are applied as inputs of 2x1 Multiplexer that is
present in second stage. The other selection line, s2 is applied to 2x1 Multiplexer.
If s2 is zero, then the output of 2x1 Multiplexer will be one of the 4 inputs I3 to I0 based on the
values of selection lines s1 & s0.
If s2 is one, then the output of 2x1 Multiplexer will be one of the 4 inputs I7 to I4 based on the
values of selection lines s1 & s0.
Therefore, the overall combination of two 4x1 Multiplexers and one 2x1 Multiplexer performs as
one 8x1 Multiplexer.
16x1 Multiplexer
In this section, let us implement 16x1 Multiplexer using 8x1 Multiplexers and 2x1 Multiplexer.
We know that 8x1 Multiplexer has 8 data inputs, 3 selection lines and one output. Whereas 16x1
Multiplexer has 16 data inputs, 4 selection lines and one output.

Page 5 of 10
So, we require two 8x1 Multiplexers in first stage in order to get the 16 data inputs. Since each
8x1 Multiplexer produces one output, we require a 2x1 Multiplexer in second stage by
considering the outputs of first stage as inputs and to produce the final output.
Let the 16x1 Multiplexer has sixteen data inputs I15 to I0, four selection lines s3 to s0 and one
output Y. The Truth table of 16x1 Multiplexer is shown below.
Selection Inputs Output
S3 S2 S1 S0 Y
0 0 0 0 I0
0 0 0 1 I1
0 0 1 0 I2
0 0 1 1 I3
0 1 0 0 I4
0 1 0 1 I5
0 1 1 0 I6
0 1 1 1 I7
1 0 0 0 I8
1 0 0 1 I9
1 0 1 0 I10
1 0 1 1 I11
1 1 0 0 I12
1 1 0 1 I13
1 1 1 0 I14
1 1 1 1 I15
We can implement 16x1 Multiplexer using lower order Multiplexers easily by considering the
above Truth table.
Block Diagram
The block diagram of 16x1 Multiplexer is shown in the following figure.

Page 6 of 10
Figure 4 block diagram

The same selection lines, s2, s1 & s0 are applied to both 8x1 Multiplexers. The data inputs of
upper 8x1 Multiplexer are I15 to I8 and the data inputs of lower 8x1 Multiplexer are I7 to I0.
Therefore, each 8x1 Multiplexer produces an output based on the values of selection lines, s2, s1
& s0.
The outputs of first stage 8x1 Multiplexers are applied as inputs of 2x1 Multiplexer that is
present in second stage. The other selection line, s3 is applied to 2x1 Multiplexer.
If s3 is zero, then the output of 2x1 Multiplexer will be one of the 8 inputs Is7 to I0 based on the
values of selection lines s2, s1 & s0.
If s3 is one, then the output of 2x1 Multiplexer will be one of the 8 inputs I15 to I8 based on the
values of selection lines s2, s1 & s0.
Therefore, the overall combination of two 8x1 Multiplexers and one 2x1 Multiplexer performs as
one 16x1 Multiplexer

In-Lab task
In this lab the task was to create 4x1 multiplexer using the available ICs

Procedure
 First of all, for making the multiplexer the required circuit diagram was built in the basic gate
forms
 Then the truth table was constructed for the circuit using the theoretical analysis
Page 7 of 10
 Then the circuit was implemented on the bread board using the available components
 Then changing the input, the change in output was noticed and hence the theoretical value was
verified

Logic Circuit Diagram

I0

I1

F (output)

I2

I3

S1

S2

Truth table
S1 S2 F

0 0 I0

Page 8 of 10
0 1 I1

1 0 I2

1 1 I3

Pictures In Real Time

Figure 5 result when the LED in off

Page 9 of 10
Figure 6 result when the LED is on

Conclusion
The result obtained from the experiment was perfect as it was according to the analytical table that had
found in the previous task. Thus, the experiment is successful.

Page 10 of 10

You might also like