[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-user: nets in symbols



Hi again,

I defined a new symbol, for the Mesa Electronics 7I33 daughter board.

This has 104 pins, of which about half connect to ground.

The start of the symbol file is appended to the end of this email, and I 
attached the complete symbol file.

If you look at the first 15 lines or so, you'll see I defined a GND net and a 
+5V net for two subsets of the pins.

So far so good...

Problem 1
--------------
However, gnetlist -g drc2 ..... is telling me that these pins are of "unknown" 
type, which is true - I didn't set the type. 

How would I set the type for these nets? All the examples I have seen of 
setting the pintype attribute have related to a single, visible pin, rather 
than a declaration for a set of pins like this:

net=GND:2,4,6

The symbol creation guide (http://geda.seul.org/wiki/geda:scg) tells you how 
to set the power pins of a NAND gate, but I can't see that the pintypes of 
the power pins for that symbol are set.

Problem 2
--------------
I am placing this symbol in a design which is split into two regions, with 
opto-isolators connecting them. This means I have two ground nets, and I also 
have two 5V nets.

Instead of using the nets GND and +5V, I have gnd_left and gnd_right and 
+5v_left and +5v_right.

But... the nets in my symbol are GND and +5V. What is the best way to redefine 
these nets? Should I manually add the 50 or so ground/power pins to my 
symbol, so that I can wire each ground pin to either gnd_left or gnd_right in 
my schematic? Or is there another way of setting what the "GND" net in my 
symbol actually connects to? Can I redefine the nets for those pins after I 
placed the symbol in my schematic?

with regards,

Seb James

7I33.sym is attached, the start is appended here:
--------------------
v 20060123 1
B 500 300 2500 17700 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
{
T 1300 18300 5 10 0 0 0 0 1
devicename=7I33
T 1300 18600 5 10 0 0 0 0 1
footprint=7I33_Socket
T 1300 18970 5 10 0 0 0 0 1
net=GND:2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50
T 1300 19270 5 10 0 0 0 0 1
net=GND:51,54,60,62,66,72,74,78,84,86,90,96,98,100,102,103
T 1300 19570 5 10 0 0 0 0 1
net=+5V:57,69,81,93,101,104
T 1300 19870 5 10 0 0 0 0 1
documentation=http://www.mesanet.com/pdf/motion/7i33man.pdf
T 500 100 5 10 1 1 0 0 1
description=Mesa Electronics 7I33 Servo Daughter Board.
T 1300 20170 5 10 0 0 0 0 1
device=MESA7I33
T 1300 20470 5 10 0 0 0 0 1
numslots=0
}
T 2700 18100 8 10 1 1 0 0 1
refdes=U?
P 3300 8000 3000 8000 1 0 0
{
T 2900 8000 5 10 1 1 0 6 1
pinlabel=QB1
T 3400 8000 5 10 1 1 0 6 1
pinnumber=1
T 2900 8200 5 10 0 0 0 6 1
pintype=out
T 3400 8200 5 10 0 1 0 6 1
pinseq=1
}
etc. etc.......
v 20060123 1
B 500 300 2500 17700 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
{
T 1300 18300 5 10 0 0 0 0 1
devicename=7I33
T 1300 18600 5 10 0 0 0 0 1
footprint=7I33_Socket
T 1300 18970 5 10 0 0 0 0 1
net=GND:2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50
T 1300 18970 5 10 0 0 0 0 1
pintype=pwr:2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50
T 1300 19270 5 10 0 0 0 0 1
net=GND:51,54,60,62,66,72,74,78,84,86,90,96,98,100,102,103
T 1300 19270 5 10 0 0 0 0 1
pintype=pwr:51,54,60,62,66,72,74,78,84,86,90,96,98,100,102,103
T 1300 19570 5 10 0 0 0 0 1
net=+5V:57,69,81,93,101,104
T 1300 19570 5 10 0 0 0 0 1
pintype=pwr:57,69,81,93,101,104
T 1300 19870 5 10 0 0 0 0 1
documentation=http://www.mesanet.com/pdf/motion/7i33man.pdf
T 500 100 5 10 1 1 0 0 1
description=Mesa Electronics 7I33 Servo Daughter Board.
T 1300 20170 5 10 0 0 0 0 1
device=MESA7I33
T 1300 20470 5 10 0 0 0 0 1
numslots=0
}
T 2700 18100 8 10 1 1 0 0 1
refdes=U?
P 3300 8000 3000 8000 1 0 0
{
T 2900 8000 5 10 1 1 0 6 1
pinlabel=QB1
T 3400 8000 5 10 1 1 0 6 1
pinnumber=1
T 2900 8200 5 10 0 0 0 6 1
pintype=out
T 3400 8200 5 10 0 1 0 6 1
pinseq=1
}
P 3300 8400 3000 8400 1 0 0
{
T 2900 8400 5 10 1 1 0 6 1
pinlabel=QA1
T 3400 8400 5 10 1 1 0 6 1
pinnumber=3
T 2900 8600 5 10 0 0 0 6 1
pintype=out
T 3400 8600 5 10 0 1 0 6 1
pinseq=3
}
P 3300 10700 3000 10700 1 0 0
{
T 2900 10700 5 10 1 1 0 6 1
pinlabel=QB0
T 3400 10700 5 10 1 1 0 6 1
pinnumber=5
T 2900 10900 5 10 0 0 0 6 1
pintype=out
T 3400 10900 5 10 0 1 0 6 1
pinseq=5
}
P 3300 11100 3000 11100 1 0 0
{
T 2900 11100 5 10 1 1 0 6 1
pinlabel=QA0
T 3400 11100 5 10 1 1 0 6 1
pinnumber=7
T 2900 11300 5 10 0 0 0 6 1
pintype=out
T 3400 11300 5 10 0 1 0 6 1
pinseq=7
}
P 3300 7600 3000 7600 1 0 0
{
T 2900 7600 5 10 1 1 0 6 1
pinlabel=IDX1
T 3400 7600 5 10 1 1 0 6 1
pinnumber=9
T 2900 7800 5 10 0 0 0 6 1
pintype=out
T 3400 7800 5 10 0 1 0 6 1
pinseq=9
}
P 3300 10300 3000 10300 1 0 0
{
T 2900 10300 5 10 1 1 0 6 1
pinlabel=IDX0
T 3400 10300 5 10 1 1 0 6 1
pinnumber=11
T 2900 10500 5 10 0 0 0 6 1
pintype=out
T 3400 10500 5 10 0 1 0 6 1
pinseq=11
}
P 3300 2400 3000 2400 1 0 0
{
T 2900 2400 5 10 1 1 0 6 1
pinlabel=QB3
T 3400 2400 5 10 1 1 0 6 1
pinnumber=25
T 2900 2600 5 10 0 0 0 6 1
pintype=out
T 3400 2600 5 10 0 1 0 6 1
pinseq=25
}
P 3300 2800 3000 2800 1 0 0
{
T 2900 2800 5 10 1 1 0 6 1
pinlabel=QA3
T 3400 2800 5 10 1 1 0 6 1
pinnumber=27
T 2900 3000 5 10 0 0 0 6 1
pintype=out
T 3400 3000 5 10 0 1 0 6 1
pinseq=27
}
P 3300 5200 3000 5200 1 0 0
{
T 2900 5200 5 10 1 1 0 6 1
pinlabel=QB2
T 3400 5200 5 10 1 1 0 6 1
pinnumber=29
T 2900 5400 5 10 0 0 0 6 1
pintype=out
T 3400 5400 5 10 0 1 0 6 1
pinseq=29
}
P 3300 5600 3000 5600 1 0 0
{
T 2900 5600 5 10 1 1 0 6 1
pinlabel=QA2
T 3400 5600 5 10 1 1 0 6 1
pinnumber=31
T 2900 5800 5 10 0 0 0 6 1
pintype=out
T 3400 5800 5 10 0 1 0 6 1
pinseq=31
}
P 3300 2000 3000 2000 1 0 0
{
T 2900 2000 5 10 1 1 0 6 1
pinlabel=IDX3
T 3400 2000 5 10 1 1 0 6 1
pinnumber=33
T 2900 2200 5 10 0 0 0 6 1
pintype=out
T 3400 2200 5 10 0 1 0 6 1
pinseq=33
}
P 3300 4800 3000 4800 1 0 0
{
T 2900 4800 5 10 1 1 0 6 1
pinlabel=IDX2
T 3400 4800 5 10 1 1 0 6 1
pinnumber=35
T 2900 5000 5 10 0 0 0 6 1
pintype=out
T 3400 5000 5 10 0 1 0 6 1
pinseq=35
}
P 200 15900 500 15900 1 0 0
{
T 600 15900 5 10 1 1 0 0 1
pinlabel=PWM1
T 100 15900 5 10 1 1 0 0 1
pinnumber=13
T 600 16100 5 10 0 0 0 0 1
pintype=in
T 100 16100 5 10 0 1 0 0 1
pinseq=13
}
P 200 17500 500 17500 1 0 0
{
T 600 17500 5 10 1 1 0 0 1
pinlabel=PWM0
T 100 17500 5 10 1 1 0 0 1
pinnumber=15
T 600 17700 5 10 0 0 0 0 1
pintype=in
T 100 17700 5 10 0 1 0 0 1
pinseq=15
}
P 200 15500 500 15500 1 0 0
{
T 600 15500 5 10 1 1 0 0 1
pinlabel=DIR1
T 100 15500 5 10 1 1 0 0 1
pinnumber=17
T 600 15700 5 10 0 0 0 0 1
pintype=in
T 100 15700 5 10 0 1 0 0 1
pinseq=17
}
P 200 17100 500 17100 1 0 0
{
T 600 17100 5 10 1 1 0 0 1
pinlabel=DIR0
T 100 17100 5 10 1 1 0 0 1
pinnumber=19
T 600 17300 5 10 0 0 0 0 1
pintype=in
T 100 17300 5 10 0 1 0 0 1
pinseq=19
}
P 200 15100 500 15100 1 0 0
{
T 600 15100 5 10 1 1 0 0 1
pinlabel=/ENA1
T 100 15100 5 10 1 1 0 0 1
pinnumber=21
T 600 15300 5 10 0 0 0 0 1
pintype=in
T 100 15300 5 10 0 1 0 0 1
pinseq=21
}
P 200 16700 500 16700 1 0 0
{
T 600 16700 5 10 1 1 0 0 1
pinlabel=/ENA0
T 100 16700 5 10 1 1 0 0 1
pinnumber=23
T 600 16900 5 10 0 0 0 0 1
pintype=in
T 100 16900 5 10 0 1 0 0 1
pinseq=23
}
P 200 12700 500 12700 1 0 0
{
T 600 12700 5 10 1 1 0 0 1
pinlabel=PWM3
T 100 12700 5 10 1 1 0 0 1
pinnumber=37
T 600 12900 5 10 0 0 0 0 1
pintype=in
T 100 12900 5 10 0 1 0 0 1
pinseq=37
}
P 200 14300 500 14300 1 0 0
{
T 600 14300 5 10 1 1 0 0 1
pinlabel=PWM2
T 100 14300 5 10 1 1 0 0 1
pinnumber=39
T 600 14500 5 10 0 0 0 0 1
pintype=in
T 100 14500 5 10 0 1 0 0 1
pinseq=39
}
P 200 12300 500 12300 1 0 0
{
T 600 12300 5 10 1 1 0 0 1
pinlabel=DIR3
T 100 12300 5 10 1 1 0 0 1
pinnumber=41
T 600 12500 5 10 0 0 0 0 1
pintype=in
T 100 12500 5 10 0 1 0 0 1
pinseq=41
}
P 200 13900 500 13900 1 0 0
{
T 600 13900 5 10 1 1 0 0 1
pinlabel=DIR2
T 100 13900 5 10 1 1 0 0 1
pinnumber=43
T 600 14100 5 10 0 0 0 0 1
pintype=in
T 100 14100 5 10 0 1 0 0 1
pinseq=43
}
P 200 11900 500 11900 1 0 0
{
T 600 11900 5 10 1 1 0 0 1
pinlabel=/ENA3
T 100 11900 5 10 1 1 0 0 1
pinnumber=45
T 600 12100 5 10 0 0 0 0 1
pintype=in
T 100 12100 5 10 0 1 0 0 1
pinseq=45
}
P 200 13500 500 13500 1 0 0
{
T 600 13500 5 10 1 1 0 0 1
pinlabel=/ENA2
T 100 13500 5 10 1 1 0 0 1
pinnumber=47
T 600 13700 5 10 0 0 0 0 1
pintype=in
T 100 13700 5 10 0 1 0 0 1
pinseq=47
}
T 500 18100 9 18 1 0 0 0 1
7I33
P 3300 17500 3000 17500 1 0 0
{
T 2900 17500 5 10 1 1 0 6 1
pinlabel=AOUT0
T 3400 17500 5 10 1 1 0 6 1
pinnumber=61
T 2900 17700 5 10 0 0 0 6 1
pintype=out
T 3400 17700 5 10 0 1 0 6 1
pinseq=61
}
P 3300 17100 3000 17100 1 0 0
{
T 2900 17100 5 10 1 1 0 6 1
pinlabel=ENA0
T 3400 17100 5 10 1 1 0 6 1
pinnumber=63
T 2900 17300 5 10 0 0 0 6 1
pintype=out
T 3400 17300 5 10 0 1 0 6 1
pinseq=63
}
P 3300 15900 3000 15900 1 0 0
{
T 2900 15900 5 10 1 1 0 6 1
pinlabel=AOUT1
T 3400 15900 5 10 1 1 0 6 1
pinnumber=73
T 2900 16100 5 10 0 0 0 6 1
pintype=out
T 3400 16100 5 10 0 1 0 6 1
pinseq=73
}
P 3300 15500 3000 15500 1 0 0
{
T 2900 15500 5 10 1 1 0 6 1
pinlabel=ENA1
T 3400 15500 5 10 1 1 0 6 1
pinnumber=75
T 2900 15700 5 10 0 0 0 6 1
pintype=out
T 3400 15700 5 10 0 1 0 6 1
pinseq=75
}
P 3300 14300 3000 14300 1 0 0
{
T 2900 14300 5 10 1 1 0 6 1
pinlabel=AOUT2
T 3400 14300 5 10 1 1 0 6 1
pinnumber=85
T 2900 14500 5 10 0 0 0 6 1
pintype=out
T 3400 14500 5 10 0 1 0 6 1
pinseq=85
}
P 3300 13900 3000 13900 1 0 0
{
T 2900 13900 5 10 1 1 0 6 1
pinlabel=ENA2
T 3400 13900 5 10 1 1 0 6 1
pinnumber=87
T 2900 14100 5 10 0 0 0 6 1
pintype=out
T 3400 14100 5 10 0 1 0 6 1
pinseq=87
}
P 3300 12700 3000 12700 1 0 0
{
T 2900 12700 5 10 1 1 0 6 1
pinlabel=AOUT3
T 3400 12700 5 10 1 1 0 6 1
pinnumber=97
T 2900 12900 5 10 0 0 0 6 1
pintype=out
T 3400 12900 5 10 0 1 0 6 1
pinseq=97
}
P 3300 12300 3000 12300 1 0 0
{
T 2900 12300 5 10 1 1 0 6 1
pinlabel=ENA3
T 3400 12300 5 10 1 1 0 6 1
pinnumber=99
T 2900 12500 5 10 0 0 0 6 1
pintype=out
T 3400 12500 5 10 0 1 0 6 1
pinseq=99
}
P 200 11100 500 11100 1 0 0
{
T 600 11100 5 10 1 1 0 0 1
pinlabel=ENCA0
T 100 11100 5 10 1 1 0 0 1
pinnumber=52
T 600 11300 5 10 0 0 0 0 1
pintype=in
T 100 11300 5 10 0 1 0 0 1
pinseq=52
}
P 200 10700 500 10700 1 0 0
{
T 600 10700 5 10 1 1 0 0 1
pinlabel=/ENCA0
T 100 10700 5 10 1 1 0 0 1
pinnumber=53
T 600 10900 5 10 0 0 0 0 1
pintype=in
T 100 10900 5 10 0 1 0 0 1
pinseq=53
}
P 200 10300 500 10300 1 0 0
{
T 600 10300 5 10 1 1 0 0 1
pinlabel=ENCB0
T 100 10300 5 10 1 1 0 0 1
pinnumber=55
T 600 10500 5 10 0 0 0 0 1
pintype=in
T 100 10500 5 10 0 1 0 0 1
pinseq=55
}
P 200 9900 500 9900 1 0 0
{
T 600 9900 5 10 1 1 0 0 1
pinlabel=/ENCB0
T 100 9900 5 10 1 1 0 0 1
pinnumber=56
T 600 10100 5 10 0 0 0 0 1
pintype=in
T 100 10100 5 10 0 1 0 0 1
pinseq=56
}
P 200 9500 500 9500 1 0 0
{
T 600 9500 5 10 1 1 0 0 1
pinlabel=IDX0
T 100 9500 5 10 1 1 0 0 1
pinnumber=58
T 600 9700 5 10 0 0 0 0 1
pintype=in
T 100 9700 5 10 0 1 0 0 1
pinseq=58
}
P 200 9100 500 9100 1 0 0
{
T 600 9100 5 10 1 1 0 0 1
pinlabel=/IDX0
T 100 9100 5 10 1 1 0 0 1
pinnumber=59
T 600 9300 5 10 0 0 0 0 1
pintype=in
T 100 9300 5 10 0 1 0 0 1
pinseq=59
}
P 200 8400 500 8400 1 0 0
{
T 600 8400 5 10 1 1 0 0 1
pinlabel=ENCA1
T 100 8400 5 10 1 1 0 0 1
pinnumber=64
T 600 8600 5 10 0 0 0 0 1
pintype=in
T 100 8600 5 10 0 1 0 0 1
pinseq=64
}
P 200 8000 500 8000 1 0 0
{
T 600 8000 5 10 1 1 0 0 1
pinlabel=/ENCA1
T 100 8000 5 10 1 1 0 0 1
pinnumber=65
T 600 8200 5 10 0 0 0 0 1
pintype=in
T 100 8200 5 10 0 1 0 0 1
pinseq=65
}
P 200 7600 500 7600 1 0 0
{
T 600 7600 5 10 1 1 0 0 1
pinlabel=ENCB1
T 100 7600 5 10 1 1 0 0 1
pinnumber=67
T 600 7800 5 10 0 0 0 0 1
pintype=in
T 100 7800 5 10 0 1 0 0 1
pinseq=67
}
P 200 7200 500 7200 1 0 0
{
T 600 7200 5 10 1 1 0 0 1
pinlabel=/ENCB1
T 100 7200 5 10 1 1 0 0 1
pinnumber=68
T 600 7400 5 10 0 0 0 0 1
pintype=in
T 100 7400 5 10 0 1 0 0 1
pinseq=68
}
P 200 6800 500 6800 1 0 0
{
T 600 6800 5 10 1 1 0 0 1
pinlabel=IDX1
T 100 6800 5 10 1 1 0 0 1
pinnumber=70
T 600 7000 5 10 0 0 0 0 1
pintype=in
T 100 7000 5 10 0 1 0 0 1
pinseq=70
}
P 200 6400 500 6400 1 0 0
{
T 600 6400 5 10 1 1 0 0 1
pinlabel=/IDX1
T 100 6400 5 10 1 1 0 0 1
pinnumber=71
T 600 6600 5 10 0 0 0 0 1
pintype=in
T 100 6600 5 10 0 1 0 0 1
pinseq=71
}
P 200 5600 500 5600 1 0 0
{
T 600 5600 5 10 1 1 0 0 1
pinlabel=ENCA2
T 100 5600 5 10 1 1 0 0 1
pinnumber=76
T 600 5800 5 10 0 0 0 0 1
pintype=in
T 100 5800 5 10 0 1 0 0 1
pinseq=76
}
P 200 5200 500 5200 1 0 0
{
T 600 5200 5 10 1 1 0 0 1
pinlabel=/ENCA2
T 100 5200 5 10 1 1 0 0 1
pinnumber=77
T 600 5400 5 10 0 0 0 0 1
pintype=in
T 100 5400 5 10 0 1 0 0 1
pinseq=77
}
P 200 4800 500 4800 1 0 0
{
T 600 4800 5 10 1 1 0 0 1
pinlabel=ENCB2
T 100 4800 5 10 1 1 0 0 1
pinnumber=79
T 600 5000 5 10 0 0 0 0 1
pintype=in
T 100 5000 5 10 0 1 0 0 1
pinseq=79
}
P 200 4400 500 4400 1 0 0
{
T 600 4400 5 10 1 1 0 0 1
pinlabel=/ENCB2
T 100 4400 5 10 1 1 0 0 1
pinnumber=80
T 600 4600 5 10 0 0 0 0 1
pintype=in
T 100 4600 5 10 0 1 0 0 1
pinseq=80
}
P 200 4000 500 4000 1 0 0
{
T 600 4000 5 10 1 1 0 0 1
pinlabel=IDX2
T 100 4000 5 10 1 1 0 0 1
pinnumber=82
T 600 4200 5 10 0 0 0 0 1
pintype=in
T 100 4200 5 10 0 1 0 0 1
pinseq=82
}
P 200 3600 500 3600 1 0 0
{
T 600 3600 5 10 1 1 0 0 1
pinlabel=/IDX2
T 100 3600 5 10 1 1 0 0 1
pinnumber=83
T 600 3800 5 10 0 0 0 0 1
pintype=in
T 100 3800 5 10 0 1 0 0 1
pinseq=83
}
P 200 2800 500 2800 1 0 0
{
T 600 2800 5 10 1 1 0 0 1
pinlabel=ENCA3
T 100 2800 5 10 1 1 0 0 1
pinnumber=88
T 600 3000 5 10 0 0 0 0 1
pintype=in
T 100 3000 5 10 0 1 0 0 1
pinseq=88
}
P 200 2400 500 2400 1 0 0
{
T 600 2400 5 10 1 1 0 0 1
pinlabel=/ENCA3
T 100 2400 5 10 1 1 0 0 1
pinnumber=89
T 600 2600 5 10 0 0 0 0 1
pintype=in
T 100 2600 5 10 0 1 0 0 1
pinseq=89
}
P 200 2000 500 2000 1 0 0
{
T 600 2000 5 10 1 1 0 0 1
pinlabel=ENCB3
T 100 2000 5 10 1 1 0 0 1
pinnumber=91
T 600 2200 5 10 0 0 0 0 1
pintype=in
T 100 2200 5 10 0 1 0 0 1
pinseq=91
}
P 200 1600 500 1600 1 0 0
{
T 600 1600 5 10 1 1 0 0 1
pinlabel=/ENCB3
T 100 1600 5 10 1 1 0 0 1
pinnumber=92
T 600 1800 5 10 0 0 0 0 1
pintype=in
T 100 1800 5 10 0 1 0 0 1
pinseq=92
}
P 200 1200 500 1200 1 0 0
{
T 600 1200 5 10 1 1 0 0 1
pinlabel=IDX3
T 100 1200 5 10 1 1 0 0 1
pinnumber=94
T 600 1400 5 10 0 0 0 0 1
pintype=in
T 100 1400 5 10 0 1 0 0 1
pinseq=94
}
P 200 800 500 800 1 0 0
{
T 600 800 5 10 1 1 0 0 1
pinlabel=/IDX3
T 100 800 5 10 1 1 0 0 1
pinnumber=95
T 600 1000 5 10 0 0 0 0 1
pintype=in
T 100 1000 5 10 0 1 0 0 1
pinseq=95
}

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