Index: 07_devmap.html =================================================================== --- 07_devmap.html (revision 263) +++ 07_devmap.html (revision 264) @@ -43,8 +43,15 @@

{des7:0} The input is a array is an unordered list of (terminal name + slot name) --> (attribute_name + value) pairs. +-> (attribute_name + value) pairs, each specified in the following syntax: +

+slot/termname -> attribkey=value
+
 
+

{des7:0} E.g. "A/out -> pcb/pin=1" means "terminal with +name=out in symbol tagged as slot=A shall get attribute +pcb/pin set to 1". +

{des7:0} The pin mapper iterates over all ports of the abstract component and traces back the concrete symbol @@ -54,23 +61,24 @@ The map is then searched for the terminal+slot pair; if it is found, the terminal name is translated (so that the right amount of ports are created in the abstract component for the -slots) and attribute_name+value is set on the resulting port. +slots) and attribute_name=value is set on the resulting port.

{des7:0} -If a terminal+slot pair is not found in the map, an error message is +If a slot/terminal pair is not found in the map, an error message is emitted. This happens when the schematics symbol uses a terminal that has no physical pin with the given device.

{des7:0} -If a terminal+slot pair of the map is not used in the mapping, no error +If a slot/terminal pair of the map is not used in the mapping, no error is generated. A typical example when this happens is when a logic circuit has 4 identical slots but the schematics uses only 3. If this is considered an error, a DRC plugin shall check for it. +

{des7:0} TODO: table of symbol attributes: pinmap -TODO: invent the actual format +

7.2. Device mapping

{des7:0}