A rising-edge D flip-flop starts with Q unknown (X) until the first clock edge.

LogicLab: p18_d_flip_flop

Try this

  1. Set D to 1 and click Clock pulse: Q captures 1.
  2. Watch the Timing diagram at the bottom record CLK, D and Q across pulses.
  3. Try Auto clock and toggle D while the clock is running.
Poslednja izmena: среда, 2. децембар 2026, 21:54