The first thing to do is to read and understand Bill Wilson’s excellent gschem -> gsch2pcb -> PCB tutorial and/or the DJ Delorie’s pcb tutorial. This should get you started.
Also be sure to check out the other gEDA documentation available on this website.
However, the best way to learn the gEDA Suite is to download it and try it out yourself! If you consult Bill Wilson’s tutorial while trying the suite for yourself, you will become an expert in no time!
Here is a quick graphic for simple PCB design flow using the gEDA Suite:
In words, the design flow for a simple PCB proceeds as follows:
If you make changes, or add to your schematic or attributes while in layout, update your board file like this:
Usually, users invoke the individual tools from the command line. A project manager (”geda”) exists, but needs improvement.
The most important thing to keep in mind about gEDA’s limitations is this: GEDA is an open-source software project. It has some limitations, but unlike many instances of commercial software, its limitations are not artificial, arbitrary, or driven by marketeering. That is, gEDA is neither nagware, crippleware, demoware, nor “limited student edition”-ware. Any limitations to the gEDA tools exist because the programmers haven’t yet implemented that particular feature. Since the code is open for all to see and modify, anybody is welcome to implement a new feature or remove a limitation, and then submit their patches to the project. If you are a hacker and are interested in making a contribution to the gEDA project, consider tackling one of the limitations listed below! You will make a lot of friends, and earn international exposure!
A typical PCB design requires the following config files in your local directory:
Further detailed information about each configuration file is provided in the documentation for each facility.
The various gEDA/gaf applications (gschem, gattrib, gnetlist, etc.) use a set of RC files to set various configurable options in the tools themselves. These RC files are read in by each application upon start-up. Philosophically, there are three places where a gEDA/gaf application looks for RC files:
${prefix}/share/gEDA/
. This location holds RC files which are global to the entire system, and are common to all users. These RC files must be found and successfully loaded for the gEDA application to work properly. ${prefix}
is set to the path where you installed gEDA/gaf.$HOME/.gEDA/
. This location holds RC files which apply to all of this user’s projects. .gEDA
is a directory. These files are optional. Do not just place a copy of the system-gschemrc (or whatever) into this directory; this will not work properly. The right thing to do is to override specific things you want to change.The RC file system has evolved over time. Originally, each gEDA/gaf application used its own RC file (for example, gschem used gschemrc, gnetlist used gnetlistrc, and so on). However, as the number of gEDA/gaf applications grew, it became clear that the individual RC files held a lot of redundant information, and that new users were confused by all the different RC files. Therefore, the different RC files were consolidated into a single file, called “gafrc”. However, because gschem needs all kind of special customizations, we decided to keep the system gschemrc in addition to all the gafrc files. Also, in order to preserve backwards compatibility, the old RC file system is still maintained in the system directory. Accordingly, the current RC file configuration looks like this:
system-gafrc
– This contains most of the global gaf settings.system-gattribrc
system-gnetlistrc
system-gschemrc
– This contains lots of settings specific to gschemsystem-gschlasrc
system-gsymcheckrc
${HOME}
directory:.gEDA/gafrc
gafrc
– This should contain your local overrides, such as pointers to locally defined symbols.Also loaded by the system-gschemrc is the gschem-darkbg or gschem-lightbg color definitions.
Finally, note that gEDA/gaf applications will look for up to six configuration files upon startup:
system-gafrc
system-gschemrc
(or whatever)${HOME}/.gEDA/gafrc
${HOME}/.gEDA/gschemrc
(or whatever)./gafrc
./gschemrc
(or whatever)If you get a warning that your app can’t find one or another of these files, don’t worry. Most of them are optional. The only required files are the system RC files.
The individual components in the gEDA design suite do not have the concept of an end-to-end project. Rather, they deal with their own files (e.g. “gschem” → .sch, “pcb” → .pcb). However, there is a project manager, called “geda”, which you can invoke from the command line. It’s goal is to help manage your design as a whole as you take it from concept, through schematic capture, attribute attachment, layout, BOM generation, and so on.
Unfortunately, development of “geda” has not kept up with the rest of gEDA/gaf. In particular, “geda” does not use the latest tools or methods to accomplish the individual design tasks. Therefore, we recommend that user simply invoke the individual tools (e.g. gschem, gattrib, gnetlist, gsch2pcb, etc) from the command line. Meanwhile, if your are a hacker are looking for a smallish project to adopt, polishing up “geda” would make a nice introduction to the gEDA Suite, and you would make a lot of friends by doing so!
We have a recurrent debate about XML file formats on geda-user every two or three years. I think it has to do with how long it takes us to lose our institutional memory due to churn on the mailing list.
It's unlikely the gEDA Project will ever switch to an XML file format for schematics or symbols, so get used to it. Some reasons against XML are: