-
Notifications
You must be signed in to change notification settings - Fork 2
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
Diode breakdown voltages are in the models, but misspelled? #19
Comments
Ah, well that explains it. If you want the quick & dirty, I can go through and do a PR. |
Ah, screw it, I did the right thing instead. Or tried to. I now have added breakdown voltage synonym support to ngspice and made a PR: https://sourceforge.net/p/ngspice/ngspice/merge-requests/17/ The change was minor, basically 3 lines: Logging into sourceforge after all this time was the most exciting part. |
@psychogenic: PR #20 fixes the issue within the PDK itself, so that can take effect immediately while waiting for your pull request to be merged into the next ngspice distribution. Thanks again for investigating the issue! |
Meanwhile parameter aliases VB, VAR, and VRB are implemented in pre-master-43. Would be helpful to get response after checking with sky-water-libs. |
I have noticed something odd in the sky130 models I'm using (version cd1748bb197f9b7af62a54507de6624e30363943): there are what I believe are breakdown voltages for diodes in many spice models, but they seem to be misnamed 'vb' rather than 'bv':
If I change this to 'bv' as ngspice wants, which also matches the ibv data present, then I get successful simulated breakdowns, as attached.
This is true of both sky130_fd_pr__diode* type things and *__parasitic__diode type things
The text was updated successfully, but these errors were encountered: