gnetlist: New spice-sdb:packsort, generalize to any refdes p

Bug #698738 reported by Dan White
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gEDA
New
Low
Unassigned

Bug Description

Sorts by the refdes alpha-prefix (case insensitive) order
given by 'refdes-sort-order which defaults to:
("*" "TP" "A"), yielding the same behavior as the old version
except for forcing device=TESTPOINT (whose refdes=TP?) before
other SPICE directives but after element cards where the net
is used/created.

Any refdes's not explicitly listed are put into the "*" group
to allow certain prefixes to sort to the top of the input deck.

This allows tweaking the output card order since gnucap behavior needs
e.g. ".print" cards before the related analysis card.

Revision history for this message
Dan White (etihwnad) wrote :
Revision history for this message
Peter TB Brett (peter-b) wrote :

Hi there,

Please use a symbol rather than a string to indicate where not-explicitly-listed refdes' should be sorted to.

Did you verify that `make check' passes with this patch?

Thanks,

Peter

Changed in geda:
status: New → Incomplete
assignee: nobody → Peter TB Brett (peter-b)
importance: Undecided → Low
Peter TB Brett (peter-b)
Changed in geda:
status: Incomplete → In Progress
Revision history for this message
Peter TB Brett (peter-b) wrote :

Hi Dan,

Please let me know when you make some more progress with this!

Thanks,

Peter :-)

Changed in geda:
assignee: Peter TB Brett (peter-b) → nobody
status: In Progress → New
Peter TB Brett (peter-b)
tags: added: spice-sdb
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.