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
Increment the counter
whether the counter will wrap to zero on the next cycle
The incremented value is registered and will be visible on the next clock 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