Open andreasWallner opened 1 week ago
Thanks! I will try to figure out how to handle this more gracefully. Have you encountered this problem with any tool that produces VCDs? Does this load in GTKWave? I am trying to decide whether we should try to parse this, even if it is technically wrong, or if it is enough to just not crash and return an error instead.
It was from a hand-written VCD that I typed up for testing Surfer... I don't think there is much reason to support this, gtkwave silently fails to load it
OK. Thanks! Sounds like the goal here is to return an error instead of crashing.
Wellen panics when trying to load a (admittedly invalid) vcd file that contains spaces on single-bit lines in the file.
Reproduced with
surfer
using this vcd:which the panic:
I would expect an error message instead of the panic.