Re: [sv-bc] Question on memory pattern file formats in SV


Subject: Re: [sv-bc] Question on memory pattern file formats in SV
From: Steven Sharp (sharp@cadence.com)
Date: Wed Aug 20 2003 - 17:46:27 PDT


My opinion of the Verilog-2001 issues are as follows:

The $readmem system tasks do not support multi-dimensional arrays, and I
don't think there is any need to extend them to do so. Verilog-2001 added
more general file reading capability, such as $fscanf. This can be used to
implement any kind of multi-dimensional array reading functionality that
the user wants. Assuming no need for embedded addresses in the file, such
code is trivial to write.

The $writemem system tasks have never provided any necessary capabilities,
since the same thing can be done with a Verilog for-loop around a $fdisplay.

Steven Sharp
sharp@cadence.com



This archive was generated by hypermail 2b28 : Wed Aug 20 2003 - 17:48:27 PDT