[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-bug: [ geda-Bugs-2994330 ] partslist[1-3] don't handle hierarchy refdeses correctly



Bugs item #2994330, was opened at 2010-04-29 20:54
Message generated for change (Tracker Item Submitted) made by richardbarlow
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=818426&aid=2994330&group_id=161080

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: gnetlist
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Richard Barlow (richardbarlow)
Assigned to: Nobody/Anonymous (nobody)
Summary: partslist[1-3] don't handle hierarchy refdeses correctly

Initial Comment:
When producing a part list with the partslist[1-3] backend the refdes values output to the file do not contain the prepended refdeses of the parent component.

E.g.

Master schematic with symbol 'S1' (representing sub-schematic) and a resistor 'R1'
Sub-schematic containing resistor 'R1'

The geda backend produces a netlist containing two resistors 'R1' and 'S1/R1', they're unique and everything is fine and dandy.
The partslist[1-3] backends contain two components with the refdes 'R1' which then causes problems when processing this file further.

This is caused by the partslist[1-3] backends adding the value of the refdes attribute to the file rather than the value returned by the 'packages' function.

The supplied patch alters the backends to use the value from the packages function directly, rather than looking up the refdes attribute of the component.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=818426&aid=2994330&group_id=161080


_______________________________________________
geda-bug mailing list
geda-bug@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-bug