This coding example shows how to use a non-blocking procedural assignment. if (in1) out <= 1'b1; else out <= in2;