Sequential Logic
TOPIC 3
Specific Objectives
INTRODUCTION
Flip-Flop Applications
Parallel Data Storage
A common requirement in digital systems is to store several bits of data from parallel lines simultaneously in a group of flip-flops.
Frequency Division
2n: n is number of flip-flops. Example: 2 flip-flop will divided frequency by 4 (22)
Example: Develop the fout waveform for the circuit below when the 8 kHz square wave input is applied to the clock input of flip-flop A
Counting
The 555 Timer
tw=1.1R1C1
Basic Flip-flop circuit
Truth table for NAND gate SR latch
TRY THIS!�Draw the output timing for NOR gates SR
TRY THIS!�Draw the output timing for NAND gates SR
Edge-Triggered Flip-Flops
Edge-Triggered Flip-Flop Logic Symbols (Top: Positive Edge-Triggered; Bottom: Negative Edge-Triggered).
Clocked SR Flip-Flop
The Edge-Triggered S-R Flip-Flop
Operation
The S and R inputs of the S-R flip-flop are called synchronous input because data on these inputs are transferred to the flip-flop’s output only on the triggering edge of the clock pulse.
Operation of a positive edge-triggered S-R flip-flop
Example
Example:
Determine the Q and /Q output waveforms of the flip-flop (Assume is initially RESET)
Exercise:
Determine the Q and /Q output waveforms of the flip-flop (Assume is initially RESET) and it is a negative edge-triggered device
Clocked SR Flip-flop with ‘Preset’ and ‘Clear’ Input Control
Most integrated circuit flip-flops also have asynchronous inputs. These are inputs that affect the state of the flip-flop independent of the clock. They are normally labeled preset (PRE) and clear (CLR). An active level on the preset input will SET the flip-flop, and an active level on the clear input will RESET it.
IMPORTANT: WHEN PRESET IS HIGH AND CLEAR IS LOW, OUTPUT Q=0
WHEN PRESET IS LOW AND CLEAR IS HIGH, OUTPUT Q=1
Figure 1.6: Logic symbol of the SR flip-flop with Preset and Clear input control
Figure 1.7: Timing diagram of the SR flip-flop
EXCERSICES