Mail Archives: geda-help/2012/11/15/22:41:16
On Nov 15, 2012, at 8:12 PM, keitho AT strucktower DOT com wrote:
>>
>> On Nov 15, 2012, at 2:29 PM, keitho AT strucktower DOT com wrote:
>>
>>> I see that gnetlist has designated my opamp with a "U" instead of an
>>> "X",
>>> not sure what that suggests.
>>
>> That's why it doesn't work. You need to start the refdes of a device
>> modeled by a subcircuit with "X".
>>
>
> Hi John-
>
> Thanks for responding.
>
> I went back into gschem and edited the refdes to now read "X8" instead of
> "U8".
>
> But now I get this error:
>
> ********
> Circuit: * gnetlist -g spice-sdb --nomunge -i -o test1.net test1.sch
>
> Original line no.: 0, new internal line no.: 114:
> Undefined number [B__1]
> Original line no.: 0, new internal line no.: 114:
> Expression err: b__1)
> Original line no.: 0, new internal line no.: 114:
> Cannot compute substitute
> Original line no.: 0, new internal line no.: 115:
> Undefined number [B__1]
> Original line no.: 0, new internal line no.: 115:
> Expression err: b__1)
> Original line no.: 0, new internal line no.: 115:
> Cannot compute substitute
> Copies=124 Evals=75 Placeholders=4 Symbols=5 Errors=6
> Numparam expansion errors: Run Spice anyway? y/n ?
> n
>
> ERROR: fatal error in ngspice, exit(1)
> keith AT t520:~/gaf$
>
> *****
>
> Is this due to an error in the subckt? Or something about the way I have
> configured it?
>
> I wonder- there is one line in the TI datasheet which I wasn't sure how to
> interpret. It looks like a line which was wrapped around but not
> designated as a continuation.
>
> Here's the subckt from the datasheet:
>
> http://www.strucktower.com/tlv274in_Page16.jpg
>
> I've marked what I interpret as one line in my tlv27x.inc.
I believe you are correct.
>
> The only other thing I can think of is... someone (and the manual)
> mentioned I would need to have the "--enable-xspice" function compiled in
> order to use these older models which use the "poly" statement.
That is true.
> Since I
> got this from the Debian repository I don't know if that was done or not.
You can tell by typing "codemodel" at the interactive ngspice prompt. This is an XSPICE command. If XSPICE is enabled, you get "codemodel: too few args.", but if not you get "codemodel: no such command available in ngspice".
John Doty Noqsi Aerospace, Ltd.
http://www.noqsi.com/
jpd AT noqsi DOT com
- Raw text -