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

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



On Thu, Dec 14, 2006 at 09:59:20PM -0500, DJ Delorie wrote:
> 
> > The problem is that there is no attribute you can use as a pin
> > identifier:
> 
> Well, let's make one!  How about "pinname" ?
> 

I believe pinseq does what we want. I'm designing right now a 
switching power supply with an LT1940 which has 4 "Vin" pins, 
so pinlabel is out (unless we could put a list in the pinnumber 
attribute, say in this case pinnumber=3,4,5,6; call it pinlist 
instead of pinnumber if you want).

And if you want to override pinseq for simulation, it looks
doable too:

P "$pinseq"  <--- refers to the pinseq of the sym file
{
pinseq=$newpinseq   <--- overwritten pinseq for simulation/netlist generation
pinnumber=$whatever
...
}

You may want to have a function to check that there are no duplicates
pinseq/pinnumber in the resulting symbol.

Another solution might be to always embed components 
and allow editing them directly in gschem, and then 
allow exporting them to a .sym file for reuse. 

	Gabriel


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