BUCKle up because this VCD Parser has ANTLRs.
I am not sorry. I almost called this project VCDeer.
| Test | Size (Bytes) | YAWP | Verilog VCD Parser | VCDParser |
|---|---|---|---|---|
| Tiny.vcd | 3534 | 0.041s | 0.015s | 0.65s |
| FaultScanChain.vcd | 620125 | 0.614s | ❌ | 137.846s |
| SRAM.vcd | 6124839 | 2.571s | ❌ | 186.284s |
| EL2_SoC.vcd | 27424634 | 8.629s | 14.713s |
❌: That parser has failed to parse this file.
- Node.js 14+
- Antlr 4.9.2+
Use make to update antlr_build/ - don't update it manually.
You can test the output with a vcd file by passing it through bin/yawp.js.
Please note that parse doesn't currently throw exceptions for failures to parse, contrarily, it tries to best-effort parse the document.
Apache License v2.0. Check 'License'.