1 / 169

Flip-Flops and Related Devices

Flip-Flops and Related Devices. Chapter 8. S-R (SET-RESET) Latch. Active-HIGH input Active-LOW input S-R Latch S’-R’ Latch. S-R (SET-RESET) Latch. S-R Latch Logic Symbol. Switch Contact De-bounce. Figure 8--6 . When the set is high and reset is low Q is high and Q’ is low.

izzy
Download Presentation

Flip-Flops and Related Devices

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Flip-Flops and Related Devices Chapter 8

  2. S-R (SET-RESET) Latch Active-HIGH input Active-LOW input S-R Latch S’-R’ Latch

  3. S-R (SET-RESET) Latch

  4. S-R Latch Logic Symbol

  5. Switch Contact De-bounce. Figure 8--6

  6. When the set is high and reset is low Q is high and Q’ is low

  7. Once set ie Q high, then with S and R both low nothing change.

  8. With reset high and set low the flip=flop give a Q’ high and a Q low.

  9. Toggling the reset changes nothing

  10. The state of both set and rest high is not allowed since it would give a illogical condition.

  11. S-R flip flop truth table for NOR flip-flop S R Q Q’ 0 0 Q Q’ hold condition 1 0 1 0 set 0 1 0 1 reset 1 1 0 0 not allowed

  12. S-R flip flop using NANDs Set high reset low Q high Q’ low

  13. Reset high set low give a Q low and Q’ high

  14. Both low no change

  15. Both set and reset high is not allowed but give both Q and Q’ as high

  16. S-R flip flop truth table for NAND flip-flop S R Q Q’ 0 0 Q Q’ hold condition 1 0 1 0 set 0 1 0 1 reset 1 1 1 1 not allowed

  17. S-R flip flops do not come ready made but a 7402 dual 2input NOR came be used to make the S-R flip flops

  18. Gated SR Latch • A gate input is added to the S-R flip-flop to make the flip-flop synchronous. • In order for the set and reset inputs to change the flip-flop, the gate input must be active (high). • When the gate input is low, the flip-flop remains in the hold condition.

  19. With the Gate high the set is set and Q is high Q’ is low

  20. When the Gate is low nothing can change

  21. When the gate is high The flip flop works

  22. Truth Table for S-R gated Flip Flop S R G Q Q’ 0 0 0 Q Q’ Hold 1 0 0 Q Q’ Hold 0 1 0 Q Q’ Hold 1 1 0 Q Q’ hold 0 0 1 Q Q’ hold 1 0 1 1 0 set 0 1 1 0 1 reset 1 1 1 0 0 not allowed

  23. Gated D Latch • The D (data) flip-flop has a single input that is used to set and to reset the flip-flop. • When the gate is high, the Q output will follow the D input. • When the gate is low, the flip-flop is latched.

  24. Edge-triggered Flip-flop Logic Symbols

  25. Edge Triggered SR Flip-flop

  26. The J-K flip-flop has a toggle mode of operation when both J and K inputs are high.Toggle means that the Q output will change states on each active clock edge. J, K and Cp are all synchronous inputs. The master-slave flip-flop is constructed with two latches. The master latch is loaded with the condition of the J-K inputs while the clock is high. When the clock goes low, the slave takes on the state of the master and the master is latched. The master-slave is a level-triggered device. The master-slave can interpret unwanted signals on the J-K inputs.

  27. J and K are low so nothing will change are the clock

  28. No change

  29. K is high and J is low at the next clock Q should go low

  30. The clock occurred Q went low

  31. J is high K is low at the next clock Q should go high

  32. Q went High

  33. I would love to show this circuit Toggle but it will not since the Mater S-R flip flop is seeing a not allowed 1 1 input and putting out a 0 at Q and Q’ both.

  34. But This Will Toggle 1 2 3

  35. Truth Table for J-K Flip Flop J K Q 0 0 Q Hold 1 0 1 Set 0 1 0 Reset 1 1 Q’ Toggle

  36. The edge-triggered J-K will only accept the J and K inputs during the active edge of the clock. The small triangle on the clock input indicates that the device is edge-triggered. A bubble on the clock input indicates that the device responds to the negative edge. no bubble would indicate a positive edge-triggered device.

  37. J and K are both high, this means a toggle at the negative edge of the clock

  38. Toggle Toggle Remain the same Reset Reset

  39. Flip-Flop Operating Characteristics • Propagation Delay Times • Set-up Time • Hold Time • Maximum Clock Frequency • Pulse Width • Power Dissipation

  40. Propagation Delay • Clk to Output Q • Preset’ and CLR’ to Output Q

  41. Setup Time and Hold Time • Setup Time • Hold Time

  42. Flip-Flop Applications • Parallel Data Storage • Frequency Division • Counting

  43. Parallel Data Storage. Figure 8--35

  44. Divide-by-2 Device. Figure 8--36

  45. Divide-by-4 Device. Figure 8--37

  46. Divide-by-8. Figure 8--38

  47. A race condition occurs when the data inputs (J-K or D) to a flip-flop are changing at the same time as the active clock transition. The top J-K Flip Flop should not work due to a race condition The bottom J-K flip flop should work

  48. Top Flip Flop Top Clock Bottom Flip Flop Bottom delayed clock

  49. Set-up time is the time that the data inputs to a flip-flop must be set before the active clock transition. 20ns of set up time is required for the J-K flip flop to accept the high at K

  50. Hold time is the amount of time that the data inputs must maintain their level after active clock transition. The clock in blue is after the active K in red the flip flop will not work

More Related