← Back to team overview

kicad-developers team mailing list archive

Re: New part file format document.


> I didn't use pin_swap in an example because a 7400 is so simple you typically
> wouldn't need to swap any pins.  I see pin swapping being useful on component
> with a lot of reconfigurable pins (think micro-controllers or gate arrays).
> The primary usage pattern I see with pin swapping is say I am 90% done wiring a
> 32 bit micro-controller in my schematic when I realize that the last couple of
> pins are going to turn my schematic into a rats nest.  Rather than rip up all
> the work you've just done, you could quickly create a new component based on
> the existing one and swap the pins that would allow you to finish wiring your
> schematic the way you want it to.  I can see pin swapping also finding it's way
> into the schematic edit. 

I don't see that happening, and this is because components are nothing but
instantiated parts.  You cannot swap the pins of a component, because technically it
does not have any.  So this has to happen in the parts list.  Behind the scenes you
could clone the part to a new parts list entry, and then change the part reference in
the component to point to the new part in the parts list.

Like I said, it is going to take discipline to hang on to this parts list concept. 
I'm fully committed to doing that however, so expect resistance from me on concepts
that make it difficult to keep the parts list.  Sorry.


Follow ups