# Created by Octave 3.2.4, Tue Nov 23 12:53:49 2010 EST <mockbuild@jetta.math.Princeton.EDU.private>
# name: cache
# type: cell
# rows: 3
# columns: 1
# name: <cell-element>
# type: string
# elements: 1
# length: 11
PRSIFFparse
# name: <cell-element>
# type: string
# elements: 1
# length: 1706
 -- Function File: OUTSTRUCT = PRSIFFparse(NAME)
     Parses a netlist in IFF format and produces the system description
     structure OUTSTRUCT.  NAME is the basename of the CIR and NMS
     files to be parsed.

     See the `IFF file format specifications' (distributed together
     with the OCS package) for more details on the file format

     The returned structure OUTSTRUCT has the following fields:

          outstruct =
          {
           LCR:  struct      % the fields of LCR are shown below
           NLC:  struct      % NLC has the same fields as LCR
           namesn: matrix    % numbers of vars named in .nms file
           namess: cell      % the names corresponding to the vars above
           totextvar: scalar % the total number of external variables
           totintvar: scalar % the total number of internal variables
          }

          outstruct.LCR =
          {
           struct array containing the fields: % array has one element per block

             func     % name of the sbn file corresponding to each block
             section  % string parameter to be passed to the sbn files
             nextvar  % number of external variables for each element of the block
             vnmatrix % numbers of the external variables of each element
             nintvar  % number of internal variables for each element of the block
             osintvar % number of the first internal variable
             npar     % number of parameters
             nparnames% number of parameter names
             nrows    % number of rows in the block
             parnames % list of parameter names
             pvmatrix % list of parameter values for each element

          }



# name: <cell-element>
# type: string
# elements: 1
# length: 80
Parses a netlist in IFF format and produces the system description
structure OUT

