UNPKG

nixfilter-logicsignal

Version:

Filters for handling (compressing/uncompressing etc.) logic signals

25 lines (15 loc) 528 B
`#!/usr/bin/env node 'use strict'` # Require the "nixfilter" module nixfilter = require('nixfilter') # Import/Require the local "reader" module reader = require('./reader') # Import/Require the local "writer" module writer = require('./writer') # Define the filter and register it on the module nixfilter.filter module, description: 'Uncompress logic signals / Convert logic signals to timings' input_reader: reader.logic_signal() output_writer: writer.timings() on_input: (logic_signal) -> @output(logic_signal)