gnetlist(1)
๐ gnetlist โ the netlist extraction and generation queen ๐
okay so bestie, welcome to gnetlist, part of the gEDA (GPL Electronic Design Automation) toolset, manual page from the gEDA/gaf collection, version 1.10.2.20201216. she's iconic, she's essential, and she's here to turn your schematics into netlists. periodt. ๐ โจ
๐ธ NAME ๐ธ
gnetlist โ gEDA/gaf Netlist Extraction and Generation. no cap, that's literally her whole brand.
๐ฆ SYNOPSIS ๐ฆ
gnetlist [OPTION...] [-p BACKEND|-g BACKEND] [--] FILE...
like, that's the vibe check right there. options, a backend (Python or Scheme, pick your fighter), then your schematic files. easy. ๐
โจ DESCRIPTION โจ
okay so gnetlist is a netlist extraction and generation tool, and she's part of the gEDA (GPL Electronic Design Automation) toolset. think of her as the main character who takes one or multiple electronic schematics as input and outputs a netlist. and what's a netlist? it's a machine-interpretable description of the way that components in an electronic circuit are connected together โ and it's commonly used as the input to a PCB layout program such as pcb(1) or to a simulator such as gnucap(1). literally the glue between your design and the real world. ๐
a normal gnetlist run is carried out in two steps. first, the gnetlist 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. two steps, no stress, she ate. ๐
and the best part? gnetlist is extensible in Python and Scheme. so you can add your own backends and make her do even more. obsessed. ๐ง
๐ GENERAL OPTIONS ๐
-qโ Quiet mode. Turns off all warnings/notes/messages. lowkey perfect when you just want her to do her thing in silence. ๐-v,--verboseโ Verbose mode. Output all diagnostic information. she's gonna tell you everything, bestie. ๐-L DIRECTORYโ Prepend DIRECTORY to the list of directories to be searched for Python backends, Scheme backends, and other Scheme files. like adding extra spots to your fave playlist. ๐-p BACKENDโ Specify the Python netlist backend to be used. this is your Python girlie. ๐-g BACKENDโ Specify the Scheme netlist backend to be used. and this is your Scheme girlie. ๐ง-O STRINGโ Pass an option string to the backend. give your backend a little note, a little tip, a little STRING. ๐--list-backendsโ Print a list of available netlist backends. A backend name is prefixed with the lettersPandGin brackets if it is available as a Python and as a Scheme backend, respectively. so[P]= Python,[G]= Scheme, and both = she's versatile. ๐-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 pipe her straight into another command, slay. ๐-l FILEโ Specify a Scheme file to be loaded before the backend is loaded or executed. This option can be specified multiple times. load her up with pre-backend Scheme files, as many as you want. ๐-m FILEโ Specify a Scheme file to be loaded between loading the backend and executing it. This option can be specified multiple times. the in-between moment, the little pause for extra Scheme. ๐ฆ-c EXPRโ Specify a Scheme expression to be executed during gnetlist startup. This option can be specified multiple times. like a little spell you cast at the beginning. โจ-iโ After the schematic files have been loaded and the netlist generated, enter an interactive Python interpreter. The netlist structure is available asnetlistin the local dictionary. literally a Python prompt with your netlist right there. main character energy. ๐ป--report-guiโ Report warnings and errors in a GUI dialog. because sometimes you want your problems in a pop-up window. ๐ญ-h,--helpโ Print a help message. when you're lost, she'll guide you. ๐ซถ-V,--versionโ Print gnetlist version information. know your queen's version. ๐--โ Treat all remaining arguments as schematic filenames. Use this if you have a schematic filename which begins with-. protect her from confusion. ๐ก๏ธ
๐ฅ BACKENDS ๐ฅ
Currently, gnetlist includes the following backends. and honestly? the range. the versatility. she's giving range. ๐
allegroโ Allegro netlist format. ๐ตbaeโ Bartels Autoengineer netlist format. ๐bom,bom2โ Bill of materials generation. know exactly what you need to buy. ๐calayโ Calay netlist format. ๐cascadeโ RF Cascade netlist format. ๐ถdrc,drc2โ Design rule checkers (drc2is recommended). check those rules, bestie. โdumpindent,dumpjson,dumplihata,dumptext,dumpxmlโ Dump the netlist in various generic formats. the dump squad. ๐๏ธโจeagleโ Eagle netlist format. ๐ฆewnetโ Netlist format for National Instruments ULTIboard layout tool. ๐บ๐ธfuturenet2โ Futurenet2 netlist format. ๐ฎgedaโ Internal gEDA netlist format (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. like, letgsch2pcbhandle it, okay? ๐ โโ๏ธguileโ Compatibility layer for old backends written in Scheme. respect the elders. ๐งliquidpcbโ LiquidPCB netlist format. ๐งmakedpendโ Auto-generate dependencies for Makefiles. make dependency management easy. ๐ ๏ธmathematicaโ Netlister for analytical circuit solving using Mathematica. big brain energy. ๐งฎmaxasciiโ MAXASCII netlist format. ๐คosmondโ Osmond netlist format. ๐padsโ PADS netlist format. ๐partslist1,partslist2,partslist3โ Bill of materials generation backends (alternatives tobomandbom2). more BOM options, more choices. ๐PCBโpcb(1)netlist format. the classic. ๐ฅ๏ธpcbfwdโ Internally used bypcb(1)'s "Import Schematics" mechanism. behind the scenes. ๐ฌpcbpinsโ Generates apcb(1)action file for forward annotating pin/pad names from schematic to layout. pin it, pad it, annotate it. ๐protelIIโ Protel II netlist format. ๐redacโ RACAL-REDAC netlist format. ๐กspice,spice-sdb,spice-noqsiโ SPICE-compatible netlist format (spice-sdbandspice-noqsiare recommended). Suitable for use withgnucap(1). spice up your simulation life. ๐ถ๏ธswitcapโ SWITCAP switched capacitor simulator netlist format. โกsystemcโ Structural SystemC code generation. ๐งฉtangoโ Tango netlist format. ๐tedaxโ tEDAx netlist format (used bypcb-rnd(1)). ๐คvamsโ VHDL-AMS code generation. ๐verilogโ Verilog code generation. ๐งฌvhdlโ VHDL code generation. ๐๏ธvipecโ ViPEC Network Analyser netlist format. ๐ธ๏ธ
๐ง EXAMPLES ๐ง
These examples assume that you have a schematic file stack_1.sch in the current directory. okay? okay. let's go. ๐
gnetlist requires that at least one schematic and either a Python backend, a Scheme backend, or interactive mode are specified on the command line. If a backend name is specified with -p BACKEND (for a Python backend) or -g BACKEND (for a Scheme backend), gnetlist will output a netlist:
gnetlist -p dumptext stack_1.sch
The netlist output will be written to a file called output.net in the current working directory. default behavior, and she ate. โจ
You can specify the output filename by using the -o option:
gnetlist -p dumptext -o /tmp/stack.netlist stack_1.sch
Output will now be directed to /tmp/stack.netlist. name it and claim it. ๐
You could run (for example) the spice-sdb backend against the schematic if you specified -p spice-sdb, or you could generate a bill of materials for the schematic using -p partslist1. options, options, options. ๐
To obtain a Python prompt to run Python commands directly, you can use the -i option:
gnetlist -i stack_1.sch
gnetlist will load stack_1.sh and then enter an interactive Python interpreter. The netlist structure is available as netlist in the local dictionary. so you can poke around, inspect, and vibe. ๐๐ฌ
๐ธ ENVIRONMENT ๐ธ
GEDADATAโ specifies the search directory for Scheme and rc files. The default is${prefix}/share/gEDA. her home base. ๐กGEDADATARCโ specifies the search directory for rc files. The default is$GEDADATA. follows the leader. ๐งญ
๐ซถ AUTHORS ๐ซถ
See the AUTHORS file included with this program. the whole squad. ๐ฏโโ๏ธ
๐ 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. ๐
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. like, none. zero. protect yourself. โ ๏ธ
๐ SEE ALSO ๐
gschem(1), gsymcheck(1), pcb(1), pcb-rnd(1), gnucap(1)
that's the whole page, bestie. now go make some netlists and slay. ๐ โจ๐๐ฆ๐ธ๐
signing off from the gEDA Project โ December 16, 2020 โ this was gnetlist(1), and she's iconic. 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