Value Change Dump ([VCD](https://en.wikipedia.org/wiki/Value_change_dump)) parser using [llparse](https://github.com/nodejs/llparse) based on [wavedrom](https://github.com/wavedrom/vcd). ## Prepare 1. [Install emcc compiler](https://kirigaya.cn/blog/article?seq=55) 2. clone https://github.com/Digital-EDA/digital-vcd-parser ## Build ```bash source $EMCC_HOME/emsdk_env.sh # once only npm install browserify terser -g # once only node bin/build.js # build make -j 12 # adjust to browser environment browserify ./bin/vcd.js | terser --compress -o ./out/vcd.js ``` production are : - `./out/vcd.js` - `./out/vcd.wasm` move them to your development worksapce. ## Usage Only stream of Uint8 is supported as input. e.g. we want to parse a certain `*.vcd` read in browser-like environment. Mount vcd to window in your `index.html`: ```html