Skip to main content

Module handle

Module handle 

Source
Expand description

Typed DUT handles with scheduled-write semantics and edge methods — the user-facing layer over rustdv-gpi (design-doc mapping rows 14, 19–22). set() is buffered and applied at the next ReadWrite phase; set_now() is the immediate variant.

Re-exports§

pub use aggregate::AggregateHandle;
pub use hierarchy::HierarchyHandle;
pub use hierarchy::top_module;
pub use logic::LogicHandle;
pub use real::RealHandle;
pub use string::StringHandle;

Modules§

aggregate
Typed member access for structs and unions.
hierarchy
Module lookup and typed child access.
logic
Logic reads, scheduled writes, and edge triggers.
real
Real values with scheduled and immediate writes.
string
String values with scheduled and immediate writes.

Structs§

BigUint
A big unsigned integer type.
LogicArray
A fixed-width vector of 4-state bits using VPI’s a_val/b_val representation. Bit pairs encode 00=0, 10=1, 11=X, and 01=Z.

Enums§

HandleError
Logic
One 4-state bit.
SimHandle
ValueError

Traits§

HandleBase
A trait for the common methods of all handle types
HandleChildren
A trait for handles that have children (hierarchy, aggregate)
HandleEvent
A trait for handles that have observable events