Function undef
pub fn undef<T>() -> TExpand
Returns an undefined value of a given type.
Undefined values are meant to be used as explicit markers of values not intended to be used. They get compiled to a “don’t care” value in Verilog.
While 4-valued simulators preserve them, others like Verilator may set them to 0 or a random value.