Skip to content
BetterDL

Edge-triggered

Also called: edge triggered, edge-triggering, edge sensitive, edge-sensitive, clock edge

Describes a storage element that samples its inputs and changes state only at a clock transition (an edge), never while the clock sits at a level.

An edge-triggered device acts only at the instant its clock changes. It ignores its inputs at every other moment.

  • A positive-edge-triggered device acts on the rising edge, where the clock goes 0 → 1.
  • A negative-edge-triggered device acts on the falling edge, where it goes 1 → 0. Its symbol has a bubble on the clock pin.

The opposite is level sensitive: a latch responds for the whole time its enable is at the active level.

Why edge-triggering matters: in a real circuit, flip-flops feed each other. If they were level-sensitive, a value could ripple through several stages during one long high clock level, so how far data moved would depend on how long the clock stayed high. With edge-triggering, every flip flop samples at the same instant, using values from just before the edge, then updates. Data moves exactly one stage per clock. That is what lets shift registers, counters and pipelines work.

The price is a timing window. The input must be steady for a short setup time before the edge and a hold time after it.

A symbol hint: on a schematic, a small triangle on the clock pin marks an edge-triggered input.

Worked example

Example

Counting edges on a clock

This clock starts high. Count its rising and falling edges.

CLK
  1. 1.

    Slot 1: there is no slot before it, so it is not an edge, even though CLK is 1.

  2. 2.

    Rising edges (0 in one slot, 1 in the next): slots 4, 8 and 10. That is 3.

  3. 3.

    Falling edges (1, then 0): slots 3, 6 and 9. That is 3.

  4. 4.

    Slots 4–5 are one high stretch, so they hold only one rising edge, at slot 4.

  5. 5.

    A positive-edge flip-flop on this clock could change only in slots 4, 8 and 10.

Common mistakes

  • Calling a clock that is steadily 1 an edge. An edge is a change; a steady level never is.

  • Thinking edge-triggered means "reacts while the clock is high". That describes a latch enabled by the clock.

  • Forgetting the setup and hold window. Data that changes right at the edge may be captured wrongly.

Practice Edge-triggered

Interactive questions with instant feedback and a worked solution for every wrong answer.

Learn it step by step

Edge-triggered is taught in Latches and Flip-Flops, Registers and Counters.