pub fn extract_rust_hdl_interface(
verilog: &str,
module_name: &str,
) -> Result<RustHdlModule, Error>Expand description
Extract all information needed to generate a wrapping rust-hdl module from a Verilog module.
§Arguments
verilog- The original Verilog module that was passed in.module_name- The name of the module that you want to extract.
§Return
RustHdlModule- The RustHdlModule struct.
§Errors
This function will return an error if there is an error parsing the Verilog