Cell and interconnect timing analysis using waveforms