number of counts before the counter resets (or one more than the maximum output value of the counter), need not be a power of two
Increment the counter, returning whether the counter currently is at the maximum and will wrap.
Increment the counter, returning whether the counter currently is at the maximum and will wrap. The incremented value is registered and will be visible on the next cycle.
number of counts before the counter resets (or one more than the maximum output value of the counter), need not be a power of two
Used to generate an inline (logic directly in the containing Module, no internal Module is created) hardware counter.
Typically instantiated with apply methods in object Counter
Does not create a new Chisel Module