K
kumar
Guest
Hi all,
I am having a query regarding $fgets(line, fd);
I have read the file completely and once the file is completely read,
I am getting an error message "$fgets : Argument 2 is an unknown file
descriptor."
How can i avoid this error message?
Since i am using Verilog-95 constructs, hence the system task $ferror
cannot be used, and $feof is also not possible as i am using Modelsim.
Is there any method by which i can block this error Message from the
code.
Regards
Kumar
I am having a query regarding $fgets(line, fd);
I have read the file completely and once the file is completely read,
I am getting an error message "$fgets : Argument 2 is an unknown file
descriptor."
How can i avoid this error message?
Since i am using Verilog-95 constructs, hence the system task $ferror
cannot be used, and $feof is also not possible as i am using Modelsim.
Is there any method by which i can block this error Message from the
code.
Regards
Kumar