Sign in
foss-fpga-tools
/
third_party
/
Surelog
/
4a79a47b7dd03dd4b2776ee40322b0149935d234
/
.
/
src
/
Testcases
/
UtdSV
/
loops.v
blob: ba506ac3dfa1ca22368fdf11ea273f51161e28a8 [
file
] [
log
] [
blame
]
module
tb_loops
;
integer a
=
0
;
initial
begin
while
(
a
<
10
)
begin
a
=
a
+
1
;
end
wait
(
10
);
forever
begin
a
=
a
-
1
;
if
(
a
<
0
)
$finish
;
end
end
endmodule