-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong Derivative of Gate Charge in PSP Model #120
Comments
I did some investigations today.
|
Ok I now know where this comes from. There is a code structure that is repeated three times in the PSP code:
If this is replace at all occurences with the mathematically equivalent
the problem is gone. I will go into further detail tomorrow. |
Ok I leave it here, since above mentioned solution is a feasible workaround. Fundamentally the issue must be related My guess is that OpenVAF generates the derivative of as which causes numerical problems in contrast to the mathematically equivalent Just a guess. |
@gjcoram :
into
|
The IHP PDK showed that there is an erroneous calculation of the derivative of the gate charge against gate voltage for the PSP model.
IHP-GmbH/IHP-Open-PDK#64
An exemplary plot:
Exemplary ngspice netlist using IHP Open PDK
We must locate the erroneous derivative that causes the bug.
The text was updated successfully, but these errors were encountered: