Discussion:
[geda-user] gnetlist question/wish
r***@public.gmane.org
2014-05-28 06:42:53 UTC
Permalink
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.

Regards,
Renaud
John Doty
2014-05-30 20:55:40 UTC
Permalink
Post by r***@public.gmane.org
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-***@public.gmane.org
r***@public.gmane.org
2014-06-02 06:16:26 UTC
Permalink
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" <jpd-***@public.gmane.org>
À: geda-user-***@public.gmane.org
Envoyé: Vendredi 30 Mai 2014 22:55:40
Objet: Re: [geda-user] gnetlist question/wish
Post by r***@public.gmane.org
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-***@public.gmane.org
Vladimir Zhbanov
2014-08-04 10:36:41 UTC
Permalink
Post by r***@public.gmane.org
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.
Attach the attribute 'device=none' to each of components you want to
omit in netlist and spice-sdb won't output them.

Loading...