Skip to content
Digital logic (gates / K-map / truth table) templates

Physics — Logic: ring counter

A single token circulating around the stages.

Template previewDigital logic (gates / K-map / truth table)
Ring counterCLKF0F1F2Q0Q1Q2Sequential — `F0` then `F1` then `F2` then `F0` is a feedback loop, so this circuit has no truth tabl…`F0` is a NOT with 2 wires into it — `CLK`, `F2` — and a NOT has exactly one input. The figure draws the one-input s…This circuit has feedback: `F0` then `F1` then `F2` then `F0`. That makes it SEQUENTIAL — its outputs depend on what…

Make it your own.

title "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)
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 F0
wire F0 Q0
wire F1 Q1
wire F2 Q2