Closed asomers closed 15 years ago
Works for me. Which ngspice simulator are you using? I'm using the ngspice 18 compiled with the following options:
--with-readline=yes --enable-xspice
Maybe the POLY code is in xspice.
I have one opamp that is marked as good, but fails: OPA846_TI00134
testlibrary.pyc running simulation: cd model_tests/ti/opamps/OPA846_TI00134 ; ngspice -b ../../../../testcircuits/opamp/simulate.ngspice Warning: singular matrix: check nodes x1.pnp8 and x1.pnp8 Warning: singular matrix: check nodes x1.pnp8 and x1.pnp8 Note: starting dynamic Gmin stepping
I will try recompling ngspice with those options. That must be it.
That did it. No more errors about POLY
great.
Several opamps, including OPA2652, are marked as model_status=good but fail to simulate on my machine. In my master branch, they give errors such as : Error on line 67 : g.x1.g10 in 0 POLY( 2 ) x1.22 0 x1.23 0 300n 1m 1m unknown parameter (x1.22) and fail to produce the output file.
In spicelib-0.0.3, OPA2652 does produce the output file, but it is clearly wrong; the output voltage is always 0.
Does OPA2652 simulate correctly on your machine or is it incorrectly marked in ti_opamps.index ?