What is the default value of an uninitialized reg variable at simulation…
What is the default value of an uninitialized reg variable at simulation time t = 0 ?
- 0
- 1
- x
- z
Correct answer
C. x
Explanation
In Verilog, all declared reg variables default to an unknown state ( 1'bx ) at $t = 0$ until procedurally assigned.