1// Self-assignment in a scalar 2 3wire[31:0] x; 4assign x[0] = 0; 5assign x[1] = x[0] + 1; 6 7initial begin 8 $write(x); 9 $finish; 10end 11