Physics — Logic: T flip-flop
A toggle flip-flop built from AND and NOR gates.
Make it your own.
title "T flip-flop (gate level)"
type gates
input T at (0,0)
input CLK at (0,2)
gate AND G1 at (3,0)
gate AND G2 at (3,2)
gate NOR G3 at (6,0.5)
gate NOR G4 at (6,2.5)
output Q at (9,0.5)
output Qbar at (9,2.5)
wire T G1
wire T G2
wire CLK G1
wire CLK G2
wire G1 G3
wire G2 G4
wire G3 Q
wire G4 Qbar