Device bug in spice rework 5_2


To ng-spice-devel@ieee.ing.uniroma1.it
From Paolo Nenzi <pnenzi@ieee.ing.uniroma1.it>
Date Tue, 25 Jan 2000 08:56:38 +0100 (CET)
Delivered-To mailing list ng-spice-devel@ieee.ing.uniroma1.it
In-Reply-To <200001250413.UAA02091@grfx.com>
Mailing-List contact ng-spice-devel-help@ieee.ing.uniroma1.it; run by ezmlm
Reply-To ng-spice-devel@ieee.ing.uniroma1.it

> No, I have not experienced this before.  but you might want to make sure 
> that the device data structure is getting initialized correctly.  When I 
> was trying to get the various bsimsoi models implemented, there was a 
> problem in defining the device structure and having the appropriate model 
> call the correct soi structure(pd vs dd vs fd).  this may just be my 
> ineptness as a programmer.

Can you tell me more, I am interested. I have set bsim3 to level 7 and the
same error remains. I do not understand why. I will put some debug code
into the model and see. I suspect that somewhere in the analysis or in the
device code the pointers get garbled.


> Couple of things to look at:
> 1. are you sure that in implementing the level 49 model that it is being 
> called when running the spice deck.

> 2. In setting the up the device and the inp2m.c file are you sure that you 
> are accessing the level 49 model or is it seeing the default?

I will do and let you know.

> Have you run any other spice decks?  What was the outcome?  Have you ran 
> this spice deck using the level 8 model, what happened?
It worked!

Paolo


Partial thread listing: