i am running the below code the output is a = x and b = 0.
assign a = 1;
assign a = 0;
$monitor("a = %b,b = %b",a,b);
assign statements are implicitly parallel. that's why a = 0.
in non-blocking assignment's i am getting "b = 0",why "b" value is 0;
because of both non-blocking statements are also executed in parallel.