Physics — Logic: Johnson counter
A twisted-ring counter feeding back the inverted output.
Make it your own.
title "Johnson (twisted-ring) counter"
type gates
input CLK at (0,2)
gate NOT F0 at (2,0)
gate NOT F1 at (5,0)
gate NOT F2 at (8,0)
gate NOT INV at (8,3)
output Q0 at (3,2)
output Q1 at (6,2)
output Q2 at (9,2)
wire CLK F0
wire F0 F1
wire F1 F2
wire F2 INV
wire INV F0
wire F0 Q0
wire F1 Q1
wire F2 Q2