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-gnetlist_ug.html
>gnetlist_ug
</a></br>
13 <div class=
"table sectionedit1"><table class=
"inline">
15 <td class=
"col0 leftalign"> << <a href=
"geda-gnetlist_ug-hierarchy.html" class=
"wikilink1" title=
"geda-gnetlist_ug-hierarchy.html">Hierarchy
</a> </td><td class=
"col1 centeralign"> <strong><a href=
"geda-gnetlist_ug.html" class=
"wikilink1" title=
"geda-gnetlist_ug.html">gEDA gnetlist User Guide
</a></strong> </td><td class=
"col2 rightalign"> <a href=
"geda-gnetlist_ug-implicitpins.html" class=
"wikilink2" title=
"geda-gnetlist_ug-implicitpins.html">Implicit pins
</a> >> </td>
18 <!-- EDIT1 TABLE [1-103] -->
19 <h2 id=
"slotsandslotting">Slots and slotting
</h2>
23 Some integrated circuits provide several identical and interchangeable devices in a single package. The classic
"4000" series of logic devices is a good example of this; for example, each
4001 package contains four
2-input NOR gates.
<a href=
"geda-gschem_ug.html" class=
"wikilink1" title=
"geda-gschem_ug.html">gschem
</a> and gnetlist provide support for working with these by using
<em>slots
</em>.
25 <div class=
"notetip">Check the
"4001-
1.sym
" symbol in the
"4000-series logic
" symbol library for an example of how to use slotting and
<a href=
"geda-gnetlist_ug-implicitpins.html" class=
"wikilink2" title=
"geda-gnetlist_ug-implicitpins.html">implicit pins
</a>.
27 Detailed information on slotting attributes can be found in the
<a href=
"geda-master_attributes_list.html" class=
"wikilink1" title=
"geda-master_attributes_list.html">Master Attributes List
</a>.
32 gnetlist uses several symbol attributes to enable slotting. All must be present for gnetlist to process a slotted component correctly.
35 <li class=
"level1"><div class=
"li"> Every pin must have a
"<code>pinseq=
</code>" attribute and a
"<code>pinnumber=
</code>" attribute.
</div>
37 <li class=
"level1"><div class=
"li"> The
"<code>numslots=
</code>" attribute indicates how many slots a component has.
</div>
39 <li class=
"level1"><div class=
"li"> There must be one
"<code>slotdef=
</code>" attribute for each slot. This contains information about the pin numbers of the pins associated with each slot.
</div>
41 <li class=
"level1"><div class=
"li"> A
"<code>slot=
</code>" attribute attached to each component in the schematic indicates which particular slot to use.
</div>
46 When processing a slotted component, gnetlist first looks for a
"<code>slotdef=
</code>" attribute matching the value of the
"<code>slot=
</code>" attribute. It uses the value of the
"<code>slotdef=
</code>" attribute to renumber the pins for the correct slot. It then merges the component with other components with the same
"refdes
".
48 <div class=
"noteimportant">gnetlist does not currently support slotting across hierarchy. The slots in a package cannot be split between different subcircuits.