What are the default values of wire and reg?
What are the default values of wire and reg?
Model answer
An undriven wire is $z$ (high impedance). An uninitialized 4-state reg (or logic ) is $x$ (unknown). 2-state types such as bit and int default to $0$.