pub struct WaitTableEntry {
pub slot: u32,
pub edge: Option<EdgeKind>,
pub select: Option<(u32, u32)>,
}Expand description
One term of a multi-term wait, in the program’s wait table: the waited-on
signal’s TEMPLATE slot (mapped to the waiting instance’s cell at run time)
and its edge – None = any value change of any bit.
Fields§
§slot: u32§edge: Option<EdgeKind>§select: Option<(u32, u32)>Some((lsb, width)): the term watches only bits [lsb, lsb + width)
of the signal – a constant bit/part select (@(posedge v[1]), LRM
9.4.2) – and an edge is taken on the select’s least significant bit.
Implementations§
Trait Implementations§
Source§impl Clone for WaitTableEntry
impl Clone for WaitTableEntry
impl Copy for WaitTableEntry
Source§impl Debug for WaitTableEntry
impl Debug for WaitTableEntry
impl Eq for WaitTableEntry
Source§impl PartialEq for WaitTableEntry
impl PartialEq for WaitTableEntry
impl StructuralPartialEq for WaitTableEntry
Auto Trait Implementations§
impl Freeze for WaitTableEntry
impl RefUnwindSafe for WaitTableEntry
impl Send for WaitTableEntry
impl Sync for WaitTableEntry
impl Unpin for WaitTableEntry
impl UnsafeUnpin for WaitTableEntry
impl UnwindSafe for WaitTableEntry
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.