Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-release > by-pkgid > f2f28f61487f3042d93877451f0a311f > files > 136

geda-docs-1.8.2-4.mga5.x86_64.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
  <title></title>
  <link rel="stylesheet" media="screen" type="text/css" href="./style.css" />
  <link rel="stylesheet" media="screen" type="text/css" href="./design.css" />
  <link rel="stylesheet" media="print" type="text/css" href="./print.css" />

  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>

<div class="table sectionedit639"><table class="inline">
	<tr class="row0">
		<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>
	</tr>
</table></div>
<!-- EDIT639 TABLE [1-95] -->
<h2 class="sectionedit640"><a name="hierarchy" id="hierarchy">Hierarchy</a></h2>
<div class="level2">

<p>
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.
</p>

<p>
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.
</p>

<p>
<p><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.
</div></p>
</p>

<p>
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!
</p>

<p>
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.
</p>

</div>
<!-- EDIT640 SECTION "Hierarchy" [97-] --></body>
</html>