Next: HSPICE Compatibility Functions
Up: Plots, Vectors and Expressions
Previous: Statistical Functions
Contents
Index
Measurement Functions
These functions are exported from the measure command and provide
the same measurement capability in postprocessing.
Each function takes three arguments. The first argument is a
simulation result vector. The second two arguments are scalar values
of the vector's scale that define the measurement range (effectively
the trigger and target points). These are clipped to the actual
vector scale if out of range. The return value is a real scalar.

 mavg(vec, start, end)
Compute the average value of vec over the range start to
end.
 mmax(vec, start, end)
Find the maximum value of vec over the range start to end.
 mmin(vec, start, end)
Find the minimum value of vec over the range start to end.
 mpp(vec, start, end)
Find the peak to peak (maximum minus minimum) value of vec over
the range start to end.
 mpw(vec, start, end)
Find the fullwidth halfmaximum pulse width of vec over the
range start to end. The start and end are
assumed to frame a single pulse. The maximum and minimum values are
found, and the first two crossings of the average of these values
provide the result.
 mrft(vec, start, end)
Find the 10% to 90% rise or fall duration for an edge assumed to be
framed by start and end.
 mrms(vec, start, end)
Compute the root mean square (RMS) value of vec over the range
start to end.
Next: HSPICE Compatibility Functions
Up: Plots, Vectors and Expressions
Previous: Statistical Functions
Contents
Index
Stephen R. Whiteley
20210127