Skip to main content

CounterSync

Type Alias CounterSync 

Source
pub type CounterSync<const N: usize> = Sync<Obj<Bits<N>>, CircuitUnit, Obj<Bits<N>>>;
Expand description

A free-running N-bit counter.

State: Bits<N> starting at 0. Input: nothing (CircuitUnit). Output: the current count (before increment).

Aliased Typeยง

pub struct CounterSync<const N: usize> { /* private fields */ }