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

Re: gEDA-user: Problems with pinseq



No dia (On:) 10 Sep 2002 15:40:04 +0200
martin@kfib.org (martin@kfib.org) escreveu: (wrote:)

> I'm trying to create a new symbol for a quadruple optocoupler, but no
> matter what I try I can't get the autonumbering of pins to work. I've
> messed around with the file 7400-1.sym to try to understand how this
> magic is supposed to work, but the only thing I've archieved is to
> make the slot-magic stop working for that symbol too.
> 

[snip]

> 
> PS. If I want to contribute with, for example, this symbol when it's
>     done and (hopefully) works properly, where should I send it?
> -- 
> Martin Persson
> martin@kfib.org
> http://martin.kfib.org/


Dear Mr. Martin,

	The numbers in slotdef must be refeerence to all pinseq, but they are the pinnumber, presenting sequentialy all pinseq.

	Here a made a litle exanple, of a opto-iso, with 4 slots, and it is working ok in the new gSchem attibutes scheme.


---------CUT HERE -------------------
v 20020825
B 200 0 1100 1200 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
L 200 900 500 900 3 0 0 0 -1 -1
L 500 900 500 700 3 0 0 0 -1 -1
L 400 700 600 700 3 0 0 0 -1 -1
L 400 700 500 500 3 0 0 0 -1 -1
L 500 500 600 700 3 0 0 0 -1 -1
L 400 500 600 500 3 0 0 0 -1 -1
L 500 500 500 300 3 0 0 0 -1 -1
L 500 300 200 300 3 0 0 0 -1 -1
L 1300 900 1100 900 3 0 0 0 -1 -1
L 1100 900 1100 800 3 0 0 0 -1 -1
L 1100 800 1000 700 3 0 0 0 -1 -1
L 1000 500 1100 400 3 0 0 0 -1 -1
L 1100 400 1100 300 3 0 0 0 -1 -1
L 1100 300 1300 300 3 0 0 0 -1 -1
L 1000 800 1000 400 3 0 0 0 -1 -1
L 1000 600 900 600 3 0 0 0 -1 -1
L 1100 400 1100 450 3 0 0 0 -1 -1
L 1100 400 1050 400 3 0 0 0 -1 -1
L 650 650 700 675 3 0 0 0 -1 -1
L 700 675 700 650 3 0 0 0 -1 -1
L 700 650 775 675 3 0 0 0 -1 -1
L 775 675 750 650 3 0 0 0 -1 -1
L 775 675 750 675 3 0 0 0 -1 -1
L 650 575 700 600 3 0 0 0 -1 -1
L 700 600 700 575 3 0 0 0 -1 -1
L 700 575 775 600 3 0 0 0 -1 -1
L 775 600 750 575 3 0 0 0 -1 -1
L 775 600 750 600 3 0 0 0 -1 -1
P 200 900 0 900 1
{
T 250 925 5 5 0 1 0 0
pinseq=1
T 0 925 5 5 1 1 0 0
pinnumber=1
}
P 200 300 0 300 1
{
T 250 325 5 5 0 1 0 0
pinseq=2
T 0 325 5 5 1 1 0 0
pinnumber=2
}
P 1300 300 1500 300 1
{
T 1275 325 5 5 0 1 0 6
pinseq=3
T 1475 325 5 5 1 1 0 6
pinnumber=15
}
P 1300 900 1500 900 1
{
T 1275 925 5 5 0 1 0 6
pinseq=4
T 1475 925 5 5 1 1 0 6
pinnumber=16
}
T 225 25 9 8 1 0 0 0
Optoexample
T 225 1225 8 10 1 1 0 0
refdes=ISO?
T 900 1375 8 10 0 0 0 0
device=optoexample
T 900 1525 8 10 0 0 0 0
numslots=4
T 900 1675 8 10 0 0 0 0
slotdef=1:1,2,15,16
T 900 1850 8 10 0 0 0 0
slotdef=2:3,4,13,14
T 900 2025 8 10 0 0 0 0
slotdef=3:5,6,11,12
T 900 2200 8 10 0 0 0 0
slotdef=4:7,8,9,10
T 900 2325 8 10 0 0 0 0
slot=1
________________CUT HERE_______________


	Please note that slotdef syntax is:

slotdef=1:1,2,15,16
slotdef=2:3,4,13,14
slotdef=3:5,6,11,12
slotdef=4:7,8,9,10

	In the new master attributes doc, Ales took about all pinseq must be present, but by their pinnumbers.

Best regards,

Antonio Augusto Todo Bom Neto
LAX Eletronica e Telecomunicacoes Ltda
gEDA-BR - Users Group - http://gedabr.projetos.etc.br