Struct yosys_netlist_json::Netlist
[−]
[src]
pub struct Netlist { pub creator: String, pub modules: HashMap<String, Module>, }
Represents an entire .json file used by Yosys
Fields
creator: String
The program that created this file.
modules: HashMap<String, Module>
A map from module names to module objects contained in this .json file
Methods
impl Netlist
[src]
fn from_slice(input: &[u8]) -> Result<Netlist, Error>
Read netlist data from a slice containing the bytes from a Yosys .json file
fn to_string(&self) -> Result<String, Error>
Serialize to a String
fn to_writer(&self, writer: &mut Write) -> Result<(), Error>
Serialize to a writer