Hi Ken,
I implemented the VerilogA Comparator block discussed earlier with an opamp circuit (transistor level implementation).
The PSS analysis was performed in shooting mode with `q` [output of flip flop] as the oscillator node+. There was only one warning and is given below [2]. The PSS analysis results match well with `trans` analysis results. But the PAC analysis does not seem to work for this boost converter (operating as autonomous circuit). May be some parameter settings are wrong [1]. The voltage gain (Vo/Vi) and phase results are shown below and are incorrect.
Could you please tell me what might be the reason or any suggestion about how to run PAC analysis for this kind of circuit?
Please let me know if any further information is needed.
Thank you in advance.
[1] PSS and PAC settings:
Code:pss ( Vo 0 ) pss fund=161.23k harms=0 errpreset=moderate
+ tstab=249m saveinit=yes oscic=lin method=gear2only
+ tstabmethod=gear2only maxacfreq=200M maxperiods=50 annotate=status
+ maxiters=50
pac pac start=1m stop=200M maxsideband=0 annotate=status
[2] Warning during PSS analysis:
Code:Notice from spectre during IC analysis, during periodic steady state analysis `pss'.
GminDC = 1 pS is large enough to noticeably affect the DC solution.
dV(I33.MP1.m1:int_s) = -474.4 mV
Use the `gmin_check' option to eliminate or expand this report.
L0: Initial condition computed for node L0:1 is in error by 1 nA.
Decrease `rforce' to reduce error in computed initial conditions. However, setting rforce too small may result in convergence difficulties or in the matrix becoming singular.
DC simulation time: CPU = 300.954 ms, elapsed = 300.762 ms.
Using linear IC
Warning from spectre during periodic steady state analysis `pss'.
WARNING: Linear IC: Fail to find out initial frequency. [ Early Reject ]