The following waveforms show the behavior of lpm_counter megafunction for the chosen set of parameters in design "lpm_counter6.v". The design "lpm_counter6.v" is a 4 bit up modulus 10 counter.
The output port cout will be asserted at the completion of count sequence. The ports cin and cout are used to chain multiple counters together.