The following waveforms show the behavior of lpm_counter megafunction for the chosen set of parameters in design lpm_counter19.tdf. The design lpm_counter19.tdf is a 24 bit dynamically controlled up/down counter. The counter has an asynchronous clear input.