Parse a netlist in IFF format and produce 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.
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 = outstruct.NLC = { 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 }
See the IFF file format specifications for details about the output structures.
See also: prs_spice.
Package: ocs