Sign in
foss-fpga-tools
/
third_party
/
Surelog
/
refs/heads/mithro-patch-1
/
.
/
SVIncCompil
/
Testcases
/
Google
/
chapter-12
/
12.4--if.sv
blob: dcf3305da0c92e5dc3ef819422ba07a94b8152b2 [
file
] [
log
] [
blame
] [
edit
]
/*
:name: if
:description: A module testing if statement
:should_fail: 0
:tags: 12.4
*/
module
if_tb
();
wire a
=
0
;
reg b
=
0
;
always
begin
if
(
a
)
b
=
1
;
end
endmodule