ANalysis mos general files
The ANALYSIS line allows a limited data analysis to be performed on either IV or AC log files.
mos
Gate = integer Source = integer Drain = integer BUlk = integer Subthreshold = logical (default is false) or Mos.ft = logical (default is false)
The above parameters permit either a subthreshold or Ft analysis to be performed for a MOSFET. The terminals of the MOSFET must be identified using the GATE, SOURCE, DRAIN and BULK parameters. The SUBTHRESHOLD analysis yields (1) extrapolated Vt (2) subthreshold slope and (3) maximum transconductance for an IV file with a fixed Vds; reults are given assuming both linear and saturated bias conditions. The MOSFT analysis computes (1) extrapolated Ft, (2) low frequency current gain and (3) low frequency voltage gain for an MOSFET AC file with a fixed DC bias.
general
VAR1 = character A1 = real (default is 1 if VAR1 is specified, else 0) B1 = real (default is 0) C1 = real (default is 0) N1 = real (default is 1) LOG1 = logical (default is false) ABS1 = logical (default is false) VAR2 = character A2 = real (default is 1 if VAR2 is specified, else 0) B2 = real (default is 0) C2 = real (default is 0) N2 = real (default is 1) LOG2 = logical (default is false) ABS2 = logical (default is false) VAR3 = character A3 = real (default is 1 if VAR3 is specified, else 0) B3 = real (default is 0) C3 = real (default is 0) N3 = real (default is 1) LOG3 = logical (default is false) ABS3 = logical (default is false) FRequency = real RESULT = character LOGArithm = logical (default is false) ABSOlute = logical (default is false) REGression = logical (default is false)
VAR1, VAR2 and VAR3 identify data quantities to be manipulated. In the specified output file (below), the quantity given by RESULT will be replaced by
VAR1, VAR2, VAR3 and RESULT are given in the same format as plotted quantities on the PLOT.1D line; e.g. time, frequency, applied biases (VA1, VA2, etc.), actual contact bias (V1, V2, etc.), terminal current (I1, I2, etc.), AC capacitances (C11, C12, C21, etc.), AC conductance (G11, G12, G21, etc.) and AC admittance (Y11, Y12, Y21, etc.). Use FREQUENCY to obtain AC parameters at a single frequency. ABS1, ABS2 and ABS3 indicate that the absolute values of VAR1, VAR2 and VAR3 respectively be taken, while LOG1, LOG2 and LOG3 indicate that the logarithms of these values be evaluated; the absolute value is taken before the logarithm in each case. ABSOLUTE and LOGARITHM specify that the absolute value and logarithm respectively be taken of RESULT. Finally, REGRESSION specifies that a least squares fit be performed on VAR1 vs. VAR2.
files
Infile = character Outfile = character
INFILE is the input IV or AC file. The default is to use the log file that is currently open, as with the PLOT.1D line. OUTFILE is the output IV or AC file, including any data manipulation using VAR1, VAR2 and RESULT which can be plotted just like any other IV/AC file. Note also that INFILE could be the result of a previous ANALYSIS line so that a series of data manipulations could be performed on a single IV/AC file.
The following computes Vt, S and gm from a MOSFET IV file where the gate, source, drain and bulk electrodes are 1,3,4 and 2 respectively:
ANALYSIS SUBT INF=MOSIV GATE=1 SOURCE=3 DRAIN=4 BULK=2
The following does a least square fit to 1/C**2 vs. V where C is the capacitance between electrodes 2 and 1 and V is the bias on electrode 2.
ANALYSIS INF=ACFILE VAR1=C21 RESULT=Y21 OUTF=ACDUM + A1=1 N1=-2 ANALYSIS INF=ACDUM VAR1=V2 VAR2=Y21 REGRESS