The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> Circuit Simulators >> altergroup for model parameter.
https://designers-guide.org/forum/YaBB.pl?num=1340812524

Message started by michaelFCT on Jun 27th, 2012, 8:55am

Title: altergroup for model parameter.
Post by michaelFCT on Jun 27th, 2012, 8:55am

Hi guys,

I'm trying to alter a model parameter, noimod to 1.

I've tried including a .scs file with the following:

ag1 altergroup {
     model pch bsim3v3 type=p noimod=1
     model nch bsim3v3 type=n noimod=1
}

but I get an error, saying that pch and nch was previously defined by a modelgroup in "xxx.scs".

I've tried using the following:

ag1 altergroup {
     model pchmod bsim3v3 type=p noimod=1
     model nchmod bsim3v3 type=n noimod=1
}

But then I get a warning that pchmod and nchmod have not been defined, therefore will be ignored.

I've tried this too: spectre.envOpts useAltergroup   boolean nil , but it did not help.

What am I doing wrong or is there another way to alter a model parameter (or a modelgroup parameter)?

Spectre subversion: 10.1.1.200.isr13
Cadence version: IC6.1.5-64b.500.5

Thanks.


Title: Re: altergroup for model parameter.
Post by Ken Kundert on Jun 28th, 2012, 9:55am

Have you tried using a simple alter statement?

Code:
enablePchNoiseMod alter mod=pch param=noimod value=1
enableNchNoiseMod alter mod=nch param=noimod value=1


-Ken

Title: Re: altergroup for model parameter.
Post by michaelFCT on Jun 29th, 2012, 6:36am

Hi Ken,

Yes, actually that was my first choice after following a response by Andrew Beckett (http://www.cadence.com/Community/forums/p/21354/1307135.aspx).

Using a simple alter statement produces the following result:

ERROR (SFE-421): Undefined parameter name 'noimod'.

Noimod does exist in my model parameters.

Could this have anything to do with modelgroups?

Thanks.


Title: Re: altergroup for model parameter.
Post by Ken Kundert on Jun 29th, 2012, 10:26am

You probably need to put noimod in quotes.

-Ken

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.