Skip to content

Multirate Counter

Open in app →

Free-running digital counters ticking at different rates, organized with subsystems.

Four free-running counters, some grouped inside (nested) Subsystems, each publishing its count on a named Go-To tag. A scope picks the tags back up through From tags — no wires are drawn across the sheet.

Several counter blocks increment on their own schedules and are grouped inside Subsystem blocks, with Go-To / From tags routing their outputs across the sheet without drawn wires. It is a compact tour of NumaSim's digital-logic blocks and of hierarchical (subsystem) design; the scope shows the staggered count waveforms side by side.

Each counter is a free-running integer that rolls over at its own modulus, so on the scope you see several stair-step ramps climbing and resetting at different rates — the essence of "multi-rate." The grouping is the other lesson: a counter can live on the top sheet, inside a Subsystem, or inside a Subsystem within a Subsystem (the N=2 block nested in N=4), and its output still reaches the scope through a named tag rather than a drawn wire. The run uses a 1 ms step over 0.1 s. Go-To/From tags keep even a busy digital sheet readable — the pattern to reach for when wires would cross everywhere.