X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-TCPREMOTEIP: 207.224.51.38 X-Authenticated-UID: jpd AT noqsi DOT com Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) Subject: Re: [geda-user] gnetlist question/wish From: John Doty In-Reply-To: <1619200367.15621776.1401259373425.JavaMail.root@zimbra71-e12.priv.proxad.net> Date: Fri, 30 May 2014 14:55:40 -0600 Message-Id: <5CC484EB-9EEA-4C4C-9F1D-FA0DB5D6E4CD@noqsi.com> References: <1619200367 DOT 15621776 DOT 1401259373425 DOT JavaMail DOT root AT zimbra71-e12 DOT priv DOT proxad DOT net> To: geda-user AT delorie DOT com X-Mailer: Apple Mail (2.1878.2) Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s4UKtrIW022669 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 Precedence: bulk On May 28, 2014, at 12:42 AM, renaud DOT gaglione AT free DOT fr wrote: > Dear all, > > In order to pruduce netlist usable with ngspice, I use gnetlist with "-g spice-sdb" option. > But sometimes, I want some device to be present and connected in the schematic (testpoint, connector), but omited by the netlister in case of simulation netlist (but not in case of e.g. PCB manufacturing). > > Is there any attribute, in gschem, which would inform the netlister to not include itself in the netlist ? > > The reason is that I like have the same schematic for simulation and for manufacturing, and the software I use at work allow this behavior. My netlist back end at https://github.com/noqsi/gnet-spice-noqsi can do this. It uses a spice-prototype attribute to control SPICE netlisting. An attribute like: spice-prototype=* ? omitted for simulation will emit a SPICE comment in place of the component “card”. It can do a variety of things to make manufacturing schematics usable in SPICE. You can make explicit connections by pinnumber rather than in pinseq order. You can turn hierarchical subcircuits drawn for manufacturing into SPICE subcircuits, and bind pins by pinlabel. It can control prefixing, so you may, for example, use a refdes “L1” for an inductor modeled by a subcircuit, and have “XL1” as its designation for SPICE. John Doty Noqsi Aerospace, Ltd. http://www.noqsi.com/ jpd AT noqsi DOT com