DCF-Module4
DCF-Module4
Latches
Latches are digital circuits that store a single bit of information and hold its value until it is updated by new
input signals.
It is is a special type of logical circuit and have two stable states low and high (1 or 0)
Types of Latches
S-R (Set-Reset) Latches:
The SR latch is a circuit with two cross-coupled NOR
gates or two cross- coupled NAND gates
Two inputs labeled S for set and R for reset.
The outputs Q and Q’ must be compliment to each other
D (Data) Latches:
D latches are also known as transparent latches and are
implemented using two inputs: D (Data) and a clock
signal. The output of the latch follows the input at the D
terminal as long as the clock signal is high. When the
clock signal goes low, the output of the latch is stored and
held until the next rising edge of the clock
FLIP FLOPS:
Difference between flip-flop and latch is that the flip-flop
is an edge- triggered type of memory circuit while the
latch is a level-triggered type.
It means that the output of a latch changes whenever the
input changes.
Flip-flops and latches are fundamental building blocks of
digital electronics systems used in computers,
communications, and many other types of systems. Both
are used as data storage elements
Types of Flip–Flops
• S-R flip-flop
• J-K flip-flop
• D flip-flop
• T flip-flop
S-R Flip Flop( SET-RESET Flip Flop)
It has a set input (S) and a reset input
(R).When in this circuit when S is set as
active, the output Q would be high and the
Q’ will be low.
If R is set to active then the output Q is low
and the Q’ is high.
• In "JK Flip Flop", when both the inputs and CLK set to 1
for a long time, then Q output toggle until the CLK is 1.
Thus, unreliable output produces. This problem is referred
to as a race-around condition in JK flip-flop. To overcome
race around condition MSFF has been designed.
• Master-slave flip flop is constructed by combining two JK
flip flops.
• Master Slave JK Flip Flop has two JK Flip Flops
connected together in series combination along with an
inverter which gives inverted clock pulse to slave flip flop.
• In these two flip flops, the 1st flip flop work as "master",
called the master flip flop, and the 2nd work as a "slave",
called slave flip flop.
COUNTERS
Counters are used in digital electronics for counting
purpose, they can count specific event happening in the
circuit.
Synchronous Counter
Synchronous counter has one global clock which drives
each flip flop so output changes in parallel.The one
advantage of synchronous counter over asynchronous
counter is, it can operate on higher frequency than
asynchronous counter as it does not have cumulative delay
because of same clock is given to each flip flop.
RING COUNTER
A ring counter is a Shift Register (a cascade
connection of flip-flops) with the output of the last
flip flop connected to the input of the first.
QD and QD’ are connected to the J and K inputs of
the flipflop A
Shift Register
Types of shift regosters:
A group of flip flops which is used to store
multiple bits of data and the data is moved 1. Serial In Serial Out
from one flip flop to another is known as Shift
2. Serial In Parallel Out
Register.
A Shift Register can shift the bits either to the
3. Parallel In Serial Out
left or to the right.
A Shift Register, which shifts the bit to the left,
4. Parallel In Paralell Out
is known as "Shift left register", and it shifts the
bit to the right, known as " Shift Right register"
1. Serial In Serial Out