ywguo
|
Hello,
I read the Hspice manual, but I am not clear how Hspice choose the points used for FFT. Do you have any ideas about it?
I use FFT in Hspice to simulate the dynamic range of SHA. To get a clear frequency spectrum, only the output voltage at hold phase should be used for FFT. Now I control the start time, stop time, and number of point so that the space between two consecutive points is equal to the sampling rate. But I am not sure whether the points used for FFT lie in sampling phase or hold phase.
For eg.
VCLK CLK vss pulse 0 supply 2.0ns 1ns 1ns 11.0ns 25ns .tran 1ns 12.8us .fft v(op,on) from=1ns to=12.8us NP=512 + window=Kaiser-Bessel
Is the first point Time=start time + (stop time -start time)/512 ? Or Time = start time + (stop time - start time)/(2*512) ?
Thanks
Yawei Guo
|