Sample behavioral waveforms for design file count4_.v

The following waveforms show the behavior of lpm_counter megafunction for the chosen set of parameters in design count4_.v. The design count4_.v is a 4 bit up modulus 10 counter. The counter has an asynchronous clear input.

Fig. 1 : Wave showing counter operation.

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.

Fig. 2 : Wave showing counter cout and/or modulus operation.

The output port cout will be asserted at the completion of count sequence. The counter counts till the modulus value 9.