The following waveforms show the behavior of lpm_comparator megafunction for the chosen set of parameters in design BaselineRestorer_lpm_compare0.tdf. The design BaselineRestorer_lpm_compare0.tdf is 23 bit SIGNED comparator. One of the inputs of lpm_compare is the constant 0.