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

X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f
X-Recipient: geda-help AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=strucktower.com; h=
message-id:in-reply-to:references:date:subject:from:to
:mime-version:content-type:content-transfer-encoding; s=
strucktower.com; bh=2AeEIxrJms0HIRWQdTJQQzU0gjM=; b=Onk+6gPVEi17
9C8YCXLuw+dull6RXlcn9hrtXyhSXMrlNWUjMk16hsVrWeLLu4Oyv2iz/bZf9i8o
uoO/8bMlzBnixSyBc1tPc5IeSLgqlqzuxSO5wesnNHHLPASjfL2vzq7j4NqNEbHX
RS2rhLPFnRwzj60HzZRvZ++U50HbKcg=
Message-ID: <d783c25f888c7adc972f44e67a0fe095.squirrel@webmail.strucktower.com>
In-Reply-To: <06685A55-7062-4617-BD75-6307E2783051@noqsi.com>
References:
<6a702c285f54d92e940b0351d8eb9453 DOT squirrel AT webmail DOT strucktower DOT com>
<06685A55-7062-4617-BD75-6307E2783051 AT noqsi DOT com>
Date: Thu, 15 Nov 2012 19:12:30 -0800
Subject: Re: [geda-help] New user help with gEDA- gschem, ngspice, and
opamps
From: keitho AT strucktower DOT com
To: geda-help AT delorie DOT com
User-Agent: SquirrelMail/1.4.21
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id qAG3CZBU007422
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 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.

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. Since I
got this from the Debian repository I don't know if that was done or not.

Ideas?

Thanks so much,
Keith



- Raw text -


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