https://github.com/donn/yawp
Yet Another Waveform Parser
https://github.com/donn/yawp
antlr4 vcd waveform
Last synced: about 2 months ago
JSON representation
Yet Another Waveform Parser
- Host: GitHub
- URL: https://github.com/donn/yawp
- Owner: donn
- License: apache-2.0
- Created: 2021-07-18T04:47:27.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-09-05T13:04:47.000Z (almost 3 years ago)
- Last Synced: 2025-03-22T04:41:34.968Z (over 1 year ago)
- Topics: antlr4, vcd, waveform
- Language: JavaScript
- Homepage:
- Size: 26.4 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: License
Awesome Lists containing this project
README
# Yet Another Waveform Parser
BUCKle up because this VCD Parser has ANTLRs.
I am not sorry. I almost called this project VCDeer.
# Why?
Test|Size (Bytes)|[YAWP](#)|[Verilog VCD Parser](https://github.com/ben-marshall/verilog-vcd-parser/tree/d9be54497618168d7bab49648344df98f42a7f52)|[VCDParser](https://github.com/ahmed-agiza/vcd-parser/tree/acdf3dd38bfcd9451b55f95af22591e20c173d30)
-|-|-|-|-
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.
⚠️: That parser has exceeded 300 seconds when parsing this test.
# Requirements
- Node.js 14+
- Antlr 4.9.2+
# Developing
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.
# ⚖️ License
Apache License v2.0. Check 'License'.