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

gEDA-bug: [Bug 698722] Re: partslist[1-3] don't handle hierarchy refdeses correctly



** Changed in: geda
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of gEDA Bug
Team, which is subscribed to gEDA.
https://bugs.launchpad.net/bugs/698722

Title:
  partslist[1-3] don't handle hierarchy refdeses correctly

Status in GPL Electronic Design Automation tools:
  Fix Released

Bug description:
  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.




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