Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/drom/vpreproc
Verilog preprocessor bindings for Node.js
https://github.com/drom/vpreproc
napi nodejs preprocessor verilog
Last synced: 22 days ago
JSON representation
Verilog preprocessor bindings for Node.js
- Host: GitHub
- URL: https://github.com/drom/vpreproc
- Owner: drom
- License: mit
- Created: 2019-01-11T21:10:13.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-14T07:38:11.000Z (over 5 years ago)
- Last Synced: 2024-10-30T17:07:01.509Z (2 months ago)
- Topics: napi, nodejs, preprocessor, verilog
- Language: JavaScript
- Homepage:
- Size: 13.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/drom/vpreproc.svg?branch=master)](https://travis-ci.org/drom/vpreproc)
[![npm version](https://badge.fury.io/js/vpreproc.svg)](https://badge.fury.io/js/vpreproc)Streaming SystemVerilog preprocessor
## Features
* async
* streaming
* source maps https://github.com/mozilla/source-map## Use
Using [llparse](https://github.com/nodejs/llparse) to generate preprocessor.
```
npm i
node bin/build.js
```Result files are:
```
verilog_preprocessor.h
verilog_preprocessor.c
verilog_preprocessor.bc
verilog_preprocessor.dot
```## Testing
```
npm test
```### Inspired by:
* https://www.veripool.org/papers/Preproc_Good_Evil_SNUGBos10_paper.pdf
* [Verilog-Perl](https://www.veripool.org/wiki/verilog-perl)
* https://github.com/creationix/jsonparse
* https://github.com/Floby/node-json-streams
* https://github.com/ParksProjets/C-Preprocessor
* https://github.com/acgessler/cpp.js/
* https://github.com/jimhigson/oboe.js
* https://github.com/uhop/stream-json
* https://github.com/dscape/clarinet
* https://github.com/isaacs/sax-js
* https://www.sweetjs.org/### License
MIT [LICENSE](LICENSE)