pub struct DumpSignalImage {Show 14 fields
pub instance: InstanceId,
pub def_name: String,
pub scope: Vec<String>,
pub scope_kinds: Vec<ScopeKind>,
pub name: String,
pub width: u32,
pub var_type: VcdVarType,
pub slot: u32,
pub wide: bool,
pub real: bool,
pub class_handle: bool,
pub port: Option<PortDir>,
pub strength_key: Option<u64>,
pub side_key: Option<u64>,
}Expand description
One signal $dumpvars can select (LRM 21.7): a variable or net of an
instance, with the scope path the waveform shows it under. Memories
and collections are not dumpable and are not listed.
Fields§
§instance: InstanceId§def_name: StringThe name of the module definition instance instantiates (what
$coverage_*(SV_COV_MODULE, "def name") selects by, LRM 40.3.2.1).
scope: Vec<String>Scope path, outermost first (["top", "u1", "blk"]).
scope_kinds: Vec<ScopeKind>Each scope’s VCD type, parallel to scope.
name: String§width: u32§var_type: VcdVarTypeThe VCD $var type (LRM 21.7.2.1 var_type).
slot: u32The slot in the instance’s own numbering.
wide: bool§real: boolA real/shortreal/realtime: the cell holds the IEEE bits.
class_handle: boolA class-typed variable: an object-heap handle, never traced.
port: Option<PortDir>The direction of the port this signal is the internal symbol of, for
$dumpports (LRM 21.7.3): None for a signal that is no port.
strength_key: Option<u64>For a port, the %v registry key (vj_runtime::fmt::strength_key)
of the net whose recorded strengths and driver counts describe the
port’s fixture-side value: its own net, or for an input port connected
to a whole parent net of the same width that net (the child’s input
net carries only a strong copy). None: no record (a variable, or a
design without $dumpports), so the port is driven at strong by one
driver.
side_key: Option<u64>For a port, the key SideSpec::key records the fixture/DUT split
of its net’s drivers under; None when the net has no resolver (or
the design has no $dumpports).
Trait Implementations§
Source§impl Clone for DumpSignalImage
impl Clone for DumpSignalImage
Source§impl Debug for DumpSignalImage
impl Debug for DumpSignalImage
impl Eq for DumpSignalImage
Source§impl PartialEq for DumpSignalImage
impl PartialEq for DumpSignalImage
impl StructuralPartialEq for DumpSignalImage
Auto Trait Implementations§
impl Freeze for DumpSignalImage
impl RefUnwindSafe for DumpSignalImage
impl Send for DumpSignalImage
impl Sync for DumpSignalImage
impl Unpin for DumpSignalImage
impl UnsafeUnpin for DumpSignalImage
impl UnwindSafe for DumpSignalImage
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
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
key and return true if they are equal.