pub struct Module {
pub attributes: HashMap<String, AttributeVal>,
pub parameter_default_values: HashMap<String, AttributeVal>,
pub ports: HashMap<String, Port>,
pub cells: HashMap<String, Cell>,
pub memories: HashMap<String, Memory>,
pub netnames: HashMap<String, Netname>,
}
Expand description
Represents one module in the Yosys hierarchy
Fields§
§attributes: HashMap<String, AttributeVal>
Module attributes (Verilog (* attr *)
)
parameter_default_values: HashMap<String, AttributeVal>
Module parameter (Verilog parameter
) default values
ports: HashMap<String, Port>
Module ports (interfaces to other modules)
cells: HashMap<String, Cell>
Module cells (objects inside this module)
memories: HashMap<String, Memory>
Module memories
netnames: HashMap<String, Netname>
Module netnames (names of wires in this module)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Module
impl<'de> Deserialize<'de> for Module
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Module
impl StructuralPartialEq for Module
Auto Trait Implementations§
impl Freeze for Module
impl RefUnwindSafe for Module
impl Send for Module
impl Sync for Module
impl Unpin for Module
impl UnwindSafe for Module
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more