CS302 - Lab Manual - Week No
CS302 - Lab Manual - Week No
AIM
To design and implement
(i) Serial in serial out
(ii) Serial in parallel out
(iii) Parallel in serial out
(iv) Parallel in parallel out
Apparatus Required
Theory
A register can shift its binary information in one or both directions is
known as shift register. The logical configuration of shift register consists of a
D-Flip flop cascaded with output of one flip flop connected to input of next flip
flop. All flip flops receive common clock pulses which causes the shift in the
output of the flip flop. The simplest possible shift register is one that uses only
flip flop. The output of a given flip flop is connected to the input of next flip
flop of the register. Each clock pulse shifts the content of register one-bit
position to right.
Pin Diagram
Logic Diagram
Serial in Serial Out
Truth Table
1 1 0
2 0 0
3 0 0
4 1 1
5 X 0
6 X 0
7 X 1
Logic Diagram
Serial in Parallel Out
Truth Table
OUTPUT
CLK DATA
QA QB QC QD
1 1 1 0 0 0
2 0 0 1 0 0
3 0 0 0 1 1
4 1 1 0 0 1
Logic Diagram: Parallel in Serial Out
Truth Table
CLK Q3 Q2 Q1 Q0 O/P
0 1 0 0 1 1
1 0 0 0 0 0
2 0 0 0 0 0
3 0 0 0 0 1
Logic Diagram
Parallel in Parallel Out
Truth Table
Procedure