gnetlist-legacy(1)
โจ NAME โจ
gnetlist-legacy โ gEDA/gaf Netlist Extraction and Generation, and honestly? It's giving main character energy ๐
๐ธ SYNOPSIS ๐ธ
gnetlist-legacy [OPTION ...] [-g BACKEND] [--] FILE ...
๐ฆ DESCRIPTION ๐ฆ
Okay so bestie, gnetlist-legacy is this netlist extraction and generation tool, and it's literally part of the gEDA (GPL Electronic Design Automation) toolset. The way it works is: you feed it one or more electronic schematics as input, and it outputs a netlist. And a netlist is just a machine-interpretable description of how the components in an electronic circuit are connected together โ it's commonly used as the input to a PCB layout program like pcb(1) or to a simulator like gnucap(1). Iconic, right? ๐ฅ
A normal gnetlist-legacy run happens in two steps, no cap. First, the gnetlist-legacy frontend loads the specified human-readable schematic FILEs, and compiles them to an in-memory netlist description. Then, a backend is used to export the connection and component data to one of many supported netlist formats. Slay โจ
And the best part? gnetlist-legacy is extensible, using the Scheme programming language. Obsessed ๐
๐ GENERAL OPTIONS ๐
-qโ Quiet mode. Turns off all warnings/notes/messages. Like, shush mode ๐คซ-v,--verboseโ Verbose mode. Output all diagnostic information. The way it just tells you *everything*โฆ we love a transparent king ๐-L DIRECTORYโ Prepend DIRECTORY to the list of directories to be searched for Scheme files. Lowkey essential for finding your stuff ๐-g BACKENDโ Specify the netlist backend to be used. This is the moment of truth, bestie ๐ฏ-O STRINGโ Pass an option string to the backend. Giving the backend a little extra flavor โจ--list-backendsโ Print a list of available netlist backends. Vibe check on what's available ๐-o FILEโ Specify the filename for the generated netlist. By default, output is directed tooutput.net. If-is given instead of a filename, the output is directed to the standard output. So you can flex your netlist right in the terminal ๐-l FILEโ Specify a Scheme file to be loaded before the backend is loaded or executed. This option can be specified multiple times. Stack 'em up! ๐ฅ-m FILEโ Specify a Scheme file to be loaded between loading the backend and executing it. This option can be specified multiple times. Timing is everything, periodt โฐ-c EXPRโ Specify a Scheme expression to be executed during gnetlist-legacy startup. This option can be specified multiple times. Let it cook ๐ฅ-iโ After the schematic files have been loaded and compiled, and after all Scheme files have been loaded, but before running the backend, enter a Scheme read-eval-print loop. Interactive era ๐ฌ-h,--helpโ Print a help message. When in doubt, ask for help ๐ซถ-V,--versionโ Print gnetlist-legacy version information. Know your roots ๐ฑ--โ Treat all remaining arguments as schematic filenames. Use this if you have a schematic filename which begins with-. So that little dash doesn't get confused for an option, iykyk ๐
๐ BACKENDS ๐
Currently, gnetlist-legacy includes the following backends. Let's go through the whole roster bestie, no skipping ๐
allegroโ Allegro netlist format. Slay ๐baeโ Bartels Autoengineer netlist format. Serving looks โจbom,bom2โ Bill of materials generation. The way it just lists your componentsโฆ iconic ๐งพcalayโ Calay netlist format. We see you ๐cascadeโ RF Cascade netlist format. Her vibe is unmatched ๐drc,drc2โ Design rule checkers (drc2is recommended). Trust the recommendation, bestie โeagleโ Eagle netlist format. Soaring ๐ฆewnetโ Netlist format for National Instruments ULTIboard layout tool. International queen ๐futurenet2โ Futurenet2 netlist format. From the future, literally ๐ฎgedaโ Native gEDA netlist format (mainly used for testing and diagnostics). The home team ๐gossipโ Gossip netlist format. Spill the tea โgsch2pcbโ Backend used forpcb(1)file layout generation bygsch2pcb(1). It is not recommended to use this backend directly. Ngl, just don't, bestie. Trust ๐ซliquidpcbโ LiquidPCB netlist format. Fluid and fierce ๐งmathematicaโ Netlister for analytical circuit solving using Mathematica. Big brain energy ๐งmaxasciiโ MAXASCII netlist format. Maximum ASCII, maximum slay ๐ฅosmondโ Osmond netlist format. Gorgeous name, gorgeous output ๐padsโ PADS netlist format. Soft but powerful ๐พpartslist1,partslist2,partslist3โ Bill of materials generation backends (alternatives tobomandbom2). The alternates ate, fr fr ๐PCBโpcb(1)netlist format. The classic, the blueprint ๐pcbpinsโ Generates apcb(1)action file for forward annotating pin/pad names from schematic to layout. Annotation era โ๏ธprotelIIโ Protel II netlist format. Retro but relevant ๐redacโ RACAL-REDAC netlist format. Serving RACAL energy ๐spice,spice-sdbโ SPICE-compatible netlist format (spice-sdbis recommended). Suitable for use withgnucap(1). Spice girls assemble ๐ถ๏ธswitcapโ SWITCAP switched capacitor simulator netlist format. Switched on โกsystemcโ Structural SystemC code generation. SystemC but make it structural ๐งฌtangoโ Tango netlist format. Dance like nobody's watching ๐vamsโ VHDL-AMS code generation. Analog and mixed-signal realness ๐๏ธverilogโ Verilog code generation. Hardware description slay ๐ฅ๏ธvhdlโ VHDL code generation. She's a classic ๐vipecโ ViPEC Network Analyser netlist format. VIP status only ๐
โญ EXAMPLES โญ
These examples assume that you have a stack_1.sch in the current directory. Bestie, make sure it's there ๐
gnetlist-legacy requires that at least one schematic be specified on the command line:
./gnetlist-legacy stack_1.sch
This is not very useful since it does not direct gnetlist-legacy to do anything. Lowkey wasted potential ๐ญ
Specify a backend name with -g to get gnetlist-legacy to output a netlist:
./gnetlist-legacy -g geda stack_1.sch
The netlist output will be written to a file called output.net in the current working directory. Default queen ๐
You can specify the output filename by using the -o option:
./gnetlist-legacy -g geda stack_1.sch -o /tmp/stack.netlist
Output will now be directed to /tmp/stack.netlist. Custom path, custom vibe โจ
You could run (for example) the spice-sdb backend against the schematic if you specified -g spice-sdb, or you could generate a bill of materials for the schematic using -g partslist1. Options on options ๐
To obtain a Scheme prompt to run Scheme expressions directly, you can use the -i option:
./gnetlist-legacy -i stack_1.sch
gnetlist-legacy will load stack_1.sh, and then enter an interactive Scheme read-eval-print loop. Interactive bestie era ๐ฌ๐ซถ
๐ง ENVIRONMENT ๐ง
GEDADATAโ specifies the search directory for Scheme and rc files. The default is${prefix}/share/gEDA. That's where the magic lives โจGEDADATARCโ specifies the search directory for rc files. The default is$GEDADATA. Riding on the coattails of GEDADATA, we love a dependent queen ๐GEDALOGโ specifies the directory to which to write log files. The default is~/.gEDA/logs. Keep your receipts, bestie ๐
๐ AUTHORS ๐
See the AUTHORS file included with this program. The OGs deserve credit ๐ซถ
๐ COPYRIGHT ๐
Copyright ยฉ 1999-2020 gEDA Contributors. License GPLv2+: GNU GPL version 2 or later. Please see the COPYING file included with this program for full details. Legal queen behavior, no cap ๐
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. So like, don't sue if something breaks, bestie. We're all just vibing ๐
๐ธ SEE ALSO ๐ธ
gschem(1), gsymcheck(1), pcb(1), gnucap(1)
Go check out the whole friend group, they're all iconic in their own way ๐ซถ๐
Later bestie! ๐ This manual page is from the gEDA Project, dated December 16, 2020, version 1.10.2.20201216. Periodt. ๐ โจ
๐ฆ where this page comes from
- nixos 26.05: geda 1.10.2
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms