X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Mailer: exmh version 2.8.0 04/21/2012 (debian 1:2.8.0~rc1-2) with nmh-1.5 X-Exmh-Isig-CompType: repl X-Exmh-Isig-Folder: inbox From: karl AT aspodata DOT se To: geda-user AT delorie DOT com Subject: Re: [geda-user] why pinnumber in sym pins? In-reply-to: <20180106171455.2518ffeb48c5079339697e0b@gmail.com> References: <20171226122009 DOT 366BF804CEDE AT turkos DOT aspodata DOT se> <20180106155314 DOT 38132804CECC AT turkos DOT aspodata DOT se> <20180106171455 DOT 2518ffeb48c5079339697e0b AT gmail DOT com> Comments: In-reply-to "Nicklas Karlsson (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com]" message dated "Sat, 06 Jan 2018 17:14:55 +0100." Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Message-Id: <20180106165242.D5C1A804CEEF@turkos.aspodata.se> Date: Sat, 6 Jan 2018 17:52:42 +0100 (CET) X-Virus-Scanned: ClamAV using ClamSMTP 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 Niklas: > > Ok, I get it and done some testing in http://turkos.aspodata.se/tmp/gEDA/pinnumber/ > > > > So, in a sym file (dcdc_isol.sym), a: > > > > P 300 200 0 200 1 0 1 > > { > > T 275 225 5 6 1 1 0 6 1 > > pinnumber=-Vin > > } > > > > gives the correct net: > > > > $ fgrep -e -Vin test.net > > 0V U1--Vin X1-1 U2--Vin > > $ > > > > where U1--Vin is matched by pcb to the second "-Vin" (the pins "number") > > in the fp: > > > > Pin [ 0.000mm 0.000mm 2.000mm 0.500mm 2.400mm 1.000mm "-Vin" "-Vin" "" ] > > > > giving me the correct ratsnet in test.pcb. > > > > /// > > > > That implies that I potentially need two fp for the same thing: > > , one with numbers, if I use numbers in the sym file > > I think the pinseq attribute is used to map to footprint pin? Try to read through Rolands message: http://www.delorie.com/archives/browse.cgi?p=geda-user/2018/01/02/14:32:46 and come back and tell us what you don't understand. You can also try the testcase I gave a link to above. > > . one with names, if I use names in the sym file > > To use labels on pins in footprint might be a solution to the mapping problem. Labels are nice for us humans to be able to read instead of plain numbers, i.e. for the mapping between the schematic and my brain. > Mapping is the only hard thing with schematic symbols otherwise it > is simple regardless of type: electric circuit, hydraulic circuit, > simulink/xcos style blocks, ... Mapping is only hard if you don't understand how (in this case) gschem and pcb handles it. Regards, /Karl Hammar ----------------------------------------------------------------------- Aspö Data Lilla Aspö 148 S-742 94 Östhammar Sweden +46 173 140 57