I tried simulating an LMC6484 op amp in a simple test circuit (inverting input grounded, noninverting input either grounded or tied to VCC+), but the output shows zero volts for the noninverting input tied to VCC+.
Other op amps I’ve tried work ok for this test. Could someone please suggest what might be the problem?
I’m using several op amps and regulators in a complex circuit, and I’ve been first simulating each of the IC components individually to make sure that their SPICE models work.
Thanks!
You already confirmed other opamps are working. I downloaded your project and tried it. But indeed the output is zero volts. Looks like the simulation model is not correct.
Yes. Being new at ngspice, this is the second time I prefixed a character string with a number (due to typos in this case), will need to be careful with avoiding that in the future.
There is another important issue in ngspice (all spices):
1M is 1 milli (1e-3)
1Meg is 1 mega (1e6)
If you force the output of the opamp to GND with 1 milliOHm, the model will fail or the simulator will bail out.
EDIT: Not so in KiCad/Eeschema/ngspice. See below.
Yes, you are right, that 1M is interpreted as 1e6, and 1m as 1e-3. But this is done in Eeschema, not in ngspice, so has nothing to do with compatibility modes.