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

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



Patches item #3044478, was opened at 2010-08-13 18:08
Message generated for change (Tracker Item Submitted) made by richardbarlow
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=818428&aid=3044478&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:
I mistakenly submitted this patch to the bug tracker rather than the patch tracker a few months ago. I'm re-submitting it here so that it doesn't get lost or forgotten.

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=818428&aid=3044478&group_id=161080


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