delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2012/11/16/08:55:11

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=C3SvCFE7IoXJ2xvmTWOS66u1e88=; b=eSWYZ8OxzFKc
bFmmryPZ/PRohrGZktY55l1NyGM01ADY5JrPA2+Y8mTrGPl3/ScLz1yevfFDWzL7
K+CxQqMPJTUTPTwuj3BQPwtaeXXBPN323+Xk6UgCWtpQ6DUb4l3M9MMsY/iaboIJ
mDNiglzIxM/+xypbaxHkvjlsjwXHyzY=
Message-ID: <45926ff19bbc2a9811f6736d0f3f0bfe.squirrel@webmail.strucktower.com>
In-Reply-To: <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>
<7B637B2F-746C-4B35-9306-7C9D4AF133F5 AT noqsi DOT com>
Date: Fri, 16 Nov 2012 05:54:11 -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 qAGDsHTn016324
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

Hi John-

Thanks again.

I do get "codemodel: too few args." So I assume the problem is not due to 
how my version of ngspice is compiled.

Other ideas?

Keith


>
> 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