Closed Lampus closed 2 months ago
I see the same issue. @cirosantilli can you please apply this fix?
@cirosantilli to clarify, you already removed the error, but the problem is that this regex
magnitude = Decimal(re.findall(r"\d+|$", timescale)[0])
fails to parse 0.001fs
as 0.001. It results in magnitude = 0 instead.
What @Lampus suggested, i.e.
Decimal(re.findall(r"\d+(\.\d+)?|$", timescale)[0])
seems to work
Fixed and released on v2.3.6, let me know if any issues remain with this.
I have VCD file dumped from Cadence Simvision viewer with less than femtosecond timescale:
Parsing of this file is failed with next error:
Used workaround: