OT: gEDA, SPICE, electronic cad/simulation
Tom Russo
russo at bogodyn.org
Sun Oct 28 17:40:22 UTC 2012
On Sun, Oct 28, 2012 at 11:27:25AM -0600, we recorded a bogon-computron collision of the <russo at bogodyn.org> flavor, containing:
>
> 3) SPICE (and ng-spice) always uses the first character of a device line to
> determine the type of the device. While most designers will draw a
> circuit with an IC in it and give the IC a name like "U1", the character
> "u" in the first position on a device line means "lossy transmission line"
> in spice, not "IC." Thus, in your netlist you're simply telling the
> simulator to create a lossy transmission line using nodes "0", "4", "3"
> and "+9v" as its four ports, and it's getting confused by all the extra
> parameters on the line.
My mistake. "U" is the Uniform Lossy RC line, not the lossy transmission line.
The URC device takes 3 nodes and a model name, and so it's used 0, 4, and 3
as the nodes, and then gotten confused about the unknown model named
"+9v". It then gets confused about the remaining parameters on the line.
Point remains the same, you can't specify an IC named "U1" in a spice
netlist by calling the device U1. You need to use an X subcircuit
instantiation line and an associated .subckt subcircuit definition.
--
Tom Russo KM5VY SAR502 DM64ux http://www.swcp.com/~russo/
Tijeras, NM QRPL#1592 K2#398 SOC#236 http://kevan.org/brain.cgi?DDTNM
"And, isn't sanity really just a one-trick pony anyway? I mean all you get is
one trick, rational thinking, but when you're good and crazy, oooh, oooh,
oooh, the sky is the limit!" --- The Tick
More information about the freebsd-questions
mailing list