Back to 课程

Computer-Science-A-level-Ocr

0% Complete
0/0 Steps
  1. 3-3-networks
    8 主题
  2. 3-2-databases
    7 主题
  3. 3-1-compression-encryption-and-hashing
    4 主题
  4. 2-5-object-oriented-languages
    7 主题
  5. 2-4-types-of-programming-language
    4 主题
  6. 2-3-software-development
    5 主题
  7. 2-2-applications-generation
    6 主题
  8. 2-1-systems-software
    8 主题
  9. 1-3-input-output-and-storage
    2 主题
  10. 1-2-types-of-processor
    3 主题
  11. 1-1-structure-and-function-of-the-processor
    1 主题
  12. structuring-your-responses
    3 主题
  13. the-exam-papers
    2 主题
  14. 8-2-algorithms-for-the-main-data-structures
    4 主题
  15. 8-1-algorithms
    10 主题
  16. 7-2-computational-methods
    11 主题
  17. 7-1-programming-techniques
    14 主题
  18. 6-5-thinking-concurrently
    2 主题
  19. 6-4-thinking-logically
    2 主题
  20. 6-3-thinking-procedurally
    3 主题
  21. 6-2-thinking-ahead
    1 主题
  22. 6-1-thinking-abstractly
    3 主题
  23. 5-2-moral-and-ethical-issues
    9 主题
  24. 5-1-computing-related-legislation
    4 主题
  25. 4-3-boolean-algebra
    5 主题
  26. 4-2-data-structures
    10 主题
  27. 4-1-data-types
    9 主题
  28. 3-4-web-technologies
    16 主题
课 Progress
0% Complete

D Type Flip Flops

What is a D type flip flop?

  • In A Level Computer Science, a D type flip flop is a fundamental component in digital circuits and computer memory

  • Can be referred to as Positive Edge Triggered

Key features

  • Contains two stable states, making it a type of bistable circuit

  • Used to store the state of 1 bit of data

  • Changes state on the edge of the clock pulse

Components

  • Data input (D)

  • Clock input (CLK)

  • Two outputs: Q and NOT(Q)

dtype-flip-flop-component

D Type Flip Flip Components

Operation

  • On the rising edge of the clock pulse:

    • If D is high (1), Q goes high and NOT(Q) goes low

    • If D is low (0), Q goes low and NOT(Q) goes high

  • The state of Q holds or “remembers” its value until the next rising clock edge

Use cases

  • Forms the basis of most types of flip flops and latches

  • Used in shift registers, counters, and memory units

  • Helpful in edge-triggered devices, synchronous circuits, and data storage

Examiner Tips and Tricks

You will not be asked to recall the logic gates that make up a D-type flip flop and they can be made from various different gates
They are often built using NAND gates which are AND gates that have their output inverted:

dtype-flipflop-logic-gates

D Type Flip Flip Logic Gates

Worked Example

  • Draw the output of the Flip Flop on the diagram below

d-type-flipflop-question

D Type Flip Flop Question

  • For a question like this remember that the output line Q that you are asked to draw wants to be the same as the input D BUT it can only change when the clock signal changes from low to high (i.e. at the dotted lines)

  • At the start assume Q starts the same as D (low in this case)

  • Then draw it along from left to right until you get to a vertical dotted line (in an exam you would draw these lines on to help you if they weren’t there

  • At each dotted line, Q has the chance to change to whatever D is

    d-type-flipflop-working-1

D Type Flip Flop Working 1

  • So at the first line, D is low so Q stays low

  • At the second dotted line D has changed to high so now Q can become high

    d-type-flipflop-working-2

D Type Flip Flop Working 2

  • Q now stays high until the next rising edge of the clock (the next dotted line) where it gets another chance to change, but here D is still high so Q stays high

d-type-flipflop-working-3

D Type Flip Flop Working 3

  • And you continue to do this until you reach the right hand side of the diagram

    d-type-flipflop-working-4

D Type Flip Flop Working 4

Responses

您的邮箱地址不会被公开。 必填项已用 * 标注