4 releases
0.1.0 | Feb 22, 2022 |
---|---|
0.0.3 | Mar 15, 2020 |
0.0.2 | May 13, 2018 |
0.0.1 | Aug 27, 2017 |
#2294 in Parser implementations
40 downloads per month
Used in 2 crates
19KB
499 lines
Yosys JSON netlist serde structures
Read/write Yosys JSON files in Rust using serde.
Reading
// from a byte slice
let result = Netlist::from_slice(...).unwrap();
// from an io::Read
let result = Netlist::from_reader(reader).unwrap();
Writing
let mut netlist = Netlist::new("Super cool HDL tool");
...
let json = netlist.to_string().unwrap();
Dependencies
~0.9–1.8MB
~38K SLoC