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

Physics — Logic: up/down counter control

Direction logic selecting count-up or count-down.

Template previewDigital logic (gates / K-map / truth table)
Up/down counter controlUpDownQQNG1G2G3ToNextEvaluated: 3 inputs, 1 output, 8 rows — ToNext = Up · Q + Down · ¬Q.ToNext = Up · Q + Down · ¬Q

Make it your own.

title "Up/down counter control"
type gates
input Up at (0,0)
input Down at (0,2)
input Q at (0,4)
gate NOT QN at (2,4)
gate AND G1 at (4,0)
gate AND G2 at (4,2)
gate OR G3 at (7,1)
output ToNext at (10,1)
wire Up G1
wire Q G1
wire Down G2
wire Q QN
wire QN G2
wire G1 G3
wire G2 G3
wire G3 ToNext