www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2013/02/13/23:00:25

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:x-received:in-reply-to:references:date:message-id
:subject:from:to:content-type;
bh=gxxM3sMyz3t+alB+PSG1jl3Jb5bjLvV3/+mRNAGUSHo=;
b=qYE+v1LVZin+CVjGE7RqQ/nicbvGQ+kUpXQnU1Dx43DvY286w50fgiKnf2Mx9vV26d
miC6l/+drrKAOo28U20Nck2SgBJTCAI6uZG5JXbbxHEV/5fhzfDE5oDry6NM179bI8Gb
gWmnBKluec6xav6jvSqItMgRN3Gv1aMM8WjtLAERCVHt0+I/zSCTho+ZKBqnvGSXkS/y
nfTyEQE/wT5d9PvZsr4hl4R80QktfqJe2xswzSV8npavqA8zfxh5xX7LMX6bVWw+Fbty
e7KVmTCL0P/U7mOH0adoLJBYfjJSnQ0xGGPkpWKb3sv0pTqrSGiU+vDDbHxpc+kFUA84
0N8Q==
MIME-Version: 1.0
X-Received: by 10.49.127.199 with SMTP id ni7mr10662334qeb.17.1360814381708;
Wed, 13 Feb 2013 19:59:41 -0800 (PST)
In-Reply-To: <A0C875B9-83D2-4367-9067-A1DDC1D56632@noqsi.com>
References: <CAB3Sx6eJgJTUzRuxU=xt3X2cp0yufh9bkNyLiv+AKUds3dpdCQ AT mail DOT gmail DOT com>
<A0C875B9-83D2-4367-9067-A1DDC1D56632 AT noqsi DOT com>
Date: Wed, 13 Feb 2013 19:59:41 -0800
Message-ID: <CAB3Sx6e-5SMrguZ1Tygw9PqsFHiroYjN8aeHW1NUu4eCKzF8-A@mail.gmail.com>
Subject: Re: [geda-user] gnetlist extractor
From: "bsalinux AT gmail DOT com" <bsalinux AT gmail DOT com>
To: geda-user AT delorie DOT com
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

--047d7b6dcbd6d3b52304d5a749a6
Content-Type: text/plain; charset=ISO-8859-1

Thanks John,

Would that mean I should be using 4 terminal MOSFETS and join the source to
substrate?
I'll try that with spice-sdb extractor.


On GNUCAP list I was suggested to use a plugin for gnucap for gEDA.

I just wanted to fixate my workflow so that I know what to do. I'm just
getting my feet wet on gnucap and ngspice.

Thanks for your suggestions.



On Wed, Feb 13, 2013 at 3:39 PM, John Doty <jpd AT noqsi DOT com> wrote:

>
> On Feb 12, 2013, at 10:31 PM, bsalinux AT gmail DOT com wrote:
>
> > Hello,
> >
> > Is gnetlist extractor part of gEDA?
>
> Yes. There are two gnetlist back ends for SPICE that are part of gEDA:
> "spice" and "spice-sdb". There is some pretty good documentation on
> spice-sdb at http://www.brorson.com/gEDA/SPICE/intro.html.
>
> I have an experimental SPICE back end under development at
> https://github.com/noqsi/gnet-spice-noqsi.
>
> > Are there any other extractors available?
>
> Not that I know of.
>
> >
> > I tried to do a gnucap simulation involving BS170 MOSFET and the
> > extractor did not extract / interpret four contacts for the MOSFET as
> > expected by GNUCAP.
> >
> > What was extracted was:
> >
> > M1  4 1 0 bs170
> >
> > instead of (substrate connected to source)
> >
> > M1  4 1 0 0 bs170
>
> The "spice" and "spice-sdb" back ends assume that the SPICE device has the
> same number of connections as the symbol, so if you use a three terminal
> symbol, you'll get the result you're seeing. One way to get around this is
> to have the model-name attribute refer to a three terminal subcircuit in
> which the four terminal primitive device is embedded. Be sure to use a
> refdes starting with "X" in this case. Or you can use a four terminal
> symbol.
>
> My spice-noqsi back end is more flexible, with a spice-prototype attribute
> that you can attach to a symbol to give the netlister more detailed
> instructions. For the nmos-3 symbol, you could use use "spice-prototype=M?
> #D #G #S #S bs170".
>
> John Doty              Noqsi Aerospace, Ltd.
> http://www.noqsi.com/
> jpd AT noqsi DOT com
>
>
>
>

--047d7b6dcbd6d3b52304d5a749a6
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div>Thanks John,<br><br></div><div>Would that m=
ean I should be using 4 terminal MOSFETS and join the source to substrate?<=
br></div><div>I&#39;ll try that with spice-sdb extractor.<br><br><br></div>
On GNUCAP list I was suggested to use a plugin for gnucap for gEDA.<br><br>=
</div>I just wanted to fixate my workflow so that I know what to do. I&#39;=
m just getting my feet wet on gnucap and ngspice.<br><br></div>Thanks for y=
our suggestions.<br>
<br></div><div class=3D"gmail_extra"><br><br><div class=3D"gmail_quote">On =
Wed, Feb 13, 2013 at 3:39 PM, John Doty <span dir=3D"ltr">&lt;<a href=3D"ma=
ilto:jpd AT noqsi DOT com" target=3D"_blank">jpd AT noqsi DOT com</a>&gt;</span> wrote:<b=
r><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:=
1px #ccc solid;padding-left:1ex">
<div class=3D"im"><br>
On Feb 12, 2013, at 10:31 PM, <a href=3D"mailto:bsalinux AT gmail DOT com">bsalinu=
x AT gmail DOT com</a> wrote:<br>
<br>
&gt; Hello,<br>
&gt;<br>
&gt; Is gnetlist extractor part of gEDA?<br>
<br>
</div>Yes. There are two gnetlist back ends for SPICE that are part of gEDA=
: &quot;spice&quot; and &quot;spice-sdb&quot;. There is some pretty good do=
cumentation on spice-sdb at <a href=3D"http://www.brorson.com/gEDA/SPICE/in=
tro.html" target=3D"_blank">http://www.brorson.com/gEDA/SPICE/intro.html</a=
>.<br>

<br>
I have an experimental SPICE back end under development at <a href=3D"https=
://github.com/noqsi/gnet-spice-noqsi" target=3D"_blank">https://github.com/=
noqsi/gnet-spice-noqsi</a>.<br>
<div class=3D"im"><br>
&gt; Are there any other extractors available?<br>
<br>
</div>Not that I know of.<br>
<div class=3D"im"><br>
&gt;<br>
&gt; I tried to do a gnucap simulation involving BS170 MOSFET and the<br>
&gt; extractor did not extract / interpret four contacts for the MOSFET as<=
br>
&gt; expected by GNUCAP.<br>
&gt;<br>
&gt; What was extracted was:<br>
&gt;<br>
&gt; M1 =A04 1 0 bs170<br>
&gt;<br>
&gt; instead of (substrate connected to source)<br>
&gt;<br>
&gt; M1 =A04 1 0 0 bs170<br>
<br>
</div>The &quot;spice&quot; and &quot;spice-sdb&quot; back ends assume that=
 the SPICE device has the same number of connections as the symbol, so if y=
ou use a three terminal symbol, you&#39;ll get the result you&#39;re seeing=
. One way to get around this is to have the model-name attribute refer to a=
 three terminal subcircuit in which the four terminal primitive device is e=
mbedded. Be sure to use a refdes starting with &quot;X&quot; in this case. =
Or you can use a four terminal symbol.<br>

<br>
My spice-noqsi back end is more flexible, with a spice-prototype attribute =
that you can attach to a symbol to give the netlister more detailed instruc=
tions. For the nmos-3 symbol, you could use use &quot;spice-prototype=3DM? =
#D #G #S #S bs170&quot;.<br>

<br>
John Doty =A0 =A0 =A0 =A0 =A0 =A0 =A0Noqsi Aerospace, Ltd.<br>
<a href=3D"http://www.noqsi.com/" target=3D"_blank">http://www.noqsi.com/</=
a><br>
<a href=3D"mailto:jpd AT noqsi DOT com">jpd AT noqsi DOT com</a><br>
<br>
<br>
<br>
</blockquote></div><br></div>

--047d7b6dcbd6d3b52304d5a749a6--

- Raw text -


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