The following waveforms show the behavior of lpm_counter megafunction for the chosen set of parameters in design counter_modulo100.vhd. The design counter_modulo100.vhd is a 8 bit up modulus 250 counter.
The counter counts till the modulus value 249.