pub struct Netname {
pub hide_name: usize,
pub bits: Vec<BitVal>,
pub offset: usize,
pub upto: usize,
pub signed: usize,
pub attributes: HashMap<String, AttributeVal>,
}
Expand description
Represents the name of a net in a module
Fields§
§hide_name: usize
Indicates an internal/auto-generated name that starts with $
bits: Vec<BitVal>
Bit value(s) that should be given this name
offset: usize
Bit offset for mapping to HDL bit numbering
upto: usize
Whether or not HDL bit numbering is MSB-first
signed: usize
Whether or not HDL considers value signed
attributes: HashMap<String, AttributeVal>
Attributes for this netname
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Netname
impl<'de> Deserialize<'de> for Netname
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 Netname
impl StructuralPartialEq for Netname
Auto Trait Implementations§
impl Freeze for Netname
impl RefUnwindSafe for Netname
impl Send for Netname
impl Sync for Netname
impl Unpin for Netname
impl UnwindSafe for Netname
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