delorie.com/archives/browse.cgi | search |
--089e010d82123316d305227ef179 Content-Type: text/plain; charset=UTF-8 On Mon, Oct 19, 2015 at 3:40 PM, DJ Delorie <dj AT delorie DOT com> wrote: > > > > My sample schematic would have U1-1 and U1-1. > > > > So you don't really have a refdes to start from: it doesn't identify > > the component. > > Wordplay. It has a refdes. It's not unique. We do this all the time > for slotted and multi-sym parts. > > And that reference was to show how easy it is for a user to > instantiate symbols that don't have a unique identity, a problem you > still haven't addressed. > > > You also wrote: > > > > > If the tool *requires* that each symbol be unique, then either... > > > > > > 1. It must not let the user provide non-unique symbols, or > > > > > > 2. It must produce a hard error when it detects non-unique symbols, or > This is what my setup does. Actually it used to do it via script when I did make ran gsch2pcb, now that I use Import schematics I realize this doesn't happen anymore and I'm scared now :0 Oh ho it looks like I noticed this once before and forgot about it again, I've got a FIXME... the problem was that I like the default Import schematics behavior, I would just like to run my various cross-check scripts first. So I don't think I want a mode argument to Import exactly. Is there some way to make Import schematics run a before-hook type thingy (ideally a make target), then do what it normally does? --089e010d82123316d305227ef179 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo= te">On Mon, Oct 19, 2015 at 3:40 PM, DJ Delorie <span dir=3D"ltr"><<a hr= ef=3D"mailto:dj AT delorie DOT com" target=3D"_blank">dj AT delorie DOT com</a>></span= > wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo= rder-left:1px #ccc solid;padding-left:1ex"><br> > > My sample schematic would have U1-1 and U1-1.<br> ><br> > So you don't really have a refdes to start from: it doesn't id= entify<br> > the component.<br> <br> Wordplay.=C2=A0 It has a refdes.=C2=A0 It's not unique.=C2=A0 We do thi= s all the time<br> for slotted and multi-sym parts.<br> <br> And that reference was to show how easy it is for a user to<br> instantiate symbols that don't have a unique identity, a problem you<br= > still haven't addressed.<br> <br> > You also wrote:<br> ><br> > > If the tool *requires* that each symbol be unique, then either...= <br> > ><br> > > 1. It must not let the user provide non-unique symbols, or<br> > ><br> > > 2. It must produce a hard error when it detects non-unique symbol= s, or<br></blockquote><div><br></div><div style=3D"">This is what my setup = does.=C2=A0 Actually it used to do it via script when I did make ran gsch2p= cb, now that I use Import schematics I realize this doesn't happen anym= ore and I'm scared now :0</div><div style=3D""><br></div><div style=3D"= ">Oh ho it looks like I noticed this once before and forgot about it again,= I've got a FIXME... the problem was that I like the default Import sch= ematics behavior, I would just like to run my various cross-check scripts f= irst.=C2=A0 So I don't think I want a mode argument to Import exactly.<= /div><div style=3D""><br></div><div style=3D"">Is there some way to make Im= port schematics run a before-hook type thingy (ideally a make target), then= do what it normally does?</div><div style=3D""><br></div><div style=3D""><= br></div></div></div></div> --089e010d82123316d305227ef179--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |