1 .TH gnetlist-legacy 1 "@DATE@" "gEDA Project" @VERSION@
3 gnetlist-legacy - gEDA/gaf Netlist Extraction and Generation
6 [\fIOPTION\fR ...] [\fB-g\fR \fIBACKEND\fR] [\fI--\fR] \fIFILE\fR ...
11 \fBgnetlist-legacy\fR is a netlist extraction and generation tool, and is
12 part of the gEDA (GPL Electronic Design Automation) toolset. It takes
13 one or 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-legacy\fR run is carried out in two steps. First, the
20 \fBgnetlist-legacy\fR frontend loads the specified human-readable schematic
21 \fIFILE\fRs, and compiles them to an in-memory netlist description.
22 Next, a `backend' is used to export the connection and component data
23 to one of many supported netlist formats.
25 \fBgnetlist-legacy\fR is extensible, using the Scheme programming language.
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
39 \fB-g\fR \fIBACKEND\fR
40 Specify the netlist backend to be used.
43 Pass an option string to the backend.
46 Print a list of available netlist backends.
49 Specify the filename for the generated netlist. By default, output is
50 directed to `output.net'.
51 If `-' is given instead of a filename, the output is directed to the
55 Specify a Scheme file to be loaded before the backend is loaded or
56 executed. This option can be specified multiple times.
59 Specify a Scheme file to be loaded between loading the backend and
60 executing it. This option can be specified multiple times.
63 Specify a Scheme expression to be executed during \fBgnetlist-legacy\fR
64 startup. This option can be specified multiple times.
67 After the schematic files have been loaded and compiled, and after all
68 Scheme files have been loaded, but before running the backend, enter a
69 Scheme read-eval-print loop.
71 \fB-h\fR, \fB--help\fR
74 \fB-V\fR, \fB--version\fR
75 Print \fBgnetlist-legacy\fR version information.
78 Treat all remaining arguments as schematic filenames. Use this if you
79 have a schematic filename which begins with `-'.
83 Currently, \fBgnetlist-legacy\fR includes the following backends:
87 Allegro netlist format.
90 Bartels Autoengineer netlist format.
93 Bill of materials generation.
99 RF Cascade netlist format
101 \fBdrc\fR, \fBdrc2\fR
102 Design rule checkers (\fBdrc2\fR is recommended).
105 Eagle netlist format.
108 Netlist format for National Instruments ULTIboard layout tool.
111 Futurenet2 netlist format.
114 Native gEDA netlist format (mainly used for testing and diagnostics).
117 Gossip netlist format.
120 Backend used for \fBpcb\fR(1) file layout generation by
121 \fBgsch2pcb\fR(1). It is not recommended to use this backend
125 LiquidPCB netlist format.
128 Netlister for analytical circuit solving using Mathematica.
131 MAXASCII netlist format.
134 Osmond netlist format.
139 \fBpartslist1\fR, \fBpartslist2\fR, \fBpartslist3\fR
140 Bill of materials generation backends (alternatives to \fBbom\fR and
144 \fBpcb\fR(1) netlist format.
147 Generates a \fBpcb\fR(1) action file for forward annotating pin/pad
148 names from schematic to layout.
151 Protel II netlist format.
154 RACAL-REDAC netlist format.
156 \fBspice\fR, \fBspice-sdb\fR
157 SPICE-compatible netlist format (\fBspice-sdb\fR is recommended).
158 Suitable for use with \fBgnucap\fR(1).
161 SWITCAP switched capacitor simulator netlist format.
164 Structural SystemC code generation.
167 Tango netlist format.
170 VHDL-AMS code generation.
173 Verilog code generation.
176 VHDL code generation.
179 ViPEC Network Analyser netlist format.
184 These examples assume that you have a `stack_1.sch' in the current directory.
186 \fBgnetlist-legacy\fR requires that at least one schematic to be specified on the
190 ./gnetlist-legacy stack_1.sch
194 This is not very useful since it does not direct \fBgnetlist-legacy\fR to do
197 Specify a backend name with `\-g' to get \fBgnetlist-legacy\fR to output a
201 ./gnetlist-legacy \-g geda stack_1.sch
205 The netlist output will be written to a file called `output.net'
206 in the current working directory.
209 You can specify the output filename by using the `\-o' option:
212 ./gnetlist-legacy \-g geda stack_1.sch \-o /tmp/stack.netlist
216 Output will now be directed to `/tmp/stack.netlist'.
219 You could run (for example) the `spice-sdb' backend against the
220 schematic if you specified `\-g spice-sdb', or you could generate a
221 bill of materials for the schematic using `\-g partslist1'.
224 To obtain a Scheme prompt to run Scheme expressions directly, you can
225 use the `\-i' option.
228 ./gnetlist-legacy \-i stack_1.sch
232 \fBgnetlist-legacy\fR will load `stack_1.sh', and then enter an interactive
233 Scheme read-eval-print loop.
238 specifies the search directory for Scheme and rc files. The default
239 is `${prefix}/share/gEDA'.
242 specifies the search directory for rc files. The default is `$GEDADATA'.
245 specifies the directory to which to write log files. The default is
249 See the `AUTHORS' file included with this program.
253 Copyright \(co 1999-@YEAR@ gEDA Contributors. License GPLv2+: GNU GPL
254 version 2 or later. Please see the `COPYING' file included with this
255 program for full details.
257 This is free software: you are free to change and redistribute it.
258 There is NO WARRANTY, to the extent permitted by law.
261 \fBgschem\fR(1), \fBgsymcheck\fR(1), \fBpcb\fR(1), \fBgnucap\fR(1)