0.0.4 • Published 10 years ago

vcd v0.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

value change dump parser

For dumps from Logic Analyzers, EDA logic simulation tools, etc.

$ npm install vcd

then

var vcd = require('vcd');

fs.createReadStream('./file.vcd')
  .pipe(vcd.createStream())
  .on('begin', function (state) {
    // state contains date, variable definitions, etc.
  })
  .on('sample', function (index, changes, last) {
    // index = number of sample
    // changes = hash of changed vars (by name)
    // last = last state of all vars
  })

api

# vcd.createStream( opts )
Creates a stream that parses a value-changed dump stream. The following options are possible:

  • rename — Map of var names to renamed var names.
  • ignore — Var names to ignore in sample output.

license

MIT

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago