Codiode

T to D Conversion: DFF from T Flip-Flop

EasyLogic CircuitBuild

Standard cell libraries often build complex sequential elements from a limited base set of primitives. Deriving a delay element from a toggle primitive requires mapping the desired next state to the necessary toggle action via feedback.

The circuit must behave as a D flip-flop where the next state equals the input D. The underlying storage element is a T flip-flop, which toggles its state when its input is 1 and holds its state when its input is 0.

Q D Q_next Required T
0 0 0 0
0 1 1 1
1 0 0 1
1 1 1 0

Constraints

  • Implement the design using exactly one T flip-flop.
  • Do not use any D flip-flops.
  • Derive the T input using combinational logic based on D and the current state Q.

Topics

Logic DesignFlip-FlopsConversion

Solve this problem

Place the gates, wire them up and watch the signals settle. Every submission runs on the same simulation engine that grades it.

This problem is part of Codiode Pro. The statement above is free to read.

The circuit builder and code editor need a desktop screen. On a phone, read the problem here and open it on a laptop to solve.

Part of Latches and Flip-Flops

Problem 83 of 126 in the Latches and Flip-Flops track.

Related problems

Browse all problems · Digital logic design practice problems · Learning tracks

Solve this on a laptopSend yourself the link and continue there.