[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gEDA-dev: Diode symbols in GSchem and PCB



On Fri, 15 Dec 2006, DJ Delorie wrote:

>> The above scheme is simple, and would work, I think.  Or am I wrong?
>
> Yes, but two comments...
>
> I think it would be confusing to have a NAND gate in the library that
> had pin numbers that had nothing to do with any real package.

I guess I am confused.  The nand gate in the symbol lib would just
keep its old pinnumbers, which would correspond to whatever
asssignments are in the .sym file, i.e. the pinouts for a DIP-14 or
whatever.   The place wehre this is overwritten is in the .sch file.

Perhaps I have missed your point?  If so, please elaborate...

It does raise the question of what to do if no pinnumber attribute is
present on a pin in teh .sym file, and you want to overwrite a
partiuclar pin's attribs.  But I suppose that's an error in teh .sym
file itself, so it's up to teh user to fix the .sym file before
overwriting any attribs in it.

> PCB knows how to give pins both names and labels, it would be nice to
> be able to propogate that information from the schematics.

That's easy.  It's teh job of gnetlist to take that info from the .sch
file and stick it into the netlist.  AFAIK, gnetlist (& gsch2pcb)
already writes pinnumber, pinname, and pinlabel into the netlist.  Or
am I wrong?

Then, if you want to change a pinnumber, pinname, or pinlabel, you can
do it in PCB, run some (yet to be defined) backanno utility which
writes the new info into your .sch file via my scheme, and then Bob's
your uncle! -- you're done!

Or am I missing something?

About the point raised by Peter:  what happens if you move the
overwritten attrib in gschem?  I guess that the parser could check for
the presence/absence of a T line preceeding the P line, which would
provide a new location for the overwritten attrib.

Stuart


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