sv2v/test/core/asgn_sense_lhs.v

11 lines
197 B
Verilog

module mod(input clk);
reg x, z;
wire y;
initial begin
$display(x, y, z);
z = 1;
x = @(posedge y or posedge clk) z;
$display(x, y, z);
end
endmodule