Sign in
foss-fpga-tools
/
third_party
/
Surelog
/
refs/heads/mithro-patch-1
/
.
/
SVIncCompil
/
Testcases
/
Zachjs
/
basic
/
tf_block.sv
blob: f76e3fda547bef611414e01ce0297dcfbd7dc26f [
file
] [
log
] [
blame
] [
edit
]
module
top
;
function
[
2
:
0
]
f
;
input
[
2
:
0
]
n
;
n
+=
1
;
return
n
+
3
;
endfunction
task t
;
$display
(
"hello"
);
$display
(
"world"
);
endtask
initial t
();
initial $display
(
"f(0) = "
,
f
(
0
));
initial $display
(
"f(1) = "
,
f
(
1
));
endmodule