-
Notifications
You must be signed in to change notification settings - Fork 26
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
BSIM-CMG v107 fails to simulate correctly #96
Comments
which OpenVAF version did you use? |
I compiled from the OpenVAF-v23.5.0 tag, although the problem appears to show on a more recent master build as well |
There were quite significant changes on master. Does the problem still reproduce with the latest master build? These kind of issues can be very hard to debug. If a simulation converges its very unusual for results to just be wrong. Usually compiler bugs lead to convergence issues instead. The most likely explanation would be some backwards incompatible changes in BSIM paramter names. How did you test with xyce exactly? Sometimes they patch the official Verilog-A files |
Yes, it does
Using this netlist: inverter_cmg_xyce.cir.txt If you change |
The problem is not caused by openVAF. Note: No compatibility mode selected! Circuit: ** test circuit Warning: Model issue on line 4 : Warning: Model issue on line 58 : Doing analysis at TEMP = 27.000000 and TNOM = 27.000000 Warning: Interpolated raw file data! Initial Transient SolutionNode Voltage q 1.66259e-06 Reference value : 2.88060e-07 |
Thanks Dietmar! In that case, I will close this issue |
Ah-ha. Thank you for the help! Sorry for the noise here. |
BSIM-CMG v107 (http://bsim.berkeley.edu/BSIMCMG/BSIMCMG107.0.0_20130712.tar.gz) successfully compiles with OpenVAF, but it fails to simulate properly:
The output averages about 1.7 μV , which is several orders of magnitude off from what, e.g., Xyce simulates for BSIM-CMG v107.
The same circuit simulated with BSIMCMG v110 (http://bsim.berkeley.edu/BSIMCMG/BSIMCMG110.0.0_20160101.tar.gz) appears to work (and also matches Xyce very closely):
netlist: inverter_cmg_ngspice.cir.txt
The text was updated successfully, but these errors were encountered: