pub fn variable_initializer<'d>(var: &Symbol<'d>) -> Option<Expression<'d>>Expand description
A variable’s initializer, including the one an ANSI port declaration
carries (LRM 1800-2023 6.8, 23.2.2.4): module m(output reg [31:0] z = 5)
puts the = 5 on the Port symbol (port_initializer), not on the
internal Variable, so Symbol::initializer alone misses it.