1 .TH gnetlist 1 "@DATE@" "gEDA Project" @VERSION@
3 gnetlist - gEDA/gaf Netlist Extraction and Generation
6 [\fIOPTION\fR...] [\fB-p\fR \fIBACKEND\fR|\fB-g\fR \fIBACKEND\fR] [--] \fIFILE\fR...
11 \fBgnetlist\fR is a netlist extraction and generation tool and is part
12 of the gEDA (GPL Electronic Design Automation) toolset. It takes one
13 or multiple electronic schematics as input and outputs a netlist. A
14 netlist is a machine-interpretable description of the way that
15 components in an electronic circuit are connected together and is
16 commonly used as the input to a PCB layout program such as
17 \fBpcb\fR(1) or to a simulator such as \fBgnucap\fR(1).
19 A normal \fBgnetlist\fR run is carried out in two steps. First, the
20 \fBgnetlist\fR frontend loads the specified human-readable schematic
21 \fIFILE\fRs and compiles them to an in-memory netlist description.
22 Then, a \fIBACKEND\fR is used to export the connection and component
23 data to one of many supported netlist formats.
25 \fBgnetlist\fR is extensible in Python and Scheme.
30 Quiet mode. Turns off all warnings/notes/messages.
32 \fB-v\fR, \fB--verbose\fR
33 Verbose mode. Output all diagnostic information.
35 \fB-L\fR \fIDIRECTORY\fR
36 Prepend \fIDIRECTORY\fR to the list of directories to be searched for
37 Python backends, Scheme backends, and other Scheme files.
39 \fB-p\fR \fIBACKEND\fR
40 Specify the Python netlist backend to be used.
42 \fB-g\fR \fIBACKEND\fR
43 Specify the Scheme netlist backend to be used.
46 Pass an option string to the backend.
49 Print a list of available netlist backends. A backend name is
50 prefixed with the letters `P' and `G' in brackets if it is available
51 as a Python and as a Scheme backend, respectively.
54 Specify the filename for the generated netlist. By default, output is
55 directed to `output.net'.
56 If `-' is given instead of a filename, the output is directed to the
60 Specify a Scheme file to be loaded before the backend is loaded or
61 executed. This option can be specified multiple times.
64 Specify a Scheme file to be loaded between loading the backend and
65 executing it. This option can be specified multiple times.
68 Specify a Scheme expression to be executed during \fBgnetlist\fR
69 startup. This option can be specified multiple times.
72 After the schematic files have been loaded and the netlist generated,
73 enter an interactive Python interpreter. The netlist structure is
74 available as `netlist' in the local dictionary.
77 Report warnings and errors in a GUI dialog.
79 \fB-h\fR, \fB--help\fR
82 \fB-V\fR, \fB--version\fR
83 Print \fBgnetlist\fR version information.
86 Treat all remaining arguments as schematic filenames. Use this if you
87 have a schematic filename which begins with `-'.
91 Currently, \fBgnetlist\fR includes the following backends:
95 Allegro netlist format.
98 Bartels Autoengineer netlist format.
100 \fBbom\fR, \fBbom2\fR
101 Bill of materials generation.
104 Calay netlist format.
107 RF Cascade netlist format.
109 \fBdrc\fR, \fBdrc2\fR
110 Design rule checkers (\fBdrc2\fR is recommended).
112 \fBdumpindent\fR, \fBdumpjson\fR, \fBdumplihata\fR, \fBdumptext\fR, \fBdumpxml\fR
113 Dump the netlist in various generic formats.
116 Eagle netlist format.
119 Netlist format for National Instruments ULTIboard layout tool.
122 Futurenet2 netlist format.
125 Internal gEDA netlist format (used for testing and diagnostics).
128 Gossip netlist format.
131 Backend used for \fBpcb\fR(1) file layout generation by
132 \fBgsch2pcb\fR(1). It is not recommended to use this backend
136 Compatibility layer for old backends written in Scheme.
139 LiquidPCB netlist format.
142 Auto-generate dependencies for Makefiles.
145 Netlister for analytical circuit solving using Mathematica.
148 MAXASCII netlist format.
151 Osmond netlist format.
156 \fBpartslist1\fR, \fBpartslist2\fR, \fBpartslist3\fR
157 Bill of materials generation backends (alternatives to \fBbom\fR and
161 \fBpcb\fR(1) netlist format.
164 Internally used by \fBpcb\fR(1)'s "Import Schematics" mechanism.
167 Generates a \fBpcb\fR(1) action file for forward annotating pin/pad
168 names from schematic to layout.
171 Protel II netlist format.
174 RACAL-REDAC netlist format.
176 \fBspice\fR, \fBspice-sdb\fR, \fBspice-noqsi\fR
177 SPICE-compatible netlist format (\fBspice-sdb\fR and \fBspice-noqsi\fR
179 Suitable for use with \fBgnucap\fR(1).
182 SWITCAP switched capacitor simulator netlist format.
185 Structural SystemC code generation.
188 Tango netlist format.
191 tEDAx netlist format (used by \fBpcb-rnd\fR(1)).
194 VHDL-AMS code generation.
197 Verilog code generation.
200 VHDL code generation.
203 ViPEC Network Analyser netlist format.
208 These examples assume that you have a schematic file `stack_1.sch' in
209 the current directory.
211 \fBgnetlist\fR requires that at least one schematic and either a
212 Python backend, a Scheme backend, or interactive mode are specified on
213 the command line. If a backend name is specified with `\-p
214 \fIBACKEND\fR' (for a Python backend) or `\-g \fIBACKEND\fR' (for a
215 Scheme backend), \fBgnetlist\fR will output a netlist:
218 gnetlist \-p dumptext stack_1.sch
222 The netlist output will be written to a file called `output.net'
223 in the current working directory.
226 You can specify the output filename by using the `\-o' option:
229 gnetlist \-p dumptext \-o /tmp/stack.netlist stack_1.sch
233 Output will now be directed to `/tmp/stack.netlist'.
236 You could run (for example) the `spice-sdb' backend against the
237 schematic if you specified `\-p spice-sdb', or you could generate a
238 bill of materials for the schematic using `\-p partslist1'.
241 To obtain a Python prompt to run Python commands directly, you can
242 use the `\-i' option.
245 gnetlist \-i stack_1.sch
249 \fBgnetlist\fR will load `stack_1.sh' and then enter an interactive
250 Python interpreter. The netlist structure is available as `netlist'
251 in the local dictionary.
256 specifies the search directory for Scheme and rc files. The default
257 is `${prefix}/share/gEDA'.
260 specifies the search directory for rc files. The default is `$GEDADATA'.
263 See the `AUTHORS' file included with this program.
267 Copyright \(co 1999-@YEAR@ gEDA Contributors. License GPLv2+: GNU GPL
268 version 2 or later. Please see the `COPYING' file included with this
269 program for full details.
271 This is free software: you are free to change and redistribute it.
272 There is NO WARRANTY, to the extent permitted by law.
275 \fBgschem\fR(1), \fBgsymcheck\fR(1), \fBpcb\fR(1), \fBpcb-rnd\fR(1), \fBgnucap\fR(1)