Title: Fast waveform evaluation of logic stages by piecewise quadratic waveform matching