1.5.0 • Published 4 months ago
vcd-stream v1.5.0
Value Change Dump (VCD) parser using llparse
Usage
Install
npm i vcd-stream
make wasm
Require
let vcd = require('vcd-stream');
Create parser writable stream instance
let inst = vcd.parser();
General event emitter
inst.on(<eventName>, () => {});
Events:
$enddefinitions
- when all modules/wires are definedfinish
- end of streamerror
- error during parsing process
Change event emitter
inst.change.on(<wireName>, (time, cmd) => {});
time
-- change timecmd
-- change type
Info object
let info = inst.info;
info.status
- ('declaration'
|'simulation'
)info.wires
- hierarchy object of modules and wires
Pipe data into the instance
myStream.pipe(inst);
Test
Build / Test Napi version
npm i
npm run mocha_napi
Build / Test Wasm version
make
npm run mocha_wasm
Test all
npm test
License
MIT LICENSE
1.5.0
4 months ago
1.4.0
1 year ago
1.2.0
2 years ago
1.3.0
2 years ago
1.1.0
2 years ago
1.0.0
2 years ago
0.15.3
3 years ago
0.15.0
3 years ago
0.15.1
3 years ago
0.15.2
3 years ago
0.14.1
3 years ago
0.14.0
3 years ago
0.13.0
4 years ago
0.12.0
4 years ago
0.11.0
4 years ago
0.10.0
4 years ago
0.9.0
4 years ago
0.8.0
4 years ago
0.7.1
4 years ago
0.7.0
4 years ago
0.6.0
4 years ago
0.5.0
4 years ago
0.4.0
5 years ago
0.3.0
5 years ago
0.2.0
5 years ago
0.1.2
5 years ago
0.1.1
5 years ago
0.1.0
5 years ago