Professional Documents
Culture Documents
ENGINEERING FACULTY
DEPARTMENT OF COMPUTER ENGINEERING
DIGITAL LOGIC DESIGN LAB ECOM 2112
ECOM 2112
Objectives:
To study Basic gates: INV, AND, OR, NAND, NOR, XOR
To study Logic Diagram, Function, Truth Table and Boolean Algebra of
these gates.
Background:
Inverter Gate:
Logic Diagram
Truth Table
Input
Output
Boolean Expression
F = A
ECOM 2112
AND Gate:
Logic Diagram
Truth Table
Inputs
A
B
Output
Boolean Expression
F=AB
OR Gate:
Logic Diagram
Figure 3: OR Gate
ECOM 2112
Truth Table
Inputs
A
B
Output
Boolean Expression
F=A+B
ECOM 2112
Truth Table
Inputs
A
B
Output
Boolean Expression
F = (A B)
ECOM 2112
Truth Table
Inputs
A
B
Output
Boolean Expression
F = (A B)
ECOM 2112
Truth Table
Inputs
A
B
Output
Boolean Expression
F=AB
Notice that if the input has an odd number of 1s the output of the XOR gate is
1, otherwise the output is 0.
The output of the XOR gate equals AB + AB, which means that we can
implement an XOR gate using 2 ANDs, 1 OR and 2 Inverters.
ECOM 2112
Truth Table
Inputs
A
B
Output
Boolean Expression
F = (A B)
Notice that if the input has an odd number of 1s the output of the XNOR gate
is 0, otherwise the output is 1.
DeMorgans Theorem:
(AB) = A + B
(A+B) = AB
8
Figure 9: DeMorgan's Theorem II
ECOM 2112
Prelab:
Use Logisim Software to simulate the functions of the basic gates as
shown in figures 1-7.
Lab work:
Equipments required:
KL-31001 trainer kit.
IC's 74LS00 (Quad 2 input NAND), 74LS02 (Quad 2 input NOR), 74LS04
(Hexa NOT), 74LS08 (Quad 2 input AND), 74LS32 (Quad 2 input OR),
74LS86 (Quad 2 input XOR).
The Datasheets of the ICs.
ECOM 2112
Exercise:
(a)
Using Logisim
Build INV gate using a single 2-input XNOR gate.
Draw logic diagram for the following expression u (x z) + y.
(b) Write Boolean expression and construct the truth table describing
the output of the circuit described by the logic diagram in Figure 10.
10