verilog-vcd-parser
verilog-vcd-parser copied to clipboard
Some fixes (Time Datatype, parsing floats, crash when loading 2 files)
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.
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