Aliaksei Chapyzhenka 5abcb9df7b ⬆️ dependencies
2021-04-20 14:08:30 -07:00
2021-04-20 14:08:07 -07:00
2020-09-27 14:58:31 -07:00
2020-09-28 00:28:50 -07:00
2020-11-28 18:37:51 -08:00
2020-11-28 18:54:29 -08:00
2020-09-28 00:46:48 -07:00
2020-09-27 00:20:06 -07:00
2019-10-23 13:50:49 -07:00
2021-04-20 14:07:48 -07:00
2020-09-27 14:06:11 -07:00
2021-04-20 14:08:30 -07:00
2020-09-28 00:45:56 -07:00
2020-09-29 13:11:09 -07:00
2020-12-02 17:18:51 -08:00
2020-09-29 13:11:09 -07:00
2020-09-27 18:15:46 -07:00

NPM version Actions Status

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 defined
  • finish - end of stream
  • error - error during parsing process

Change event emitter

inst.change.on(<wireName>, (time, cmd) => {});
  • time -- change time
  • cmd -- 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

npm i
npm test

License

MIT LICENSE

Description
No description provided
Readme 7.5 MiB
Languages
C 72.2%
JavaScript 19.5%
Makefile 3.1%
Shell 2.8%
C++ 1.9%
Other 0.4%