assignment2 embed timing waveform