What is the value of out ? wand out; assign out = 1'b0; assign out = 1'b1;
What is the value of out ? wand out; assign out = 1'b0; assign out = 1'b1;
- 1'b0
- 1'b1
- 1'bx
- 1'bz
Correct answer
A. 1'b0
Explanation
A wand (wired-AND) net resolves multiple drivers by AND-ing them together. $0 AND 1 = 0$, so out resolves to 1'b0 .