The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 22nd, 2024, 1:22am
Pages: 1
Send Topic Print
inconsistance between simulations (Read 3305 times)
Aigneryu
Senior Member
****
Offline



Posts: 102

inconsistance between simulations
May 04th, 2007, 4:08pm
 
Hi,

 Recently while I use spectre6.1.1 to simulate an osc with PSP model, I found the results can vary in a very strange fashion. My testbench is like following:

1. I use "width" as a variable for transistor width of which the default value is 10 (um).
2. Use parametric to sweep the width from 6 to 16 with step of 2.
3. I found the results of "width=10" are different in 1. and 2. And the difference can be up to 2 dB.


I did make sure the osc has enough time to settle, and set the accuracy requirement to 1e-6 relative, and 1e-8 absolute. I also check the netlist directly, but cannot find any discrepency.

Does anybody have any clue this kind of problem could happen? Maybe this is due to the computer or other things rather tahn simulator?



Sincerely,



Back to top
 
 
View Profile   IP Logged
Aigneryu
Senior Member
****
Offline



Posts: 102

Re: inconsistance between simulations
Reply #1 - May 4th, 2007, 8:31pm
 
I found something: if I do "killall spectre" everytime before I run the simulation, the result will be the same. I tried this one different machines with different version of linux, they are all like this. And also, this technology has both BSIM and PSP, only PSP model has this problem. Does that mean this version of MMSIM has some bugs?


Sincerely,
Back to top
 
 
View Profile   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1742
Bracknell, UK
Re: inconsistance between simulations
Reply #2 - May 7th, 2007, 4:21am
 
It's quite possible (especially with an oscillator) to have a sensitive dependency on the initial conditions. When you're doing a sweep, the dc solution will start from the previous solution.

You might want to ensure that the transient or pss analysis you're using has "restart=yes", and also set the simulation option "rebuildmatrix=yes" (I think that's the parameter - I don't have access to spectre at the moment). "spectre -h options" will tell you what it's called.

Regards,

Andrew,
Back to top
 
 
View Profile WWW   IP Logged
Scott Flinchbaugh
Junior Member
**
Offline



Posts: 14

Re: inconsistance between simulations
Reply #3 - May 7th, 2007, 10:53am
 
All,

The Spectre options parameter is "rebuild_matrix=yes".

Thanks,
-scott
Back to top
 
 
View Profile flinchba   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1742
Bracknell, UK
Re: inconsistance between simulations
Reply #4 - May 8th, 2007, 7:10am
 
Ah, close but no underscore...

Thanks Scott for correcting my memory!

Regards,

Andrew.
Back to top
 
 
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.