Crates.io | yosys-netlist-json |
lib.rs | yosys-netlist-json |
version | 0.1.0 |
source | src |
created_at | 2017-08-27 10:27:30.274308 |
updated_at | 2022-02-22 05:53:36.417237 |
description | A library for working with Yosys netlists in JSON format |
homepage | |
repository | https://github.com/rqou/yosys-netlist-json |
max_upload_size | |
id | 29438 |
size | 19,554 |
Read/write Yosys JSON files in Rust using serde.
// from a byte slice
let result = Netlist::from_slice(...).unwrap();
// from an io::Read
let result = Netlist::from_reader(reader).unwrap();
let mut netlist = Netlist::new("Super cool HDL tool");
...
let json = netlist.to_string().unwrap();