Chisel
A counter module
The maximum value of the counter, does not have to be power of 2
increment the counter
Value of the counter
A counter module