DLD_Module_3-Sequential_circuit_design_Lecture-8
DLD_Module_3-Sequential_circuit_design_Lecture-8
Module-3
Latches
Flip flops
Flip flop conversions
Finite State Machine – design using mealy and Moore state machines
Sequence detectors and generators design
Shift Registers
Counters-synchronous and asynchronous counters
Ring and Johnson counters
Lecture-8
Shift Registers
Textbooks
1. M.Morris Mano, Michael D Ciletti, Digital Design, 5th edition, Pearson Publishers, 2013.
2. R.P. Jain, “Modern Digital Electronics”, 4th edition, TMH.
References
1. M.Morris Mano, Charles R. Kime, Tom Martin, Logic and Computer Design Fundamentals, 4th edition,
Pearson Publishers.
2. C. H. Roth and L. L. Kinney, Fundamentals of Logic Design, 5th edition, Cengage Publishers.
A circuit with flip‐flops is considered a sequential circuit even in the absence of combinational
gates. Two such circuits are Registers and Counters.
A register is a group of flip‐flops, each one of which shares a common clock and is capable of
storing one bit of information.
An n‐bit register consists of a group of n flip‐flops capable of storing n bits of binary information.
Besides, a register may have combinational gates that perform certain data‐processing tasks.
A counter is essentially a register that goes through a predetermined sequence of binary states.
The gates in the counter are connected in such a way as to produce the prescribed sequence of
states.
Load Control = 1
New data loaded on next positive
clock edge
Load Control = 0
Old data reloaded on next positive
clock edge
A register which is capable of shifting the binary information held in each cell to its neighboring cell,
in a selected direction, is called a shift register.
Shift registers consist of arrangements of flip-flops and are important in applications involving the
storage and transfer of data in a digital system.
There are four types of shift registers based on data input and output.
The data is shifted serially “IN” and “OUT” of the register, one bit at a time in either a left or right
direction under clock control.
QA QB QC QD
Clock Pulse No
(FF0) (FF1) (FF2) (FF3)
0 0 0 0 0
1 1 0 0 0
2 0 1 0 0
3 0 0 1 0
4 0 0 0 1
5 0 0 0 0
The register is loaded with serial data, one bit at a time, with the stored data being available at the
output in parallel form.
The parallel data is loaded into the register simultaneously and is shifted out of the register serially
one bit at a time under clock control.
The parallel data is loaded simultaneously into the register and transferred together to their
respective outputs by the same clock pulse.
A bidirectional shift register is one in which the data can be shifted either left or right.
Example : Determine the state of the shift register after each clock
pulse for the given RIGHT/LEFT control input waveform. Assume that Q0 = 1, Q0 Q1 Q2 Q3
Q1 = 1, Q2 = 0, and Q3 = 1 and that the serial data-input line is LOW. Initial 1 1 0 1
CP1 0 1 1 0 Right
CP2 0 0 1 1 Right
CP3 0 1 1 0 Left
CP4 1 1 0 0 Left
CP5 1 0 0 0 Left
CP6 0 1 0 0 Right
CP7 0 0 1 0 Right
CP8 0 1 0 0 Left
CP9 1 0 0 0 Left