verilog-vcd-parser icon indicating copy to clipboard operation
verilog-vcd-parser copied to clipboard

Some fixes (Time Datatype, parsing floats, crash when loading 2 files)

Open michi7x7 opened this issue 5 years ago • 1 comments

First of all: Sorry, I don't have time to really turn this into a proper PR at the moment.

I stumbled upon this library a few days back, because I needed to parse large (~10GB) VCD files containing reals. Several things didn't work as I hoped so I hacked them for my purposes. Also all these pointers (heap-allocation) makes the library quite slow, so I got rid of them - but it's not really a fix.

You probably want to cherry-pick the other commits though. For example flex crashes for the second file it tries to parse because the buffer was free'd in scan_end.

michi7x7 avatar Apr 09 '20 09:04 michi7x7

Hi there Thanks a lot for this. It's timely, I'm about to start using the lib again for similar stuff. It might take me a while to get all this merged in (I've neglected this for ~1 year) so I might have questions as I go. Cheers, Ben

ben-marshall avatar Apr 10 '20 12:04 ben-marshall