cirosantilli / vcdvcd

Python Verilog value change dump (VCD) parser library + the nifty vcdcat VCD command line pretty printer.
Other
54 stars 21 forks source link

TypeError: '<' not supported between instances of 'int' and 'str' #12

Closed christian-krieg closed 3 years ago

christian-krieg commented 3 years ago

It seems that the Signal class introduced in v2.0.0 breaks vcdvcd in line 272.

Whenever I parse a VCD file I get the following error:

TypeError: '<' not supported between instances of 'int' and 'str'
cirosantilli commented 3 years ago

Hi Christian, can you check that this is not the same as: https://github.com/cirosantilli/vcdvcd/issues/11

If not, provide a minimal example if possible.

christian-krieg commented 3 years ago

Hi Ciro,

Thanks a lot for pointing that out! It seems to be the same issue which has it's root cause in my code not using the new API correctly. For the moment, I will stick with v1.0.6, and adapt my code once I have time for it :)

Cheers, Christian

cirosantilli commented 3 years ago

OK! I'll close for now, feel free to reopen if you find out it is a different thing later on.