The following waveforms show the behavior of lpm_add_sub megafunction for the chosen set of parameters in design "diff.v". The design "diff.v" is a subtractor of width 12.