STLD Lab Manual
STLD Lab Manual
LABORATORY MANUAL
R20
II / IV B.TECH (ECE)
I – SEMESTER
Dept. of ECE, Sir C.R. Reddy College of Engg. Eluru – 7 II/IV (B.E) ECE, I-SEM :: STLD Lab
Switching Theory & Logic Design
LABORATORY MANUAL
LIST OF EXPERIMENTS
1. Verification of truth tables of Logic gates Two input i) NOR (ii) NAND
2. Verification of truth tables of Logic gates Two input (i) OR (ii) AND (iii) Exclusive OR (iv)
Exclusive NOR
3. Design a simple combinational circuit with four variables and obtain minimal SOP expression
7. Verification of functional tables of (i) J K Edge triggered Flip –Flop (ii) D Flip –Flop
8. Design a four bit ring counter using D Flip – Flops / JK Flip Flop and verify output
9. Verify the operation of 4-bit Universal Shift Register for different Modes of operation
10. Draw the circuit diagram of MOD-8 ripple counter and construct a circuit using T-Flip-flop
11. Design MOD – 8 synchronous counter using T Flip-Flop and verify the result
12. Construct 7 Segment Display Circuit Using Decoder and 7 Segment LED and test it.
Dept. of ECE, Sir C.R. Reddy College of Engg. Eluru – 7 II/IV (B.E) ECE, I-SEM :: STLD Lab
INDEX:
10
11
12
TOTAL
Dept. of ECE, Sir C.R. Reddy College of Engg. Eluru – 7 II/IV (B.E) ECE, I-SEM :: STLD Lab
Dept. of ECE, Sir C.R. Reddy College of Engg. Eluru – 7 II/IV (B.E) ECE, I-SEM :: STLD Lab
1. Realization of Universal gates
1. Digital trainer 1
2. IC 7408 1
3. IC 7432 1
4 IC 7404 1
THEORY:
Procedure :
Dept. of ECE, Sir C.R. Reddy College of Engg. Eluru – 7 II/IV (B.E) ECE, I-SEM :: STLD Lab
Circuit Diagram :
NAND Gate:
A B Y
NOR Gate:
A B Y
Result:
Dept. of ECE, Sir C.R. Reddy College of Engg. Eluru – 7 II/IV (B.E) ECE, I-SEM :: STLD Lab
Exp : 2
Aim : To Realize AND,OR,NOT,EX-OR and EX-NOR gates by using only NAND and only
NOR gates.
1. Digital trainer 1
2. IC 7400 2
3. IC 7402 2
Theory:
Procedure :
Repeat above steps for OR, NOT, EX-OR and EX-NOR gates
Dept. of ECE, Sir C.R. Reddy College of Engg. Eluru – 7 II/IV (B.E) ECE, I-SEM :: STLD Lab
Repeat above steps for OR, NOT, EX-OR and EX-NOR gates
Circuit Diagram :
A B Y
A B Y
A Y
A B Y
Dept. of ECE, Sir C.R. Reddy College of Engg. Eluru – 7 II/IV (B.E) ECE, I-SEM :: STLD Lab
Realization of EX-NOR gate using only NAND gates
A B Y
A B Y
A B Y
Dept. of ECE, Sir C.R. Reddy College of Engg. Eluru – 7 II/IV (B.E) ECE, I-SEM :: STLD Lab
Realization of NOT gate using only NOR gates
A Y
A B Y
A B Y
Dept. of ECE, Sir C.R. Reddy College of Engg. Eluru – 7 II/IV (B.E) ECE, I-SEM :: STLD Lab
Result :
Exp :3
Aim : Design a simple combinational circuit with four variables and obtain minimal SOP
expression and verify the truth table using Digital Trainer Kit
1. Digital trainer 1
2. IC 7408 1
3. IC 7432 1
4. IC 7486 1
5. IC 7404 1
Procedure :
Dept. of ECE, Sir C.R. Reddy College of Engg. Eluru – 7 II/IV (B.E) ECE, I-SEM :: STLD Lab
1. First minimize the given expression.
Problem statement:
1. F = ∑m(0,1,3,4,5,6,7,12,13,14,15) simplify
Circuit Diagram:
Dept. of ECE, Sir C.R. Reddy College of Engg. Eluru – 7 II/IV (B.E) ECE, I-SEM :: STLD Lab
Result :
Exp :4
1. Digital trainer 1
2. IC 7442 1
3. IC 7420 1
4. IC 7421 1
5. IC 7404 1
Procedure :
Using Decoders :
Dept. of ECE, Sir C.R. Reddy College of Engg. Eluru – 7 II/IV (B.E) ECE, I-SEM :: STLD Lab
1. Obtain truth table from the given function
C B A D0 D1 D2 D3 D4 D5 D6 D7
0 0 0
0 0 1
Dept. of ECE, Sir C.R. Reddy College of Engg. Eluru – 7 II/IV (B.E) ECE, I-SEM :: STLD Lab
Result:-
Exp :5
1. Digital trainer 1
2. IC 74153 1
3. IC 7420 1
4. IC 7421 1
5. IC 7404 1
Dept. of ECE, Sir C.R. Reddy College of Engg. Eluru – 7 II/IV (B.E) ECE, I-SEM :: STLD Lab
Procedure :
Using Multiplexer :
Dept. of ECE, Sir C.R. Reddy College of Engg. Eluru – 7 II/IV (B.E) ECE, I-SEM :: STLD Lab
Circuit Diagram :Pin Diagram of 74153 MUX :
Selected
A B C Y
i/p
(output)
0 0 0 I0
0 0 1 I1
0 1 0 I2
0 1 1 I3
1 0 0 I4
1 0 1 I5
1 1 0 I6
1 1 1 I7
Result:-
Dept. of ECE, Sir C.R. Reddy College of Engg. Eluru – 7 II/IV (B.E) ECE, I-SEM :: STLD Lab
Exp :6
1. Digital trainer 1
2. IC 7408 1
3. IC 7432 1
4. IC 7486 1
5. IC 7404 1
Procedure :
Dept. of ECE, Sir C.R. Reddy College of Engg. Eluru – 7 II/IV (B.E) ECE, I-SEM :: STLD Lab
Circuit Diagram :
Truth Table:-
Cout
A B C S(SUM)
(carry)
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
Result:-
Dept. of ECE, Sir C.R. Reddy College of Engg. Eluru – 7 II/IV (B.E) ECE, I-SEM :: STLD Lab
Exp :7
Aim: Realization of J K Flip – Flop and D K Flip – Flop
1. Digital trainer 1
2. IC 7476 1
3. IC 7400 1
4. IC 7486 1
5. IC 7404 1
Theory :
Procedure :
1. RS flip-flop is wired as shown in fig and input signals are fed from
logic input switches and the out put is monitored on the logic level
2. JK flip-flop is wired as shown in fig and the input signals are fed
from logic input switches and the output is monitored on the logic
3. Verify the truth tables of D flip flop and T flip flop in the same
procedure.
Dept. of ECE, Sir C.R. Reddy College of Engg. Eluru – 7 II/IV (B.E) ECE, I-SEM :: STLD Lab
Circuit Diagram:
JK flip- flop
Theoretical Practical
Clk PR CR J K
Qn+1 Qn+1
0 0 1 X X 1
0 1 0 X X 0
↓ 1 1 0 0 Qn
↓ 1 1 0 1 0
↓ 1 1 1 0 1
↓ 1 1 1 1 Qn
T flip- flop
Theoretical Practical
Clk PR CR T
Qn+1 Qn+1
0 0 1 X 1
0 1 0 X 0
↓ 1 1 0 Qn
↓ 1 1 1 Qn
Theoretical Practical
Clk PR CR D
Qn+1 Qn+1
D flip- flop
0 0 1 X 1
0 1 0 X 0
↓ 1 1 0 0
↓ 1 1 1 1
Result:-
Dept. of ECE, Sir C.R. Reddy College of Engg. Eluru – 7 II/IV (B.E) ECE, I-SEM :: STLD Lab
Signature of lab in charge
Exp :8
Aim :Design a four bit ring counter using D Flip-Flops /JK Flip-Flops and verify output
Procedure :
Dept. of ECE, Sir C.R. Reddy College of Engg. Eluru – 7 II/IV (B.E) ECE, I-SEM :: STLD Lab
Circuit Diagram:-
Clear Clock QA QB QC QD
1 X 0 0 0 0
0 1 1 0 0 0
Dept. of ECE, Sir C.R. Reddy College of Engg. Eluru – 7 II/IV (B.E) ECE, I-SEM :: STLD Lab
0 1 0 1 0 0
0 1 0 0 1 0
0 1 0 0 0 1
0 1 1 0 0 0
0 1 0 1 0 0
0 1 0 0 1 0
0 1 0 0 0 1
Result:-
Exp :9
Aim: Design a four bit ring counter using D Flip-Flops /JK Flip-Flops and verify output
Procedure :
3. The outputs QoQ1Q2Q3 are observed and verify the truth table.
Dept. of ECE, Sir C.R. Reddy College of Engg. Eluru – 7 II/IV (B.E) ECE, I-SEM :: STLD Lab
Circuit Diagram:- 4-bit Johnson Ring Counter
Clear Clock QA QB QC QD
1 X 0 0 0 0
Dept. of ECE, Sir C.R. Reddy College of Engg. Eluru – 7 II/IV (B.E) ECE, I-SEM :: STLD Lab
0 1 1 0 0 0
0 1 1 1 0 0
0 1 1 1 1 0
0 1 1 1 1 1
0 1 0 1 1 1
0 1 0 0 1 1
0 1 0 0 0 1
0 1 0 0 0 0
Result:-
EXP:10
Aim : Verify the operation of 4-bit Universal Shift Register for different Modes of operation.
Procedure :
Dept. of ECE, Sir C.R. Reddy College of Engg. Eluru – 7 II/IV (B.E) ECE, I-SEM :: STLD Lab
4. First enter serial input one by one, through clock pulse; we will get
parallel output at Q3Q2Q1Qo . After applying 4 clock pulses we will
get serial output.
output.
Dept. of ECE, Sir C.R. Reddy College of Engg. Eluru – 7 II/IV (B.E) ECE, I-SEM :: STLD Lab
Dept. of ECE, Sir C.R. Reddy College of Engg. Eluru – 7 II/IV (B.E) ECE, I-SEM :: STLD Lab
4 – bit Shift Register Truth Table :
Serial output Qo
Load Clk Clear Serial i/p
0 X 0 X 0
0 1 1 0 0
0 2 1 1 0
0 3 1 0 0
0 4 1 1 0
0 5 1 0 1
0 6 1 0 0
0 7 1 0 1
Q3 Q2 Q1 Q0
0 X 0 X 0 0 0 0
0 1 1 0 0 0 0 0
0 2 1 1 0 0 0 0
0 3 1 0 1 0 0 0
0 4 1 1 0 1 0 0
0 5 1 0 1 0 1 0
0 6 1 0 0 1 0 1
0 7 1 0 0 0 1 0
0 8 1 0 0 0 0 1
Dept. of ECE, Sir C.R. Reddy College of Engg. Eluru – 7 II/IV (B.E) ECE, I-SEM :: STLD Lab
4 – bit Shift Register Truth Table
0 X 0 X X X X 0
1 X 1 1 0 1 0 0
0 1 1 X X X X 1
0 2 1 X X X X 0
0 3 1 X X X X 1
0 X 0 X X X X 0 0 0 0
1 X 1 1 0 1 0 1 0 1 0
0 1 1 X X X X 0 1 0 1
0 2 1 X X X X 0 0 1 0
0 3 1 X X X X 0 0 0 1
Result:-
Dept. of ECE, Sir C.R. Reddy College of Engg. Eluru – 7 II/IV (B.E) ECE, I-SEM :: STLD Lab
EXP:11
Aim:- Draw the circuit diagram of MOD-8 ripple counter and construct a circuit using T-FlipFlops
Theory:
Procedure :
3. The outputs QoQ1Q2Q3 are observed and verify the truth table.
Dept. of ECE, Sir C.R. Reddy College of Engg. Eluru – 7 II/IV (B.E) ECE, I-SEM :: STLD Lab
Clock pulses Q3 Q2 Q1 Q0
0 0 0 0 0
1 0 0 0 1
2 0 0 1 0
3 0 0 1 1
4 0 1 0 0
5 0 1 0 1
6 0 1 1 0
7 0 1 1 1
8 1 0 0 0
9 1 0 0 1
10 1 0 1 0
11 1 0 1 1
12 1 1 0 0
13 1 1 0 1
14 1 1 1 0
15 1 1 1 1
16 0 0 0 0
Result:-
Dept. of ECE, Sir C.R. Reddy College of Engg. Eluru – 7 II/IV (B.E) ECE, I-SEM :: STLD Lab
Exp:12
Aim:- Design MOD – 8 synchronous counter using T Flip-Flop and verify the result and Sketch the
output waveforms.
Theory
Procedure :
Circuit Diagram :
Dept. of ECE, Sir C.R. Reddy College of Engg. Eluru – 7 II/IV (B.E) ECE, I-SEM :: STLD Lab
Clock pulses Q2 Q1 Q0
0 0 0 0
1 0 0 1
2 0 1 0
3 0 1 1
4 1 0 0
5 1 0 1
6 1 1 0
7 1 1 1
8 0 0 0
Result:-
Dept. of ECE, Sir C.R. Reddy College of Engg. Eluru – 7 II/IV (B.E) ECE, I-SEM :: STLD Lab
EXP 13
Aim :- Construct 7 Segment Display Circuit Using Decoder and 7 Segment LED and test it.
Theory:
Procedure :
Dept. of ECE, Sir C.R. Reddy College of Engg. Eluru – 7 II/IV (B.E) ECE, I-SEM :: STLD Lab
The functions of LT, RBI, RBO and BI are given below.
LT This is called the LAMP TEST terminal and is used for segment testing. If it is
connected to logic ‘0’ level, all the segements of the display connected to the decoder
will be ON. For normal decoding operation, this terminal is to be connected to logic
‘1’ level.
RBI For normal decoding operation, this is connected to logic ‘1’ level. If it is
connected to logic ‘0’, the segment outputs will generate the data for normal 7-
segment decoding, for all BCD inputs except Zero. Whenever the BCD inputs
correspond to Zero, the 7-segment display switches off. This is used for zero
blanking in multi-digit displays.
RBO This output is used for cascading purposes and is connected to the RBI
terminal of the succeeding stage.
Circuit Diagram :
Dept. of ECE, Sir C.R. Reddy College of Engg. Eluru – 7 II/IV (B.E) ECE, I-SEM :: STLD Lab
Truth Table :
Display
D C B A a b c d e f g Number
0 0 0 0 0 0 0 0 0 0 1
0 0 0 1 1 0 0 1 1 1 1 |
0 0 1 0 0 0 1 0 0 1 0
0 0 1 1 0 0 0 0 1 1 0
0 1 0 0 1 0 0 1 1 0 0
0 1 0 1 0 1 0 0 1 0 0
0 1 1 0 1 1 0 0 0 0 0
0 1 1 1 0 0 0 1 1 1 1
1 0 0 0 0 0 0 0 0 0 0
1 0 0 1 0 0 0 1 1 0 0
Result :
Dept. of ECE, Sir C.R. Reddy College of Engg. Eluru – 7 II/IV (B.E) ECE, I-SEM :: STLD Lab