missing NULL terminator in set_config_x
[geda-gaf.git] / docs / wiki / geda-gschem_ug-hierarchy.html
blobeeed6491da277bdfacc630354cc3214ec8c55768
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html>
4 <head>
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" />
10 </head>
11 <body>
12 <a href=.>start</a>&nbsp;=>&nbsp;<a href=geda-gschem_ug.html>gschem_ug</a></br>
13 <div class="table sectionedit1"><table class="inline">
14 <tr class="row0">
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>
16 </tr>
17 </table></div>
18 <!-- EDIT1 TABLE [1-95] -->
19 <h2 class="sectionedit2" id="hierarchy">Hierarchy</h2>
20 <div class="level2">
22 <p>
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.
24 </p>
26 <p>
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&#039;s schematic pages.
28 </p>
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.
30 </div>
31 <p>
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!
33 </p>
35 <p>
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&#039;s schematic, use <strong>Hierarchy→Up</strong> to return to the original schematic.
37 </p>
39 </div>
40 <!-- EDIT2 SECTION "Hierarchy" [97-] --></body>
41 </html>