User guide
D-30
Compiler Directives and System Tasks
$fgets
Reads a string from a file. See IEEE Std 1364-2001 page 290.
$fmonitor[b|h|0]
Writes to a file when an argument changes value.
See IEEE std 1364-2001 pages 287-288.
$fopen
Opens files.
See IEEE std 1364-2001 pages 286-288.
$fread
Reads binary data from a file. See IEEE Std 1364-2001 page 293.
$fscanf
Reads characters in a file. See IEEE Std 1364-2001 pages 290-
293.
$fseek
Sets the position of the next read or write operation in a file. See
IEEE Std 1364-2001 page 294.
$fstrobe[b|h|0]
Writes arguments to a file.
See IEEE std 1364-2001 pages 288-289.
$ftell
Returns the offset of a file. See IEEE Std 1364-2001 page 294.
$fwrite[b|h|0]
Writes to a file.
See IEEE Std 1364-2001 pages 88-289.
$rewind
Sets the next read or write operation to the beginning of a file.
See IEEE Std 1364-2001 page 294.