Re: [ng-spice-devel] Device bug in spice rework 5_2
At 08:56 AM 1/25/2000 +0100, you wrote:
> > 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.
Well, in implementing the bsimsoi model, I thought I could just put all
three version in the executable. But although I was able to get it to
compile, the sample spice decks did not run correctly. Evidently because
all the version used most to the same code(i.e. equations) that the
simulator was not distinguishing among the variations. In looking at the
model more closely, one would have to differentiate all three bsimsoi from
one another so that the correct initialization is done and so that the
correct equations are called during simulation. How would one do this I
asked? Not quite sure. So that's why I only implemented the dd bsimsoi
model in MacSpice.
>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.
I would think so, this was happening to me also. You may want to check you
link order also. Because spice is statically linked, the order has made a
difference in device setup in previous versions of MacSpice.
> > Have you run any other spice decks?
did you run a different spice deck against the level 49 model?
-anthony.
Partial thread listing: