Crates.io | firrtl-parser |
lib.rs | firrtl-parser |
version | 0.1.0 |
source | src |
created_at | 2021-07-03 23:56:32.426426 |
updated_at | 2021-07-03 23:56:32.426426 |
description | a stupid simple, single function firrtl parser library |
homepage | |
repository | https://github.com/Sladuca/firrtl-parser |
max_upload_size | |
id | 418388 |
size | 18,347 |
This project is incomplete.
firrtl-parser
is a parser for FIRRTL, the Chips Alliance's "Flexible Intermediate Representation for RTL". It is implemented in rust using the oh-so-wonderful nom
crate.
You can read the FIRRTL Spec here
This crate will expose a single function that takes a string consisting of spec-compliant FIRRTL and returns an AST. It will never, ever do anything else. Stuff like typechecking, simulation, codegen, etc are explicitly out of scope of this crate.