Mail Archives: geda-user/2013/08/01/01:16:48
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:date:message-id:subject:from:to:content-type;
|
| bh=87dXALuy9sPYC5pwNKCOyJIto36oQxESmRW+zrTdpZQ=;
|
| b=XU0fc9dwMMU1nOmF8/WlM4PJyfblIKQuFs2Xuk31pADp4JQobZ0xDvuIGqTbVobRQG
|
| HXZMc+JC7CmO/bbv6bZQnf/WkbFPYBJCsLZzK01oOqgMbGPqc0hn2DjddcDHG6MVAZC9
|
| 8L/sKDmt4k6yO7qhqJLc9jsNOfwrWy6PvXm/KkepgQN5q4Jiu1X0ldu5G/Qfrwr3WDDa
|
| hUYJSzB/jEIjYMqkFoe0+c5AzYgMy5C9NntZmQiWk0e/Hy+UJXaIavxJQ88qj0HHVqsi
|
| LK5IfIlFdaE/PskIRjodMlHGs2JHGyW05YDSRvtc+8pqq4/zp3OYJxWV+zP+nS51QCaj
|
| CwkQ==
|
MIME-Version: | 1.0
|
X-Received: | by 10.195.12.202 with SMTP id es10mr52913470wjd.17.1375334151498;
|
| Wed, 31 Jul 2013 22:15:51 -0700 (PDT)
|
Date: | Thu, 1 Aug 2013 01:15:51 -0400
|
Message-ID: | <CACPio-4wee8f7txMzikPJyRV3OLDt2bfwGCugWHWq8D-Ze1T8w@mail.gmail.com>
|
Subject: | [geda-user] spice/subcircuit/pin order
|
From: | Nathan Stewart <therealnathanstewart AT gmail DOT com>
|
To: | "geda-user AT delorie DOT com" <geda-user AT delorie DOT com>
|
Reply-To: | geda-user AT delorie DOT com
|
--047d7bb04b408c324204e2dbef5d
Content-Type: text/plain; charset=ISO-8859-1
I'm trying to use the following model in circuit:
http://www.onsemi.com/pub_link/Collateral/NDF02N60Z.SP3.TXT
I don't see any errors, the netlister hooks it up. The simulation runs, But
the pins are wrong, Gate is Drain, behaves as you'd expect it to given the
wiring. (except for the part about exploding or punching the gate
insulation :)
I've swapped the pins in the symbol. I've swapped them in the model. But
nothing appears to actually cause any behavior change.
One thing I do notice however, is in the netlist, it looks like:
132 : ux3 7 drive 0 ndf02n60z
It's refdes is X3, not UX3. All my other subcricuits with a refdes X look
like this:
95 : .subckt opamp_3v3 1 2 81
The subcircuits which work don't appear to require any DEVICE attribute,
but for some reason it gets treated incorrectly. With verbose turned on,
the netlister says:
Make second pass through design and write out a SPICE card for each
component found.
--- checking package = X3
device = SUBCIRCUIT
Found subcircuit. Refdes = X3
Found .MODEL with model-file and model-name for X3
Checking prefix. Package prefix =X
correct prefix =U
nomunge mode = #f
different-prefix=#t
We'll handle the file contents later . . .
Now oddly enough, the two identical(symbol, the models are copies of one
another and differ only by an internal Vcc) opamp subcircuits appear to
work but work differently.
Found subcircuit. Refdes = X1.2
Found .SUBCKT with model-file and model-name for X1.2
Checking prefix. Package prefix =X
correct prefix =X
nomunge mode = #f
different-prefix=#f
We'll handle the file contents later . . .
--- checking package = X2
device = unknown
Found subcircuit. Refdes = X2
Model info not found in model file list. No model attribute either. Just
write what we know.
Can anyone shed some light on the different handling of these three
subcircuits?
--047d7bb04b408c324204e2dbef5d
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div><div><div><div><div><div><div><div>I'm trying to =
use the following model in circuit:<br><a href=3D"http://www.onsemi.com/pub=
_link/Collateral/NDF02N60Z.SP3.TXT">http://www.onsemi.com/pub_link/Collater=
al/NDF02N60Z.SP3.TXT</a><br>
<br></div>I don't see any errors, the netlister hooks it up. The simula=
tion runs, But the pins are wrong, Gate is Drain, behaves as you'd expe=
ct it to given the wiring. (except for the part about exploding or punching=
the gate insulation :)<br>
<br></div>I've swapped the pins in the symbol. I've swapped them in=
the model. But nothing appears to actually cause any behavior change.<br><=
br></div>One thing I do notice however, is in the netlist, it looks like:<b=
r>
<br>=A0=A0 132 : ux3 7 drive 0 ndf02n60z<br><br></div>It's refdes is X3=
, not UX3. All my other subcricuits with a refdes X look like this:<br><br>=
=A095 : .subckt opamp_3v3 1 2 81<br><br></div>The subcircuits which work do=
n't appear to require any DEVICE attribute, but for some reason it gets=
treated incorrectly. With verbose turned on, the netlister says:<br>
<br>Make second pass through design and write out a SPICE card for each com=
ponent found.<br>--- checking package =3D X3<br>=A0=A0=A0 device =3D SUBCIR=
CUIT<br>Found subcircuit.=A0 Refdes =3D X3<br>Found .MODEL with model-file =
and model-name for X3<br>
Checking prefix.=A0 Package prefix =3DX<br>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0 correct prefix =3DU<br>=A0=A0 nomunge mode =3D #f<br>=
=A0 different-prefix=3D#t<br>We'll handle the file contents later . . .=
<br><br><br></div>Now oddly enough, the two identical(symbol, the models ar=
e copies of one another and differ only by an internal Vcc)=A0 opamp subcir=
cuits appear to work but work differently. <br>
</div><br>Found subcircuit.=A0 Refdes =3D X1.2<br>Found .SUBCKT with model-=
file and model-name for X1.2<br>Checking prefix.=A0 Package prefix =3DX<br>=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 correct prefix =3DX<br>=
=A0=A0 nomunge mode =3D #f<br>=A0 different-prefix=3D#f<br>
We'll handle the file contents later . . .<br><br>--- checking package =
=3D X2<br>=A0=A0=A0 device =3D unknown<br>Found subcircuit.=A0 Refdes =3D X=
2<br>Model info not found in model file list.=A0 No model attribute either.=
=A0 Just write what we know.<br>
<br><br></div>Can anyone shed some light on the different handling of these=
three subcircuits? <br><div><br><div><div><div><br></div></div></div></div=
></div>
--047d7bb04b408c324204e2dbef5d--
- Raw text -