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

gEDA-user: Possible to add a new parameter to the 'slotdef' attribute ?



   Hello
   I like to ask if it would be practical to add a new type of parameter
   to the slotdef attribute in the symbols. I have several projects in the
   works, some of them involve some type of bus. And the bus can have many
   pins, from the retro projects using the S-100 bus and others using the
   PCI bus and more.
   Below is a symbol I created for the S-100 bus connector. I didn't
   include the footprint attribute yet, although I have one made already.
   I use the slotdef attribute to hold each pin of the bus connector. Then
   when I add a new pin to the schematic, I change the slot# and the
   correct pin is added to the schematic. But I still have to add the
   netname for that bus pin on the connector - which would be the signal
   name from the specification standard.
   I thought it would be practical to incorporate a new definition in the
   slotdef parameter where I can include the netname of the bus pin. Then
   when I add another pin from the bus connector to the schematic, and
   change the soltdef to point to the right pin, it would also update the
   netname automatically on the schematic.
   what do you think ?
   =Dan
   -----------------------------------------------------------------------
   --
   v 20110115 2
   P 0 200 300 200 1 0 0
   {
   T 550 150 5 10 1 1 0 0 1
   pinnumber=1
   T 500 2750 5 10 0 0 0 0 1
   pinseq=1
   }
   L 500 0 900 0 3 0 0 0 -1 -1
   L 900 400 500 400 3 0 0 0 -1 -1
   T 500 2950 5 10 0 0 0 0 1
   device=s100busconn
   T 500 3150 5 10 0 0 0 0 1
   graphical=1
   T 1150 150 5 10 1 1 0 0 1
   netname=?
   A 900 200 200 270 180 3 0 0 0 -1 -1
   A 500 200 200 90 180 3 0 0 0 -1 -1
   T 495 2600 8 10 0 0 0 0 1
   numslots=100
   T 495 3300 8 10 0 0 0 0 1
   device=S100busconn
   T 495 3450 8 10 0 0 0 0 1
   description=S-100 Bus Connector
   T 495 2450 8 10 0 0 0 0 1
   slot=1
   T 495 2300 8 10 0 0 0 0 1
   slotdef=1:1
   T 495 2100 8 10 0 0 0 0 1
   slotdef=2:2
   T 495 1900 8 10 0 0 0 0 1
   slotdef=3:3
   T 495 1700 8 10 0 0 0 0 1
   slotdef=4:4
   T 495 1500 8 10 0 0 0 0 1
   slotdef=5:5
   T 495 1300 8 10 0 0 0 0 1
   slotdef=6:6
   T 495 1100 8 10 0 0 0 0 1
   slotdef=7:7
   T 495 900 8 10 0 0 0 0 1
   slotdef=8:8
   T 495 700 8 10 0 0 0 0 1
   slotdef=9:9
   T 495 500 8 10 0 0 0 0 1
   slotdef=10:10
   T 1645 2300 8 10 0 0 0 0 1
   slotdef=11:11
   T 1645 2100 8 10 0 0 0 0 1
   slotdef=12:12
   T 1645 1900 8 10 0 0 0 0 1
   slotdef=13:13
   T 1645 1700 8 10 0 0 0 0 1
   slotdef=14:14
   T 1645 1500 8 10 0 0 0 0 1
   slotdef=15:15
   T 1645 1300 8 10 0 0 0 0 1
   slotdef=16:16
   T 1645 1100 8 10 0 0 0 0 1
   slotdef=17:17
   T 1645 900 8 10 0 0 0 0 1
   slotdef=18:18
   T 1645 700 8 10 0 0 0 0 1
   slotdef=19:19
   T 1645 500 8 10 0 0 0 0 1
   slotdef=20:20
   T 2795 2300 8 10 0 0 0 0 1
   slotdef=21:21
   T 2795 2100 8 10 0 0 0 0 1
   slotdef=22:22
   T 2795 1900 8 10 0 0 0 0 1
   slotdef=23:23
   T 2795 1700 8 10 0 0 0 0 1
   slotdef=24:24
   T 2795 1500 8 10 0 0 0 0 1
   slotdef=25:25
   T 2795 1300 8 10 0 0 0 0 1
   slotdef=26:26
   T 2795 1100 8 10 0 0 0 0 1
   slotdef=27:27
   T 2795 900 8 10 0 0 0 0 1
   slotdef=28:28
   T 2795 700 8 10 0 0 0 0 1
   slotdef=29:29
   T 2795 500 8 10 0 0 0 0 1
   slotdef=30:30
   T 3895 2300 8 10 0 0 0 0 1
   slotdef=31:31
   T 3895 2100 8 10 0 0 0 0 1
   slotdef=32:32
   T 3895 1900 8 10 0 0 0 0 1
   slotdef=33:33
   T 3895 1700 8 10 0 0 0 0 1
   slotdef=34:34
   T 3895 1500 8 10 0 0 0 0 1
   slotdef=35:35
   T 3895 1300 8 10 0 0 0 0 1
   slotdef=36:36
   T 3895 1100 8 10 0 0 0 0 1
   slotdef=37:37
   T 3895 900 8 10 0 0 0 0 1
   slotdef=38:38
   T 3895 700 8 10 0 0 0 0 1
   slotdef=39:39
   T 3895 500 8 10 0 0 0 0 1
   slotdef=40:40
   T 4995 2300 8 10 0 0 0 0 1
   slotdef=41:41
   T 4995 2100 8 10 0 0 0 0 1
   slotdef=42:42
   T 4995 1900 8 10 0 0 0 0 1
   slotdef=43:43
   T 4995 1700 8 10 0 0 0 0 1
   slotdef=44:44
   T 4995 1500 8 10 0 0 0 0 1
   slotdef=45:45
   T 4995 1300 8 10 0 0 0 0 1
   slotdef=46:46
   T 4995 1100 8 10 0 0 0 0 1
   slotdef=47:47
   T 4995 900 8 10 0 0 0 0 1
   slotdef=48:48
   T 4995 700 8 10 0 0 0 0 1
   slotdef=49:49
   T 4995 500 8 10 0 0 0 0 1
   slotdef=50:50
   T 6095 2300 8 10 0 0 0 0 1
   slotdef=51:51
   T 6095 2100 8 10 0 0 0 0 1
   slotdef=52:52
   T 6095 1900 8 10 0 0 0 0 1
   slotdef=53:53
   T 6095 1700 8 10 0 0 0 0 1
   slotdef=54:54
   T 6095 1500 8 10 0 0 0 0 1
   slotdef=55:55
   T 6095 1300 8 10 0 0 0 0 1
   slotdef=56:56
   T 6095 1100 8 10 0 0 0 0 1
   slotdef=57:57
   T 6095 900 8 10 0 0 0 0 1
   slotdef=58:58
   T 6095 700 8 10 0 0 0 0 1
   slotdef=59:59
   T 6095 500 8 10 0 0 0 0 1
   slotdef=60:60
   T 7195 2300 8 10 0 0 0 0 1
   slotdef=61:61
   T 7195 2100 8 10 0 0 0 0 1
   slotdef=62:62
   T 7195 1900 8 10 0 0 0 0 1
   slotdef=63:63
   T 7195 1700 8 10 0 0 0 0 1
   slotdef=64:64
   T 7195 1500 8 10 0 0 0 0 1
   slotdef=65:65
   T 7195 1300 8 10 0 0 0 0 1
   slotdef=66:66
   T 7195 1100 8 10 0 0 0 0 1
   slotdef=67:67
   T 7195 900 8 10 0 0 0 0 1
   slotdef=68:68
   T 7195 700 8 10 0 0 0 0 1
   slotdef=69:69
   T 7195 500 8 10 0 0 0 0 1
   slotdef=70:70
   T 8295 2300 8 10 0 0 0 0 1
   slotdef=71:71
   T 8295 2100 8 10 0 0 0 0 1
   slotdef=72:72
   T 8295 1900 8 10 0 0 0 0 1
   slotdef=73:73
   T 8295 1700 8 10 0 0 0 0 1
   slotdef=74:74
   T 8295 1500 8 10 0 0 0 0 1
   slotdef=75:75
   T 8295 1300 8 10 0 0 0 0 1
   slotdef=76:76
   T 8295 1100 8 10 0 0 0 0 1
   slotdef=77:77
   T 8295 900 8 10 0 0 0 0 1
   slotdef=78:78
   T 8295 700 8 10 0 0 0 0 1
   slotdef=79:79
   T 8295 500 8 10 0 0 0 0 1
   slotdef=80:80
   T 9445 2300 8 10 0 0 0 0 1
   slotdef=81:81
   T 9445 2100 8 10 0 0 0 0 1
   slotdef=82:82
   T 9445 1900 8 10 0 0 0 0 1
   slotdef=83:83
   T 9445 1700 8 10 0 0 0 0 1
   slotdef=84:84
   T 9445 1500 8 10 0 0 0 0 1
   slotdef=85:85
   T 9445 1300 8 10 0 0 0 0 1
   slotdef=86:86
   T 9445 1100 8 10 0 0 0 0 1
   slotdef=87:87
   T 9445 900 8 10 0 0 0 0 1
   slotdef=88:88
   T 9445 700 8 10 0 0 0 0 1
   slotdef=89:89
   T 9445 500 8 10 0 0 0 0 1
   slotdef=90:90
   T 10595 2300 8 10 0 0 0 0 1
   slotdef=91:91
   T 10595 2100 8 10 0 0 0 0 1
   slotdef=92:92
   T 10595 1900 8 10 0 0 0 0 1
   slotdef=93:93
   T 10595 1700 8 10 0 0 0 0 1
   slotdef=94:94
   T 10595 1500 8 10 0 0 0 0 1
   slotdef=95:95
   T 10595 1300 8 10 0 0 0 0 1
   slotdef=96:96
   T 10595 1100 8 10 0 0 0 0 1
   slotdef=97:97
   T 10595 900 8 10 0 0 0 0 1
   slotdef=98:98
   T 10595 700 8 10 0 0 0 0 1
   slotdef=99:99
   T 10595 500 8 10 0 0 0 0 1
   slotdef=100:100
   -----------------------------------------------------------------------
   --

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