X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-TCPREMOTEIP: 207.224.51.38 X-Authenticated-UID: jpd AT noqsi DOT com From: John Doty Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: multipart/alternative; boundary=Apple-Mail-89--228658942 Subject: Re: [geda-user] Hierarchical designs Date: Fri, 8 Nov 2013 16:22:30 -0700 In-Reply-To: To: geda-user AT delorie DOT com References: Message-Id: <69B010DC-D704-42E1-88FF-3134BB83B66A@noqsi.com> X-Mailer: Apple Mail (2.1085) Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk --Apple-Mail-89--228658942 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Nov 7, 2013, at 9:51 PM, bsalinux AT gmail DOT com wrote: > attached are the symbol and the schematic.=20 Repaired symbol, with source=3Doc_driver.sch attribute: gafrc file to make symbol and source accessible: Test file: With the test file open in gschem, select X1, "Hd" goes down into the = subschematic, "Hu" goes up. gnetlist -g geda octest.sch creates a flatted schematic (in = "output.net") to examine. Problem: GND in the subschematic is renamed X1/GND. It's local to the = subschematic (by design). If you want to attach local GND to system GND, = you need another pin on your symbol. John Doty Noqsi Aerospace, Ltd. http://www.noqsi.com/ jpd AT noqsi DOT com --Apple-Mail-89--228658942 Content-Type: multipart/mixed; boundary=Apple-Mail-90--228658941 --Apple-Mail-90--228658941 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii
On Nov 7, 2013, at 9:51 PM, bsalinux AT gmail DOT com wrote:

attached are the symbol and the schematic.

Repaired symbol, with source=oc_driver.sch attribute:

--Apple-Mail-90--228658941 Content-Disposition: attachment; filename=oc_driver.sym Content-Type: application/octet-stream; name="oc_driver.sym" Content-Transfer-Encoding: 7bit v 20110115 2 A 1000 400 400 0 360 3 0 0 0 -1 -1 L 800 700 800 100 3 0 0 0 -1 -1 L 800 500 1100 700 3 0 0 0 -1 -1 L 800 300 1100 100 3 0 0 0 -1 -1 P 200 400 600 400 1 0 0 { T 0 700 5 10 0 0 0 0 1 pintype=in T 0 200 5 10 1 1 0 0 1 pinlabel=drive_in T 505 445 5 10 1 1 0 6 1 pinnumber=1 T 0 500 5 10 0 0 0 0 1 pinseq=1 } P 1100 1200 1100 800 1 0 0 { T 1400 1100 5 10 0 0 0 0 1 pintype=oc T 1300 1100 5 10 1 1 90 6 1 pinlabel=OC T 1050 895 5 10 1 1 90 0 1 pinnumber=2 T 1400 900 5 10 0 0 0 0 1 pinseq=2 } T 1500 400 8 10 0 0 0 0 1 device=none T 100 -600 8 10 0 0 0 0 1 description=OC Driver L 1100 200 1100 100 3 0 0 0 -1 -1 L 1100 100 1000 100 3 0 0 0 -1 -1 L 1000 100 1100 200 3 0 0 0 -1 -1 T 1500 300 9 10 1 0 0 0 1 OC Driver T 1500 500 8 10 0 0 0 0 1 footprint=none T 1500 500 8 10 1 1 0 0 1 refdes=X? T 1400 1300 8 10 0 0 0 0 1 source=oc_driver.sch --Apple-Mail-90--228658941 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii

gafrc file to make symbol and source accessible:

--Apple-Mail-90--228658941 Content-Disposition: attachment; filename=gafrc Content-Type: application/octet-stream; name="gafrc" Content-Transfer-Encoding: 7bit (component-library ".") (source-library ".") --Apple-Mail-90--228658941 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii

Test file:


--Apple-Mail-90--228658941 Content-Disposition: attachment; filename=octest.sch Content-Type: application/octet-stream; name="octest.sch" Content-Transfer-Encoding: 7bit v 20110115 2 C 40000 40000 0 0 0 EMBEDDEDNoqsi-title-B.sym [ B 40000 40000 17000 11000 15 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 T 54400 41500 5 10 0 0 0 0 1 graphical=1 L 52900 40600 52900 40000 15 0 0 0 -1 -1 B 49400 40000 7600 1400 15 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 L 49400 40700 57000 40700 15 0 0 0 -1 -1 T 50000 40500 9 10 0 1 0 0 1 date=$Date: 2010-02-10 22:01:20 $ T 53900 40500 9 10 0 1 0 0 1 rev=$Revision: 1.2 $ T 55400 40200 9 10 0 1 0 0 1 auth=$Author: jpd $ T 50200 40800 9 8 0 1 0 0 1 fname=$Source: /cvs/Osaka/SXI/Components/Symbols/Noqsi-title-B.sym,v $ T 53200 41200 9 14 0 1 0 4 1 title=TITLE T 49500 40800 15 8 1 0 0 0 1 FILE: T 53000 40500 15 8 1 0 0 0 1 REVISION: T 53000 40200 15 8 1 0 0 0 1 DRAWN BY: T 49500 40200 15 8 1 0 0 0 1 PAGE T 51200 40200 15 8 1 0 0 0 1 OF T 49500 41200 15 8 1 0 0 0 1 TITLE T 49500 40500 15 8 1 0 0 0 1 DATE B 49400 49600 7600 1400 15 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 T 50200 50400 9 30 1 0 0 0 1 Noqsi Aerospace, Ltd. T 50600 50100 9 10 1 0 0 0 1 2822 South Nova Road, Pine, Colorado, USA 80470 T 51300 49800 9 10 1 0 0 0 1 +1-303-816-2756 jpd AT noqsi DOT com ] { T 50000 40500 5 10 1 1 0 0 1 date=$Date: 2010-02-10 22:01:20 $ T 53900 40500 5 10 1 1 0 0 1 rev=$Revision: 1.2 $ T 55400 40200 5 10 1 1 0 0 1 auth=$Author: jpd $ T 50200 40800 5 8 1 1 0 0 1 fname=$Source: /cvs/Osaka/SXI/Components/Symbols/Noqsi-title-B.sym,v $ T 53200 41200 5 14 1 1 0 4 1 title=TITLE } C 47700 45800 1 0 0 EMBEDDEDoc_driver.sym [ A 48700 46200 400 0 360 3 0 0 0 -1 -1 L 48500 46500 48500 45900 3 0 0 0 -1 -1 L 48500 46300 48800 46500 3 0 0 0 -1 -1 L 48500 46100 48800 45900 3 0 0 0 -1 -1 P 47900 46200 48300 46200 1 0 0 { T 47700 46500 5 10 0 0 0 0 1 pintype=in T 47700 46000 5 10 1 1 0 0 1 pinlabel=drive_in T 48205 46245 5 10 1 1 0 6 1 pinnumber=1 T 47700 46300 5 10 0 0 0 0 1 pinseq=1 } P 48800 47000 48800 46600 1 0 0 { T 49100 46900 5 10 0 0 0 0 1 pintype=oc T 49000 46900 5 10 1 1 90 6 1 pinlabel=OC T 48750 46695 5 10 1 1 90 0 1 pinnumber=2 T 49100 46700 5 10 0 0 0 0 1 pinseq=2 } L 48800 46000 48800 45900 3 0 0 0 -1 -1 L 48800 45900 48700 45900 3 0 0 0 -1 -1 L 48700 45900 48800 46000 3 0 0 0 -1 -1 T 49200 46200 8 10 0 0 0 0 1 device=none T 47800 45200 8 10 0 0 0 0 1 description=OC Driver T 49200 46100 9 10 1 0 0 0 1 OC Driver T 49200 46300 8 10 0 0 0 0 1 footprint=none T 49200 46300 8 10 0 1 0 0 1 refdes=X? T 49100 47100 8 10 0 0 0 0 1 source=oc_driver.sch ] { T 49200 46300 5 10 1 1 0 0 1 refdes=X1 } N 47900 46200 46500 46200 4 { T 46700 46000 5 10 1 1 0 0 1 netname=in } N 48800 47000 48800 48300 4 { T 48900 47800 5 10 1 1 0 0 1 netname=out } --Apple-Mail-90--228658941 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii

With the test file open in gschem, select X1, "Hd" goes down into the subschematic, "Hu" goes up.

gnetlist -g geda octest.sch creates a flatted schematic (in "output.net") to examine.

Problem:

GND in the subschematic is renamed X1/GND. It's local to the subschematic (by design). If you want to attach local GND to system GND, you need another pin on your symbol.

John Doty              Noqsi Aerospace, Ltd.

http://www.noqsi.com/

jpd AT noqsi DOT com



--Apple-Mail-90--228658941-- --Apple-Mail-89--228658942--