The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Aug 25th, 2024, 3:18pm
Pages: 1
Send Topic Print
Help needed: PNoise analysis error in SprectreRF (Read 6726 times)
littlekoala
New Member
*
Offline



Posts: 5

Help needed: PNoise analysis error in SprectreRF
Sep 27th, 2006, 11:18am
 
Hi, there,

I am using the “pnoise” analysis  from SpectreRF to simullate oscillator phase noise. After the PSS analysis converged, then the pnoise analysis started, but it failed immediately with a message: Analysis ‘pnoise’ terminated prematurely due to error.

I can not figure out what is going wrong with my simulation. Transient and PSS analyses show that the oscillator circuit should work fine.

Can anybody help me on this problem?  Any help and advice will be greatly appreciated.

Littlekoala
Back to top
 
 
View Profile   IP Logged
ACWWong
Community Fellow
*****
Offline



Posts: 539
Oxford, UK
Re: Help needed: PNoise analysis error in Sprectre
Reply #1 - Sep 27th, 2006, 11:56am
 
there isn;t enough information to go on, but whatever the case the best course of action would be to forward you spectre logs to cadence directly.
Back to top
 
 
View Profile   IP Logged
littlekoala
New Member
*
Offline



Posts: 5

Re: Help needed: PNoise analysis error in Sprectre
Reply #2 - Sep 27th, 2006, 3:39pm
 
I included an AGC (auto gain control)  in the feedback loop to control the oscillation amplitude. It seems to me that the AGC is the source of the problem. But I still do not know to get the pnoise analysis done.

Did anybody have the same problem before? How to do phase noise analysis with AGC in the circuit?

Thanks.

Littlekoala
Back to top
 
 
View Profile   IP Logged
ACWWong
Community Fellow
*****
Offline



Posts: 539
Oxford, UK
Re: Help needed: PNoise analysis error in Sprectre
Reply #3 - Sep 28th, 2006, 8:58am
 
in principle i don't think the agc should cause the problem, as the pnoise runs based upon the converged pss analysis. The pss solution should be done after the oscillation amplitude has settled (using tstab). Inspect your spectre log files for clues as to why the "pnoise terminated prematurely due to error".
Back to top
 
 
View Profile   IP Logged
littlekoala
New Member
*
Offline



Posts: 5

Re: Help needed: PNoise analysis error in Sprectre
Reply #4 - Sep 29th, 2006, 4:59pm
 
There is an error message from SpectreRF: Assertion failed in file 'shoot.c' at line 6749.  I do not know what is going on within the simulator.

Did anyone have the similar problem before?

Littlekoala
Back to top
 
 
View Profile   IP Logged
Ken Kundert
Global Moderator
*****
Offline



Posts: 2386
Silicon Valley
Re: Help needed: PNoise analysis error in Sprectre
Reply #5 - Sep 29th, 2006, 10:22pm
 
The message "Analysis ‘pnoise’ terminated prematurely due to error" indicates that the simulator was terminated due to an error that was reported earlier. If you want help, you should include the actual message associated with the error that caused the simulator to terminate.

The message "Assertion failed in file 'shoot.c' at line 6749." indicates that an inconsistency has detected in the simulator. This indicates that there is a bug in the simulator that should be reported to Cadence. However, given how much troubly your are having, you might be using the simulator in an inappropriate way. You should consider describing your situation more fully in the hope that someone can determine where you are going wrong.

-Ken
Back to top
 
 
View Profile WWW   IP Logged
littlekoala
New Member
*
Offline



Posts: 5

Re: Help needed: PNoise analysis error in Sprectre
Reply #6 - Oct 2nd, 2006, 8:18pm
 
Ken:

The oscillator comprises a MEMS oscillator (verilog-A model) with a Q of 10000, a trans-impedance amplifier and an AGC.

The PSS analysis converged in every simulation, but the pnoise analysis failed for most of my simulations with the same error message as I posted before. Sometimes, when I changed tstab to some value, the pnoise analysis completed properly, but these situations are very rare. And I found no relationship between tstab and a successful pnoise analysis.

Thank you.

Littlekoala

Back to top
 
 
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1999
Massachusetts, USA
Re: Help needed: PNoise analysis error in Sprectre
Reply #7 - Oct 3rd, 2006, 6:13am
 
Are you using method=gear2only in your PSS?  (I think you should.)

Have you tried writing out the PSS and reading it back in to initialize a second pss (to make sure it's really converged)?

Have you set any strange options, such as compression=yes?  Have you looked at the options for oscillators?

Do you get any warnings from the Verilog-A compiler?

Is there a way to force fixed-point iterations instead of shooting-newton?  I didn't see the option, but maybe a Cadence expert can tell us.
Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
View Profile WWW   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.