Nic30/pyDigitalWaveTools

Parse error with AxiRegTC_test_write.vcd

raczben opened this issue · 3 comments

Cannot parse AxiRegTC_test_write.vcd

I used the example code:

#!/usr/bin/env python3
import json
import sys
from pyDigitalWaveTools.vcd.parser import VcdParser

if len(sys.argv) > 1:
    fname = sys.argv[1]
else:
    print('Give me a vcd file to parse')
    sys.exit(-1)

with open(fname) as vcd_file:
    vcd = VcdParser()
    vcd.parse(vcd_file)
    data = vcd.scope.toJson()
    print(json.dumps(data, indent=4, sort_keys=True))

pyDigitalWaveTools Versions:

  • 0.6 Passes
  • 0.7 Fails
  • 0.8 Fails
Nic30 commented

Ah, I made a mistake while rewrite of lexer. It should be fixed and also at least checked in tests.
Do you know about any other problem? I am asking because if there is not I will publish new pip package revision.

Nic30 commented

@raczben Can you confirm that the issue is fixed?

Nic30 commented

I take it as it was fixed.