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