pub struct GroupImage {
pub kind: NetKind,
pub width: u32,
pub nets: Vec<(InstanceId, u32)>,
pub drivers: Vec<DriverImage>,
pub switched: bool,
pub decay: Option<u64>,
pub charge: u8,
pub strength_keys: Vec<u64>,
pub strength_tick: Option<u32>,
pub sides: Vec<SideSpec>,
}Expand description
A group of nets resolved together (nets: one, or several joined by
inout ports).
Fields§
§kind: NetKind§width: u32§nets: Vec<(InstanceId, u32)>(instance, slot) of each net.
drivers: Vec<DriverImage>§switched: boolPart of a switch network, which resolves it.
decay: Option<u64>A trireg group’s charge decay time in scheduler ticks.
charge: u8A trireg group’s charge strength as a %v code (LRM 28.16.1): 5
small, 4 medium (the default), 6 large.
strength_keys: Vec<u64>%v registry keys (vj_runtime::fmt::strength_key) of the group’s
nets, same order: the resolver records the group’s per-bit strengths
under each. Empty unless the design prints %v.
strength_tick: Option<u32>A bank cell the resolver bumps whenever the group’s strengths change
(a MOS gate downstream reads them: StrengthSrc::tick).
sides: Vec<SideSpec>The $dumpports port views of the group (LRM 21.7.4.3.2): empty
unless the design calls $dumpports.
Trait Implementations§
Source§impl Clone for GroupImage
impl Clone for GroupImage
Source§impl Debug for GroupImage
impl Debug for GroupImage
impl Eq for GroupImage
Source§impl PartialEq for GroupImage
impl PartialEq for GroupImage
impl StructuralPartialEq for GroupImage
Auto Trait Implementations§
impl Freeze for GroupImage
impl RefUnwindSafe for GroupImage
impl Send for GroupImage
impl Sync for GroupImage
impl Unpin for GroupImage
impl UnsafeUnpin for GroupImage
impl UnwindSafe for GroupImage
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.