VCD fixes
Add a waveform output test case
VCD generator now uses scope data from elaboration