Sign in
foss-fpga-tools
/
third_party
/
Surelog
/
1b0062119887da734c600d091a65c037f5fafa7d
/
.
/
SVIncCompil
/
Testcases
/
Google
/
chapter-9
/
9.4.2.3--event_conditional.sv
blob: 28fc2b5302aa679e0a92d0567a7813cc7b0a3a93 [
file
] [
log
] [
blame
]
/*
:name: event_conditional
:description: event conditional
:should_fail: 0
:tags: 9.4.2.3
*/
module
block_tb
();
wire clk
=
0
;
wire en
=
0
;
wire a
=
0
;
reg y
=
0
;
always
@(
posedge clk iff en
==
1
)
y
<=
a
;
endmodule