ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2012/11/15/22:41:16

X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f
X-Recipient: geda-help AT delorie DOT com
Mime-Version: 1.0 (Apple Message framework v1085)
Subject: Re: [geda-help] New user help with gEDA- gschem, ngspice, and opamps
From: John Doty <jpd AT noqsi DOT com>
In-Reply-To: <d783c25f888c7adc972f44e67a0fe095.squirrel@webmail.strucktower.com>
Date: Thu, 15 Nov 2012 20:40:39 -0700
Message-Id: <7B637B2F-746C-4B35-9306-7C9D4AF133F5@noqsi.com>
References: <6a702c285f54d92e940b0351d8eb9453 DOT squirrel AT webmail DOT strucktower DOT com> <06685A55-7062-4617-BD75-6307E2783051 AT noqsi DOT com> <d783c25f888c7adc972f44e67a0fe095 DOT squirrel AT webmail DOT strucktower DOT com>
To: geda-help AT delorie DOT com
X-Mailer: Apple Mail (2.1085)
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id qAG3ekuh008897
Reply-To: geda-help AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-help AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019