help-gnucap
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gnucap] 555 subcircuit


From: Al Davis
Subject: Re: [Help-gnucap] 555 subcircuit
Date: Sun, 11 May 2003 22:36:56 -0600
User-agent: KMail/1.5.1

On Sunday 11 May 2003 10:02 am, éric boucharé wrote:
(excerpt from netlist)
> M1 7 29 1 1 MOSMOD
> .MODEL MOSMOD NMOS (LEVEL=1 KP=1 VTO=1 RD=5)
(lossy compression)
> Running it with gnucap 0.33 in batch mode gives the following
(more lossy compression)

> MOSMOD: rd input, but not rs. setting rs = 0.

This line just says you set a value for RD but not RS.  It 
"corrected" your error by setting RS to 0.  It is usually a 
mistake to set one but not the other, so a warning is issued.

> M1.X1: model type mismatch: MOSMOD

This one is very badly worded.  Thanks for making me look at it.  
I have changed it for the next release to:

M1.X1, MOSMOD : model and device parameters are incompatible

which is still not very good.

It means that the parameters you specified for M1.X1 (a device) 
and MOSMOD (a model) are somehow incompatible with each other

The problem here is that there is no size specified for the 
mosfet.

> And then it ends.Can someone tell me what's wrong ?

It should be a "warning" but it is an "error".  Changing line 75 
of e_compon.cc to say "bWARNING" instead of "bERROR" will allow 
it to continue, using values from the .options statement, as 
Spice does.

This code was added when "binning" was added, as part of 
"binning", but I missed this consequence because I always 
specify the size of mosfets.


After all that ...  It didn't converge.  
The command ".options dampmax=.99" before the analysis made it 
converge.  It gave the same answers as Spice.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]