Sep 4, 2013 #1 S Sindhiya C R Newbie level 4 Joined Sep 4, 2013 Messages 7 Helped 0 Reputation 0 Reaction score 0 Trophy points 1 Activity points 45 Hi ,Can any one please tell me the usage of $ftell and $getc in verilog? Thanks in advance
Sep 4, 2013 #2 D dave_59 Advanced Member level 3 Joined Dec 15, 2011 Messages 843 Helped 366 Reputation 736 Reaction score 360 Trophy points 1,353 Location Fremont, CA, USA Activity points 7,408 In the IEEE 1800-2012 LRM $ftell is described in 21.3.5 File positioning $fgetc is described in 21.3.4 Reading data from a file You would use these along with $fseek if you did not want to read in a whole file at once and only portions at a time.
In the IEEE 1800-2012 LRM $ftell is described in 21.3.5 File positioning $fgetc is described in 21.3.4 Reading data from a file You would use these along with $fseek if you did not want to read in a whole file at once and only portions at a time.
Sep 4, 2013 #3 J jrwebsterco Member level 4 Joined Jul 12, 2010 Messages 75 Helped 40 Reputation 80 Reaction score 39 Trophy points 1,298 Activity points 2,176 And ... that spec is currently free at: Grab it while it still is!
Sep 5, 2013 #4 S Sindhiya C R Newbie level 4 Joined Sep 4, 2013 Messages 7 Helped 0 Reputation 0 Reaction score 0 Trophy points 1 Activity points 45 dave_59 said: In the IEEE 1800-2012 LRM $ftell is described in 21.3.5 File positioning $fgetc is described in 21.3.4 Reading data from a file You would use these along with $fseek if you did not want to read in a whole file at once and only portions at a time. Click to expand... Thank you Dave - - - Updated - - - Thank you ,I find it is very helpful
dave_59 said: In the IEEE 1800-2012 LRM $ftell is described in 21.3.5 File positioning $fgetc is described in 21.3.4 Reading data from a file You would use these along with $fseek if you did not want to read in a whole file at once and only portions at a time. Click to expand... Thank you Dave - - - Updated - - - Thank you ,I find it is very helpful