/usr/share/octave/packages/ocs-0.1.3/prs/doc-cache is in octave-ocs 0.1.3-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 | # Created by Octave 3.8.0, Mon Feb 24 19:43:03 2014 UTC <root@akateko>
# name: cache
# type: cell
# rows: 3
# columns: 2
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 7
prs_iff
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 1823
-- Function File: OUTSTRUCT = prs_iff(NAME)
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.
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
Parse a netlist in IFF format and produce the system description
structure OUTST
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 9
prs_spice
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 2467
-- Function File: [STUCT] = prs_spice (FILENAME)
Circuit file parser that can interpret a subset of the spice file
format.
'prs_spice' currently supports the following set of "Element Cards"
- Capacitors:
Cname n+ n- cvalue
- Diodes:
Cname anode knode modelname <parameters>
- MOS:
Mname gnode dnode snode bnode modelname <parameters>
N.B.: one instance of a MOS element MUST be preceeded
(everywhere in the file) by the declaration of the related
model. For instance:
.MODEL mynmos NMOS( k=1e-4 Vth=0.1 rd=1e6)
M2 Vgate 0 Vdrain 0 mynmos
- Resistors:
Rname n+ n- rvalue
- Voltage sources:
Vname n+ n- <dcvalue> <transvalue>
Transvalue specifies a transient voltage source
SIN(VO VA FREQ TD THETA)
where:
* VO (offset)
* VA (amplitude)
* FREQ (frequency)
* TD (delay)
* THETA (damping factor)
* 0 to TD: V0
* TD to TSTOP: VO +
VA*exp(-(time-TD)*THETA)*sine(twopi*FREQ*(time+TD))
Currently the damping factor has no effect.
Pulse
PULSE(V1 V2 TD TR TF PW PER)
parameters meaning
* V1 (initial value)
* V2 (pulsed value)
* TD (delay time)
* TR (rise time)
* TF (fall time)
* PW (pulse width)
* PER (period)
Currently rise and fall time are not implemented yet.
- .MODEL cards Defines a model for semiconductor devices
.MODEL MNAME TYPE(PNAME1=PVAL1 PNAME2=PVAL2 ... )
TYPE can be:
* NMOS N-channel MOSFET model
* PMOS P-channel MOSFET model
* D diode model
The parameter "LEVEL" is currently assigned to the field
"section" in the call of the element functions by the solver.
Currently supported values for the parameter LEVEL for NMOS
and PMOS are:
* simple
* lincap
(see documentation of function Mdiode).
Currently supported values for the parameter LEVEL for D are:
* simple
(see documentation of functions Mnmosfet and Mpmosfet).
See also: prs_iff,Mdiode,Mnmosfet,Mpmosfet.
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 73
Circuit file parser that can interpret a subset of the spice file
format.
|