Turn a JK into a D flip-flop: build and simulate it online

J = D and K = D̄: the JK can then only set or reset, which is exactly a D flip-flop.

Build the turn a jk into a d flip-flop in the free online simulator — it checks your circuit automatically.

What you need

  • 2 logic switches labelled D, CLK
  • 1 probes labelled Q
  • 1 JK flip-flop
  • 1 NOT gate

Step by step

  1. Inputs and outputs. From the Logic section of the library, drop digital inputs (0/1 boxes) or logic switches for the inputs, and digital outputs or probes for the outputs; give each its label in the inspector (the checker finds them by label). Switches D, CLK; Probe Q
  2. JK plus an inverter. D straight into J, D through a NOT into K.
  3. Prove it. Q takes D on each edge, and holds between edges.

Expected sequence

#inputsclockQ
1D=1↑1
2D=0—1
3D=0↑0
4D=1↑1

Frequently asked questions

How do you build a turn a jk into a d flip-flop?

J = D and K = D̄: the JK can then only set or reset, which is exactly a D flip-flop. In short: inputs and outputs, then jk plus an inverter, then prove it.

How does a turn a jk into a d flip-flop behave clock by clock?

It is checked over 4 steps: D=1, no edge: holds, D=0, D=1. The table on this page shows the expected Q after each clock.

What parts do you need for a turn a jk into a d flip-flop?

1 JK flip-flop; 1 NOT gate — plus logic switches for the inputs and probes for the outputs.

Can I simulate a turn a jk into a d flip-flop online for free?

Yes. Open it in the BitForBytes Embedded Lab, a free browser-based circuit and logic simulator: drag in the gates, wire them, and press "Check my circuit" — every clock cycle is simulated and marked for you. No download or sign-up needed.

Part of DSD 33 · Flip-flop conversion in the free BitForBytes digital system design course.

More latches & flip-flops builds