Closed leonardt closed 4 years ago
Lenny, thanks for the ticket.
I've tested it like this, and it seems to work:
from vcdvcd import VCDVCD
vcd = VCDVCD("SimpleALU.vcd", signals=["TOP.CLK"])
tvs = vcd["TOP.CLK"].tv
assert tvs == [(0, '0'), (5, '1'), (10, '0')]
can you check that it meets your needs?
I broke the API a bit (thus major version bump ;-)) but hopefully things are a bit saner now.
I've also added a bit more explicit info at https://github.com/cirosantilli/vcdvcd/tree/85ecead53c4673a32bc9603d227613b42efae118#api-usage now.
yes, that works and is a much cleaner API, nice work, thanks!
Hi there, thanks for you great work on this package.
After upgrading to 2.0.0 I'm seeing a regression where some old code that used to work is now producing this error:
Here's the steps to reproduce:
vcd file (need to remove .txt, just added so I can upload to GH Issues) SimpleALU.vcd.txt