The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Sep 1st, 2024, 8:24am
Pages: 1
Send Topic Print
Spectre models for MC and Corner sim (Read 202 times)
Paul
Community Fellow
*****
Offline



Posts: 351
Switzerland
Spectre models for MC and Corner sim
May 26th, 2004, 5:16am
 
Hello,

with respect to the discussion about Monte-Carlo simulation (http://www.designers-guide.com/Forum/?board=circuit;action=post;num=1066706959;q...) I have the following problem. Using the syntax suggested by EVI and also presented in the Spectre documentation, I cannot use my models anymore with the corner sim tool.

The workaround I'm trying to implement is the following:
I have a .lib.scs file with the corner info, which calls the .mdl.scs file containing the BSIM transistor models. In the .lib.scs, I create an additional corner called mc which contains the statistics section, all other corners don't contain any statistics part. As the .mdl.scs file contains some calculations (like u0_mis/sqrt(w*l)), I have to keep the inline subckt parts in all corners.

Spectre runs fine with that, but when I use the corner sim, I get the following error:
model `M15.n' (TYP.n.n): parameter `u0': Encountered error which may be         related to a reference to an inherited parameter in a subcircuit, where the subcircuit definition (or any of the ancestor subcircuit definitions) were declared before the parameter being referenced. Ensure that all top-level netlist parameters are declared before any subcircuits are defined.

input.scs says
include "..../mos.lib.scs" section=tt
...circuit definition and analysis description...
TYP altergroup {
include \
   "..../mos.lib.scs" \
   section=tt
}
FF altergroup {
include \
   "..../mos.lib.scs" \
   section=tt
}

Any suggestion on this? Thanks for your help,

Paul
Back to top
 
 
View Profile WWW   IP Logged
Paul
Community Fellow
*****
Offline



Posts: 351
Switzerland
Re: Spectre models for MC and Corner sim
Reply #1 - May 26th, 2004, 5:49am
 
Sorry guys for bothering you... I gave up searching Sourcelink too quickly. The solution is here:
PCR 274399: Inline subcircuits cannot be used in altergroup
just some line to add to .cdsenv and it works

Paul
Back to top
 
 
View Profile WWW   IP Logged
Chase Ng
Guest




Re: Spectre models for MC and Corner sim
Reply #2 - Sep 24th, 2005, 10:16pm
 
Hi, Just want a quick answer, wat to add in .cdsenv?
Back to top
 
 
  IP Logged
Andrew Beckett
Senior Fellow
******
Offline

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

Posts: 1742
Bracknell, UK
Re: Spectre models for MC and Corner sim
Reply #3 - Sep 25th, 2005, 4:38am
 
Code:
spectre.envOpts useAltergroup   boolean nil 



Andrew.
Back to top
 
 
View Profile WWW   IP Logged
chase.ng
Community Member
***
Offline



Posts: 77
penang/malaysia
Re: Spectre models for MC and Corner sim
Reply #4 - Sep 25th, 2005, 7:17am
 
Thanks... it works!

Chase
Back to top
 
 

Chase
View Profile chase.ng   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.