X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f X-Recipient: geda-help AT delorie DOT com X-Authenticated-IP: 207.224.51.38 From: John Doty Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: multipart/alternative; boundary=Apple-Mail-150--254804780 Subject: Re: [geda-help] Creating Symbols for Components with Many Pins Date: Tue, 13 Dec 2011 10:27:42 -0700 In-Reply-To: To: geda-help AT delorie DOT com References: Message-Id: <010834CA-E745-42CC-B243-49187F8A9FC5@noqsi.com> X-Mailer: Apple Mail (2.1084) Reply-To: geda-help AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-help AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk --Apple-Mail-150--254804780 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Dec 12, 2011, at 11:08 PM, Clarke Watson wrote: > I am new to gschema. I am working on a schematic that includes a = connector with 400 pins. With such a large part, I'd like to break the = symbol up into multiple pieces. The last schematic capture tool I used = was Viewlogic (many years ago!) and it had the capability of doing this. = Unfortunately, I don't recall the term that was used. The documentation = for gschem mentions the "numslots" attribute. Can the numslots attribute = be used for this purpose? Does each slot need to have the same number of = pins? >=20 DJ gave you one good way. Another is to create a single pin symbol with = 400 slots. Then just place groups of pins where they make sense. Here's = a 68 pin example symbol: It does take a lot of slotdef attributes to do this, but there does not = appear to be a practical limit for the number you can use. Write a tiny = program in your favorite scripting language to make the list of = attributes, and append it to the symbol file. A great advantage of a = well documented text-based file format. Another way is to use my pins2gsch script to map a table of pin = assignments into a non-graphical pseudo-schematic. When I do this, on = another page I'll draw a bus representing the wires going to the = connector, and then terminate the bus at a degenerate symbol (just a box = and text, no pins) representing the connector that also serves as a = place to attach the necessary attributes for layout and BOM (mainly = refdes and footprint). John Doty Noqsi Aerospace, Ltd. http://www.noqsi.com/ jpd AT noqsi DOT com --Apple-Mail-150--254804780 Content-Type: multipart/mixed; boundary=Apple-Mail-151--254804779 --Apple-Mail-151--254804779 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
I am new = to gschema. I am working on a schematic that includes a connector with = 400 pins. With such a large part, I'd like to break the symbol up into = multiple pieces. The last schematic capture tool I used was = Viewlogic (many years ago!) and it had the capability of doing this. = Unfortunately, I don't recall the term that was used. The = documentation for gschem mentions the "numslots" attribute. Can the = numslots attribute be used for this purpose? Does each slot need to have = the same number of pins?


DJ gave = you one good way. Another is to create a single pin symbol with 400 = slots. Then just place groups of pins where they make sense. Here's a 68 = pin example symbol:

= --Apple-Mail-151--254804779 Content-Disposition: attachment; filename=DD68Fpin.sym Content-Type: application/octet-stream; name="DD68Fpin.sym" Content-Transfer-Encoding: 7bit v 20040111 1 T 400 500 8 10 1 1 0 0 1 refdes=J? P 0 200 300 200 1 0 0 { T 800 400 5 10 0 0 0 0 1 pinnumber=1 T 800 200 5 10 0 0 0 0 1 pinseq=1 T 800 100 5 10 0 0 0 0 1 pinlabel=1 T 800 300 5 10 0 0 0 0 1 pintype=pas } T 600 200 8 10 1 1 0 4 1 slot=1 T 0 0 8 10 0 0 0 0 1 numslots=68 T 0 100 8 10 0 0 0 0 1 slotdef=1:1 T 0 200 8 10 0 0 0 0 1 slotdef=2:2 T 0 300 8 10 0 0 0 0 1 slotdef=3:3 T 0 400 8 10 0 0 0 0 1 slotdef=4:4 T 0 500 8 10 0 0 0 0 1 slotdef=5:5 T 0 600 8 10 0 0 0 0 1 slotdef=6:6 T 0 700 8 10 0 0 0 0 1 slotdef=7:7 T 0 800 8 10 0 0 0 0 1 slotdef=8:8 T 0 900 8 10 0 0 0 0 1 slotdef=9:9 T 0 1000 8 10 0 0 0 0 1 slotdef=10:10 T 0 1100 8 10 0 0 0 0 1 slotdef=11:11 T 0 1200 8 10 0 0 0 0 1 slotdef=12:12 T 0 1300 8 10 0 0 0 0 1 slotdef=13:13 T 0 1400 8 10 0 0 0 0 1 slotdef=14:14 T 0 1500 8 10 0 0 0 0 1 slotdef=15:15 T 0 1600 8 10 0 0 0 0 1 slotdef=16:16 T 0 1700 8 10 0 0 0 0 1 slotdef=17:17 T 0 1800 8 10 0 0 0 0 1 slotdef=18:18 T 0 1900 8 10 0 0 0 0 1 slotdef=19:19 T 0 2000 8 10 0 0 0 0 1 slotdef=20:20 T 0 2100 8 10 0 0 0 0 1 slotdef=21:21 T 0 2200 8 10 0 0 0 0 1 slotdef=22:22 T 0 2300 8 10 0 0 0 0 1 slotdef=23:23 T 0 2400 8 10 0 0 0 0 1 slotdef=24:24 T 0 2500 8 10 0 0 0 0 1 slotdef=25:25 T 0 2600 8 10 0 0 0 0 1 slotdef=26:26 T 0 2700 8 10 0 0 0 0 1 slotdef=27:27 T 0 2800 8 10 0 0 0 0 1 slotdef=28:28 T 0 2900 8 10 0 0 0 0 1 slotdef=29:29 T 0 3000 8 10 0 0 0 0 1 slotdef=30:30 T 0 3100 8 10 0 0 0 0 1 slotdef=31:31 T 0 3200 8 10 0 0 0 0 1 slotdef=32:32 T 0 3300 8 10 0 0 0 0 1 slotdef=33:33 T 0 3400 8 10 0 0 0 0 1 slotdef=34:34 T 0 3500 8 10 0 0 0 0 1 slotdef=35:35 T 0 3600 8 10 0 0 0 0 1 slotdef=36:36 T 0 3700 8 10 0 0 0 0 1 slotdef=37:37 T 0 3800 8 10 0 0 0 0 1 slotdef=38:38 T 0 3900 8 10 0 0 0 0 1 slotdef=39:39 T 0 4000 8 10 0 0 0 0 1 slotdef=40:40 T 0 4100 8 10 0 0 0 0 1 slotdef=41:41 T 0 4200 8 10 0 0 0 0 1 slotdef=42:42 T 0 4300 8 10 0 0 0 0 1 slotdef=43:43 T 0 4400 8 10 0 0 0 0 1 slotdef=44:44 T 0 4500 8 10 0 0 0 0 1 slotdef=45:45 T 0 4600 8 10 0 0 0 0 1 slotdef=46:46 T 0 4700 8 10 0 0 0 0 1 slotdef=47:47 T 0 4800 8 10 0 0 0 0 1 slotdef=48:48 T 0 4900 8 10 0 0 0 0 1 slotdef=49:49 T 0 5000 8 10 0 0 0 0 1 slotdef=50:50 T 0 5100 8 10 0 0 0 0 1 slotdef=51:51 T 0 5200 8 10 0 0 0 0 1 slotdef=52:52 T 0 5300 8 10 0 0 0 0 1 slotdef=53:53 T 0 5400 8 10 0 0 0 0 1 slotdef=54:54 T 0 5500 8 10 0 0 0 0 1 slotdef=55:55 T 0 5600 8 10 0 0 0 0 1 slotdef=56:56 T 0 5700 8 10 0 0 0 0 1 slotdef=57:57 T 0 5800 8 10 0 0 0 0 1 slotdef=58:58 T 0 5900 8 10 0 0 0 0 1 slotdef=59:59 T 0 6000 8 10 0 0 0 0 1 slotdef=60:60 T 0 6100 8 10 0 0 0 0 1 slotdef=61:61 T 0 6200 8 10 0 0 0 0 1 slotdef=62:62 T 0 6300 8 10 0 0 0 0 1 slotdef=63:63 T 0 6400 8 10 0 0 0 0 1 slotdef=64:64 T 0 6500 8 10 0 0 0 0 1 slotdef=65:65 T 0 6600 8 10 0 0 0 0 1 slotdef=66:66 T 0 6700 8 10 0 0 0 0 1 slotdef=67:67 T 0 6800 8 10 0 0 0 0 1 slotdef=68:68 T 700 600 8 10 0 1 0 0 1 device=DD68F T 1300 800 8 10 0 1 0 0 1 footprint=DD68F L 300 200 500 400 3 0 0 0 -1 -1 L 300 200 500 0 3 0 0 0 -1 -1 --Apple-Mail-151--254804779 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii

It does take a lot of slotdef attributes to do this, but there does not appear to be a practical limit for the number you can use. Write a tiny program in your favorite scripting language to make the list of attributes, and append it to the symbol file. A great advantage of a well documented text-based file format.

Another way is to use my pins2gsch script to map a table of pin assignments into a non-graphical pseudo-schematic. When I do this, on another page I'll draw a bus representing the wires going to the connector, and then terminate the bus at a degenerate symbol (just a box and text, no pins) representing the connector that also serves as a place to attach the necessary attributes for layout and BOM (mainly refdes and footprint).

John Doty              Noqsi Aerospace, Ltd.

http://www.noqsi.com/

jpd AT noqsi DOT com



--Apple-Mail-151--254804779-- --Apple-Mail-150--254804780--