pcb-rnd knowledge pool
Get a tEDAx netlist from a gschem schematic.
gaf_tedax by Alain V. on 2017-12-29
Tags: howto, format, tEDAx, schematics, netlist, xorn, gschem, geda, gaf
Abstract: How to get a tEDAx netlist using "xorn netlist" command
tEDAx netlist back-end has been recently added to gEDA xorn netlister.
This is a step-by-step description of commands/actions needed to get such a netlist, out of a gschem schematic.
- Prepare a proper development environment
- Install gEDA from source
- Get a schematic
The Linux environment is Fedora 27, and some commands might need adaptation depending on the distribution.
Assumption is user
wants to locally install the
gEDA needs GTK2, cairo, GUILE and Python2 for xorn. Check your system against pre-requisites, some commands such as
dnf install guile-devel guile-cairo-devel dnf install python2-develmight be needed.
- Create an empty directory where you can host the source code
Create a local copy (clone) of
git clone git://git.geda-project.org/geda-gafResult: you have a local
geda-gafdirectory, connected to the git repository. You might catch the latest updates by issuing
git pullcommand inside this directory.
You might need to add the file
geda-gaf/xorn/src/backend/Makefile.am, if it is not in the list of back-ends.
Generate the ./configure script
Configure gaf according your mood (configure use autotools)
./configure --help ./configure --prefix=/home/aa/local
Check configuration results, then compile the project
If compilation is a success, install locally
Let your environment get access to the newly installed binary programs.
$PATHenvironment variable, or absolute path)
Check if tEDAx back-end is known from xorn
xorn netlist --list-backends
You might use the schematic
or whatever gEDA schematic
xorn netlist -o test/cluster/elem/untitled.tedax -g tedax \ --symbol-library=/home/aa/local/share/gEDA/sym/analog \ --symbol-library=/home/aa/local/share/gEDA/sym/titleblock \ test/cluster/elem/untitled.sch
Please note: Since there are no default paths and no configuration files are read, you will have to specify all symbol and source paths on the command line.