Flip-flops are digital logic circuits that can be in one of two states. Flip-flops maintain their...

21
Flip flops Flip-flops are digital logic circuits that can be in one of two states. Flip-flops maintain their state indefinitely until an input pulse called a trigger is received. When a trigger is received, the flip- flop outputs change state according to defined rules and remain in those states until another trigger is received.

description

 There are several different kinds of flip- flop circuits, with designators such as T (toggle), S-R (set/reset) J-K and D (delay).  A flip-flop typically includes zero, one, or two input signals as well as a clock signal and an output signal.  Some flip-flops also include a clear input signal to reset the current output.

Transcript of Flip-flops are digital logic circuits that can be in one of two states. Flip-flops maintain their...

Page 1: Flip-flops are digital logic circuits that can be in one of two states.  Flip-flops maintain their state indefinitely until an input pulse called a.

Flip flops Flip-flops are digital logic circuits that

can be in one of two states. Flip-flops maintain their state

indefinitely until an input pulse called a trigger is received.

When a trigger is received, the flip-flop outputs change state according to defined rules and remain in those states until another trigger is received.

Page 2: Flip-flops are digital logic circuits that can be in one of two states.  Flip-flops maintain their state indefinitely until an input pulse called a.

Flip-flop circuits are interconnected to form the logic gates for the digital integrated circuits used in memory chips and microprocessors.

Flip-flops can be used to store one bit, or binary digit, of data.

The data may represent the state of a sequencer, the value of a counter, an ASCII character in a computer's memory or any other piece of information.

Page 3: Flip-flops are digital logic circuits that can be in one of two states.  Flip-flops maintain their state indefinitely until an input pulse called a.

There are several different kinds of flip-flop circuits, with designators such as T (toggle),  S-R (set/reset) J-K and D (delay).

A flip-flop typically includes zero, one, or two input signals as well as a clock signal and an output signal.

Some flip-flops also include a clear input signal to reset the current output.

Page 4: Flip-flops are digital logic circuits that can be in one of two states.  Flip-flops maintain their state indefinitely until an input pulse called a.

S-R Flip flop The SET-RESET flip flop is designed

with the help of two NOR gates and also two NAND gates.

The design of such a flip flop includes two inputs, called the SET [S] and RESET [R].

There are also two outputs, Q and Q’.

Page 5: Flip-flops are digital logic circuits that can be in one of two states.  Flip-flops maintain their state indefinitely until an input pulse called a.

Logic Diagram

Logic Diagram Graphic Symbol

Page 6: Flip-flops are digital logic circuits that can be in one of two states.  Flip-flops maintain their state indefinitely until an input pulse called a.

Characteristic Table

Q S R Q(t+1)0 0 0 00 0 1 00 1 0 10 1 1 INDETERMINATE1 0 0 11 0 1 01 1 0 11 1 1 INDETERMINATE

Page 7: Flip-flops are digital logic circuits that can be in one of two states.  Flip-flops maintain their state indefinitely until an input pulse called a.

 D Flip Flop

D flip flop is actually a slight modification of the above explained clocked SR flip-flop.

The D flip-flop tracks the input, making transitions with match those of the input D.

A D flip-flop can be made from a set/reset flip-flop by tying the set to the reset through an inverter.

Page 8: Flip-flops are digital logic circuits that can be in one of two states.  Flip-flops maintain their state indefinitely until an input pulse called a.

Logic diagram

Graphic Symbol

Logic Diagram

home
Page 9: Flip-flops are digital logic circuits that can be in one of two states.  Flip-flops maintain their state indefinitely until an input pulse called a.

Characteristic TableQ D Q(t+1)

0 0 0

0 1 1

1 0 0

1 1 1

Page 10: Flip-flops are digital logic circuits that can be in one of two states.  Flip-flops maintain their state indefinitely until an input pulse called a.

J-K Flip Flop

A J-K flip flop can also be defined as a modification of the S-R flip flop.

The only difference is that the intermediate state is more refined and precise  than that of  a S-R flip flop.

The behavior of  inputs J and K is same as the S and R inputs of the S-R flip flop.

The letter J stands for SET and the letter K stands for CLEAR.

Page 11: Flip-flops are digital logic circuits that can be in one of two states.  Flip-flops maintain their state indefinitely until an input pulse called a.

Logic diagram

Logic Diagram Graphic Symbol

Page 12: Flip-flops are digital logic circuits that can be in one of two states.  Flip-flops maintain their state indefinitely until an input pulse called a.

Characteristic TableQ J K Q(t+1)0 0 0 00 0 1 00 1 0 10 1 1 11 0 0 11 0 1 01 1 0 11 1 1 0

Page 13: Flip-flops are digital logic circuits that can be in one of two states.  Flip-flops maintain their state indefinitely until an input pulse called a.

T Flip Flop

This is a much simpler version of the J-K flip flop. Both the J and K inputs are connected together and thus are also called a single input J-K flip flop.

When clock pulse is given to the flip flop, the output begins to toggle. 

Page 14: Flip-flops are digital logic circuits that can be in one of two states.  Flip-flops maintain their state indefinitely until an input pulse called a.

Logic diagram

Logic DiagramGraphic Symbol

Page 15: Flip-flops are digital logic circuits that can be in one of two states.  Flip-flops maintain their state indefinitely until an input pulse called a.

Characteristic tableQ T Q(t+1)

0 0 0

0 1 1

1 0 1

1 1 0

Page 16: Flip-flops are digital logic circuits that can be in one of two states.  Flip-flops maintain their state indefinitely until an input pulse called a.

Master slave flip flop Master-slave flip flop is designed using

two separate flip flops. One flip-flop acts as the “Master”

circuit, which triggers on the leading edge of the clock pulse while the other acts as the “Slave” circuit, which triggers on the falling edge of the clock pulse.

Page 17: Flip-flops are digital logic circuits that can be in one of two states.  Flip-flops maintain their state indefinitely until an input pulse called a.

Logic Diagram

Master-Slave flip flop

Page 18: Flip-flops are digital logic circuits that can be in one of two states.  Flip-flops maintain their state indefinitely until an input pulse called a.

Excitation tablesQ(t) Q(t+1) S R

0 0 0 X

0 1 1 0

1 0 0 1

1 1 X 0

RS Flip Flop

Page 19: Flip-flops are digital logic circuits that can be in one of two states.  Flip-flops maintain their state indefinitely until an input pulse called a.

Q(t) Q(t+1) J K

0 0 0 X

0 1 1 X

1 0 X 1

1 1 X 0

J-K Flip Flop

Page 20: Flip-flops are digital logic circuits that can be in one of two states.  Flip-flops maintain their state indefinitely until an input pulse called a.

Q(t) Q(t+1) D

0 0 0

0 1 1

1 0 0

1 1 1

D Flip Flop

Page 21: Flip-flops are digital logic circuits that can be in one of two states.  Flip-flops maintain their state indefinitely until an input pulse called a.

Q(t) Q(t+1) T

0 0 0

0 1 1

1 0 1

1 1 0

T Flip Flop