|
发表于 2011-4-11 18:10:54
|
显示全部楼层
.OPTION ACOUT
Specifies the method for calculating differences in AC output values.
Syntax
.OPTION ACOUT=0|1
Default
Value if option is not specified in the netlist: 0 Value if option name is specified without a corresponding value: 1
Description
Use this option to specify a method for calculating the differences in AC output values for magnitude, phase, and decibels for print output and plots.
ACOUT=0: selects the SPICE method which calculates the magnitude of the differences real and imaginary in HSPICE. (Rarely used, but available for backward compatability.)
ACOUT=1: (rarely used by analog and HSPICE RF designers) selects the HSPICE method which calculates the difference of the magnitudes of the values real and imaginary.
Examples
ACOUT=0
VR(N1,N2) = REAL [V(N1,0) - V(N2,0)]
VI(N1,N2) = IMAG [V(N1,0) - V(N2,0)]
Magnitude
VM(N1,N2) = [VR(N1,N2)^2+VI(N1,N2)^2]0.5 Phase
VP(N1,N2) = ARCTAN[VI(N1,N2)/VR(N1,N2)]
Decibel
VDB(N1,N2) = 20 * LOG10[VM(N1,N2)]
ACOUT=1
VR(N1,N2) = REAL [V(N1,0)] - REAL [V(N2,0)]
VI(N1,N2) = IMAG [V(N1,0)] - IMAG [V(N2,0)] Magnitude
VM(N1,0) = [VR(N1,0)^2 + VI(N1,0)^2]0.5
VM(N2,0) = [VR(N2,0)^2 + VI(N2,0)^2]0.5
VM(N1,N2) = VM(N1,0) - VM(N2,0)
Phase
VP(N1,0) = ARCTAN[VI(N1,0)/VR(N1,0)]
VP(N2,0) = ARCTAN[VI(N2,0)/VR(N2,0)]VP(N1,N2) = VP(N1,0) -
VP(N2,0)
Decibel
VDB(N1,N2) = 20 * LOG10(VM(N1,0)/VM(N2,0)) |
|