Files
sv2v/test/basic/event_xor.sv
Zachary Snow f68bf187af refactor event control internals
- event expressions use Expr over LHS
- stricter AST representation of event controls
- property specs use event expressions directly
2022-04-11 17:44:47 -06:00

14 lines
287 B
Systemverilog

module top;
reg x, y;
always @(x ^ y)
$display("%d %b %b", $time, x, y);
initial begin
#1 {x, y} = 2'b00;
#1 {x, y} = 2'b01;
#1 {x, y} = 2'b10;
#1 {x, y} = 2'b11;
#1 {x, y} = 2'b00;
#1 {x, y} = 2'b10;
end
endmodule