Index: trunk/doc/design/07_devmap.html =================================================================== --- trunk/doc/design/07_devmap.html (revision 270) +++ trunk/doc/design/07_devmap.html (revision 271) @@ -37,13 +37,44 @@ translation.

{des7:0} -If the slot attribute presents in a symbol, the translation is -activated. The slot name is taken directly from the concrete symbol's -slot attribute. All ports are then named as -slot/terminal-name and the slot attribute is then removed from the -abstract component to avoid collisions. +If the slot attribute presents in a symbol, and the terminal does +not have the "noslot" attribute, the translation is activated. The slot +name is taken directly from the concrete symbol's slot attribute. +All ports are then named as slot/terminal-name and the slot +attribute is then removed from the abstract component to avoid +collisions. +

{des7:0} +Typical example: common opamp symbol: +

{des7:0} +

+
{des7:0} example opamp terminal attributes +
name noslot terminal description +
in_plus (not present) positive input pin +
in_minus (not present) negative input pin +
out (not present) output pin +
v_plus "yes" positive power rail +
v_minus "yes" negative power rail +
+

{des7:0} +In the above example v_plus and v_minus are never prefixed with "slot/" because +of their noslot attribute. In case the symnbol is used with the slot attribute +set, this means: +

+ +

{des7:0} +Note: when the same symbol is used in a non-slotted use case, the symbol will +not have the "slot" attribute; in this case no terminal name translation +applied and the resulting abstract component will have the same port names +as the terminal names of the symbol. + +

7.2. Pin mapping

{des7:0} Index: trunk/doc/design/07_devmap_imp.html =================================================================== --- trunk/doc/design/07_devmap_imp.html (revision 270) +++ trunk/doc/design/07_devmap_imp.html (revision 271) @@ -101,10 +101,10 @@ attribute may contain a slot reference on the left side. When present, it limits the use of the entry to symbols with matching slot name. This allows assignment of the same terminal names multiple times, to different physical -pin numbers, depdning on the slot attribute. +pin numbers, depending on the slot attribute.

{imp7:0} -For example the PCB devmap for common dual opamp in a 8 pin package, using +For example the PCB devmap for common (TODO: link) dual opamp in a 8 pin package, using slots 'A' and 'B':

 A/out -> pcb/pin=1
@@ -128,7 +128,9 @@
 Note how v_plus and v_minus are specified to match universally, regardless
 of the slot. This allows a symbol where both instances have v_plus and v_minus
 terminals, but also allows a separate "opamp power" symbol with an arbitrary
-slot name (e.g. slot=power) that contains only the power terminals.
+slot name (e.g. slot=power) that contains only the power terminals. They are
+not prefixed with A/ or B/ because they had the noslot attribute (in the
+terminal).
 
 

{imp7:0} The resulting devmap file could be called "lm358_dip8", "lm358_so8" (and