Mail Archives: geda-user/2013/11/08/18:23:15
--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
<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Nov 7, 2013, at 9:51 PM, <a href="mailto:bsalinux AT gmail DOT com">bsalinux AT gmail DOT com</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">attached are the symbol and the schematic. <br></div></blockquote><br></div><div>Repaired symbol, with source=oc_driver.sch attribute:</div><div><br></div><div></div></body></html>
--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
<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><head></head><div></div><div><br></div><div>gafrc file to make symbol and source accessible:</div><div><br></div><div></div></body></html>
--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
<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><head></head><div></div><div><br></div><div>Test file:</div><div><br></div><div><br></div><div></div></body></html>
--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
<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div></div><div><br></div><div>With the test file open in gschem, select X1, "Hd" goes down into the subschematic, "Hu" goes up.</div><div><br></div><div>gnetlist -g geda octest.sch creates a flatted schematic (in "<a href="http://output.net">output.net</a>") to examine.</div><div><br></div><div>Problem:</div><div><br></div><div>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.</div><br><div>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 12px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica">John Doty<span class="Apple-converted-space"> <span class="Apple-converted-space"> </span><span class="Apple-converted-tab"> <span class="Apple-converted-space"> </span></span></span>Noqsi Aerospace, Ltd.</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 12px; "><a href="http://www.noqsi.com/">http://www.noqsi.com/</a></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 12px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica"><a href="mailto:jpd AT noqsi DOT com">jpd AT noqsi DOT com</a></font></p><span class="Apple-style-span" style="font-size: 12px; "><br class="Apple-interchange-newline"></span>
</div>
<br></body></html>
--Apple-Mail-90--228658941--
--Apple-Mail-89--228658942--
- Raw text -