Flip Flops

14
Flip flops and latches • Basic memory elements of a sequential circuit, stores 1-bit information • Difference: Latches: Outputs are constantly affected by their inputs as long as the enable signal is asserted. Flip flops: Outputs change only either at the rising or falling edge of the enable signal. This enable signal is usually the controlling clock signal.

Transcript of Flip Flops

Page 1: Flip Flops

Flip flops and latches• Basic memory elements of a sequential circuit,

stores 1-bit information• Difference: Latches: Outputs are constantly affected by their

inputs as long as the enable signal is asserted. Flip flops: Outputs change only either at the rising

or falling edge of the enable signal. This enable signal is usually the controlling clock signal.

Page 2: Flip Flops

types of latches and flip-flops:

• Set-Reset -latch and flip flop• D-latch and flip flop• JK-latch and flip flop• T-latch and flip flop

Page 3: Flip Flops

Simple Bi-stable element• If power is turned on Assume initially , Q = 1 then Q` = 0 the circuit is locked or latched to a ‘1’ Q = 0 then Q` = 1the circuit is locked or latched to a ‘0’

because it does not have any inputs, we cannot change the information bit that is stored in it.

Page 4: Flip Flops

Set-Reset latch using NAND Using NOR Truth table

Page 5: Flip Flops

Gated S-R latch

Page 6: Flip Flops

D-Latch

Page 7: Flip Flops

Gated D-latch

Page 8: Flip Flops

Clocked SR Flip flop

Page 9: Flip Flops
Page 10: Flip Flops

Clocked D Flip flop

Page 11: Flip Flops
Page 12: Flip Flops
Page 13: Flip Flops
Page 14: Flip Flops

Edge triggered flip flops