X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Date: Mon, 2 Jun 2014 08:16:26 +0200 (CEST) From: renaud DOT gaglione AT free DOT fr To: geda-user AT delorie DOT com Message-ID: <54739838.29404099.1401689786394.JavaMail.root@zimbra71-e12.priv.proxad.net> In-Reply-To: <5CC484EB-9EEA-4C4C-9F1D-FA0DB5D6E4CD@noqsi.com> Subject: Re: [geda-user] gnetlist question/wish MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Originating-IP: [86.209.182.34] X-Mailer: Zimbra 7.2.0-GA2598 (ZimbraWebClient - FF3.0 (Linux)/7.2.0-GA2598) X-Authenticated-User: renaud DOT gaglione AT free DOT fr Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s526GXa1010941 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 Dear John, Thanks, this is exactly what I need ! I strongly suggest that your improvements became an integral part of the "regular" gnetlist ! Regards, Renaud ----- Mail original ----- De: "John Doty" À: geda-user AT delorie DOT com Envoyé: Vendredi 30 Mai 2014 22:55:40 Objet: Re: [geda-user] gnetlist question/wish 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