Sign in
foss-fpga-tools
/
third_party
/
Surelog
/
4a79a47b7dd03dd4b2776ee40322b0149935d234
/
.
/
src
/
Testcases
/
Google
/
chapter-21
/
21.3--feof.sv
blob: 5a5539449e7ec4606bd1f3b44606bac9a77dac7e [
file
] [
log
] [
blame
]
/*
:name: feof_function
:description: $feof test
:should_fail: 0
:tags: 21.3
:type: simulation parsing
*/
module
top
();
initial
begin
int
fd
;
fd
=
$fopen
(
"tmp.txt"
,
"w"
);
$display
(
$feof
(
fd
));
$fclose
(
fd
);
end
endmodule