[logo] 
 
Home
News
Activity
About/Contact
Major Tools
  Dinotrace
  Verilator
  Verilog-mode
  Verilog-Perl
Other Tools
  BugVise
  CovVise
  Force-Gate-Sim
  Gspice
  IPC::Locker
  Rsvn
  Schedule::Load
  SVN::S4
  Synopsys-modes
  SystemPerl
  Verilog-Pli
  Voneline
  Vregs
General Info
  Papers

_FILE_OFFSET_BITS=64? fwrite stops at 2gb

Added by Brad Parker over 1 year ago

Has anyone tried building verilator with _FILE_OFFSET_BITS=64?

I have a sim which generates a log file with fwrite() and it stops cold at 2Gb. I believe this is because _FILE_OFFSET_BITS != 64.

As a hack, I may "#define _FILE_OFFSET_BITS 64" at the top of verilated.cpp and see what happens.


Replies (1)

RE: _FILE_OFFSET_BITS=64? fwrite stops at 2gb - Added by Wilson Snyder over 1 year ago

I don't know of a specific trial of this, but think some -m32 distros have this as the default. Plus, Verilator works fine with -m64. If there's any issues the patches should be minor, let us know.

(1-1/1)