f4pga / ideas

Random ideas and interesting ideas for things we hope to eventually do.
86 stars 9 forks source link

Streaming VCD parser #43

Open drom opened 4 years ago

drom commented 4 years ago

:construction: Work In Progress :construction:

Brief explanation

VCD is a standard dump format for any RTL simulator to produce. Streaming VCD parser enables many use cases: viewers, profilers, checkers.

Detailed Explanation

VCD parser project page: https://github.com/wavedrom/vcd VCD grammar expressed in JavaScript https://github.com/wavedrom/vcd/blob/master/bin/build.js Converted to C / LLVM bitcode using: https://github.com/nodejs/llparse VCD parser can be natively used in C or have other bindings. Node.js bindings using NAPI https://github.com/wavedrom/vcd/blob/master/lib/parser.js

Open issues: https://github.com/wavedrom/vcd/issues

Further reading

:construction: Work In Progress :construction: