1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5 <link rel=
"stylesheet" media=
"screen" type=
"text/css" href=
"./style.css" />
6 <link rel=
"stylesheet" media=
"screen" type=
"text/css" href=
"./design.css" />
7 <link rel=
"stylesheet" media=
"print" type=
"text/css" href=
"./print.css" />
9 <meta http-equiv=
"Content-Type" content=
"text/html; charset=utf-8" />
12 <a href=.
>start
</a> =
> <a href=geda-gschem_ug.html
>gschem_ug
</a></br>
13 <div class=
"table sectionedit1"><table class=
"inline">
15 <td class=
"col0 leftalign"> «
<a href=
"geda-gschem_ug-autonumbering.html" class=
"wikilink1" title=
"geda-gschem_ug-autonumbering.html">Autonumbering
</a> </td><td class=
"col1 centeralign"> <strong><a href=
"geda-gschem_ug.html" class=
"wikilink1" title=
"geda-gschem_ug.html">gEDA gschem User Guide
</a></strong> </td><td class=
"col2 rightalign"> <a href=
"geda-gschem_ug-printing.html" class=
"wikilink1" title=
"geda-gschem_ug-printing.html">Printing
</a> »
</td>
18 <!-- EDIT1 TABLE [1-95] -->
19 <h2 class=
"sectionedit2" id=
"hierarchy">Hierarchy
</h2>
23 When a design has several repeating subcircuits, it can sometimes be useful to draw a schematic for the subcircuit, and then include that subcircuit multiple times in the design. This creates a
<em>hierarchy
</em> of circuits.
27 Subcircuit schematics are searched for in a
<em>source library
</em>, and use the “in-
1” and “out-
1” symbols to indicate which nets to make available as connections for the schematics that include them. Each subcircuit has a symbol, which uses “
<code>source=
</code>”
<a href=
"geda-gschem_ug-attributes.html" class=
"wikilink1" title=
"geda-gschem_ug-attributes.html">attributes
</a> to specify the subcircuit
's schematic pages.
29 <div class=
"notetip">See
<a href=
"geda-gschem_ug-config.html" class=
"wikilink1" title=
"geda-gschem_ug-config.html">Configuring gschem
</a> for details of how to control where gschem looks for subcircuit schematics.
32 To add a subcircuit to a schematic, simply place the symbol representing it as a
<a href=
"geda-gschem_ug-components.html" class=
"wikilink1" title=
"geda-gschem_ug-components.html">component
</a> in the schematic as usual. Subcircuits can in turn contain other subcircuits!
36 To view the underlying schematic for a subcircuit component,
<a href=
"geda-gschem_ug-selecting.html" class=
"wikilink1" title=
"geda-gschem_ug-selecting.html">select
</a> it and use
<strong>Hierarchy→Down Schematic
</strong>. Once finished editing the subcircuit
's schematic, use
<strong>Hierarchy→Up
</strong> to return to the original schematic.
40 <!-- EDIT2 SECTION "Hierarchy" [97-] --></body>