Handbook of Computer Science(cs) and IT

Flip-Flops

These are the binary cells capable of storing one bit of information. A flip-flop circuit has two outputs, one for the normal value and one for the complement value of the bit stored in it.

A flip-flop circuit can maintain a binary state indefinitely until directed by an input signal of switch states.

A Basic Flip-Flop

A flip-flop circuit can be constructed from two NAND gates or two NOR gates. SR Flip Flop Truth

For more understanding let us consider a case when S = 0 and R =1 and the current output of both the gates are Q and Q’ respectively, the2,7 outputs are working as inputs for the gate 2 and gate 1, respectively. for the first cycle.

R =1 and Q’ will be input for gate 1 so

Q=1+Q=1 and

S = 0 and Q =1 will be input for gate 2 so

Q’ =(0 +1)’= 0


Now these output will again work as inputs for the gates. We  will  keep on putting these values again and again, until we are not getting the same output each time.

Below diagram illustrates a basic flip flop circuit using NAND gate.

 

 

RS Flip – Flop

An RS flip-flop is similar to an SR latch. It functions only when clock pulse is 1 or an active clock edge is there.

In RS flip-flop S =1 sets the next state value of Q to 1 and

R =– 1 resets the next value of Q to 0.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D Flip-Flop

  • Modified of RS flip-flop.
  • D flip-flop has 2 inputs, data input (D) and clock pulse.
  • This will function only when clock pulse is 1 or when the appropriate pulse edge of the clock input is encountered.

 

S
D flip-flop

Truth Table of D Flip-Flop When Clock Pulse is 1

Present state of (Q,7_1)

0

0

1

1

D . Next State of Q (Qn)
0 0
1 1
0 0
1 1

 

 

Q=D

JK Flip-Flop                                                                                                                                       K-map of D flip-flop

  • JK flip-flop is an extended version of the RS flip-flop.
  • It has 3 inputs . J, K and Clock Pulse (CP). The J input corresponds to S input and the K input corresponds to the R

 

 

 

 

 

T Flip-Flop

  • Also known as toggle flip-flop.
  • Frequently used in building counters.
  • It has 2 inputs, T and Clock Pulse (CP).
  • When T 1, the flip-flop changes state after the active edge of the clock. It On_ 1 = 0 (present state of Q). The next state value of Q, will be set to 1. If Qn_1= 1, the next state value of Q will be reset to 0. When T = 0, no state change occurs.

 

 

 

 

 

Master-Slave Flip-Flops

  • Constructed from two separateflip-flops.
  • One circuit serves as master and the other as a slave.
  • Gates 1 through 4 are from master flip-flop and gates 5 through 8 are from
  • Master works on the positive edge of clock pulse and slave works on the negative edge of clock pulse.

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95

Leave a Reply

Your email address will not be published. Required fields are marked *