Open brainstorm opened 3 years ago
OK, so the problem is that the time is on the same line as the signal changes is that right?
Feel free to send a PR with a test under https://github.com/cirosantilli/vcdvcd/blob/master/test.py I'll merge it :-)
OK, so the problem is that the time is on the same line as the signal changes is that right?
I have no idea, it's the first time I'm in contact with this format and its libsigrok implementation :-S... GTKWave seems to load it fine.
OK, going to assume it is the case then :-) PR offer still open to anyone :confetti_ball:
If you see the existing tests like https://github.com/cirosantilli/vcdvcd/blob/c52a0730c6a0025928986a877a27bb86aeab95c7/counter_tb.vcd#L31 the timestamps are always on seaprate lines.
I'm not super expert in VCD, but it seems that is not required then. Would be good to check standard, but I'd merge even if as an extension.
Given:
And the following two lines of code code:
I'm getting the following backtrace, I guess you've not encountered this VCD corner case before? (from Sigrok):