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 Content-Type: multipart/signed; boundary="Apple-Mail=_08BFD88C-D79B-44B4-A72C-1F7D9C3D4362"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: [geda-user] Pin mapping (separate symbols from mappings) X-Pgp-Agent: GPGMail 2.5.2 From: John Doty In-Reply-To: <201510211846.t9LIkHSv027493@envy.delorie.com> Date: Wed, 21 Oct 2015 13:29:22 -0600 Message-Id: <7F3C273B-535C-4CAE-9969-A18F5F5F94AF@noqsi.com> References: <20151018204010 DOT 9cce6a231dcc296256e187bd AT gmail DOT com> <201510181843 DOT t9IIhmWo025346 AT envy DOT delorie DOT com> <20151018234424 DOT c0551dad9bef0859130239d9 AT gmail DOT com> <36B94694-F2AC-4A75-A8EB-40A1CE9A534C AT noqsi DOT com> <201510182225 DOT t9IMPkxK032763 AT envy DOT delorie DOT com> <20151019003814 DOT f62620bf0fec77e65104c105 AT gmail DOT com> <201510190242 DOT t9J2gl7w009345 AT envy DOT delorie DOT com> <20151019092555 DOT 46eed4540c2d2044bbeab878 AT gmail DOT com> <1A419AED-FCCA-4B1F-8589-912435534E2E AT noqsi DOT com> <201510191647 DOT t9JGlu4j024585 AT envy DOT delorie DOT com> <041FF42A-691F-4E6B-9DEB-8C6B3C2F3E53 AT noqsi DOT com> <201510191850 DOT t9JIop8Y029095 AT envy DOT delorie DOT com> <201510192055 DOT t9JKt2o6005861 AT envy DOT delorie DOT com> <1E816300-E31E-4B85-B51D-7EAEC5A466BF AT noqsi DOT com> <201510192110 DOT t9JLAFKG007281 AT envy DOT delorie DOT com> <201510192340 DOT t9JNeo6n020302 AT envy DOT delorie DOT com> To: geda-user AT delorie DOT com X-Mailer: Apple Mail (2.1878.6) 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=_08BFD88C-D79B-44B4-A72C-1F7D9C3D4362 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Oct 21, 2015, at 12:46 PM, DJ Delorie wrote: >>=20 >> Here's an alpha gnetlist back end that detects duplicate refdes-pin >> combinations, >=20 > Ok, good. How do we integrate that with the backends that require > uniqueness? You can integrate the version I posted in two ways: (1) In a shell script or similar as something like: gnetlist -g check-duplicates files.sch && gnetlist -g your-backend = files.sch (2) You can add code to your backend to load and execute it. Something = like: (load-from-path =93gnet-check-duplicates.scm=94) (check-duplicates =93foo") =93foo=94 is just a placeholder for the unused output filename argument: = the code actually sends output to (current-error-port), perhaps more = commonly known as stderr. I haven=92t tried (2) yet. It would be faster = than (1) for big designs. (1) takes a minute or so for a board design = with 3500 components on my MacBook. In either case you get an error = return and no netlist in case of error. > Do we somehow have a library of "helper" plugins that the > netlister can offer to backends? We don=92t, but enabling such a thing looks like it would be just a = handful of lines of code in the common file = share/gEDA/scheme/gnetlist-post.scm. They would basically have to figure = out which plugins you want (config file?), and do (2) above for each = one. John Doty Noqsi Aerospace, Ltd. http://www.noqsi.com/ jpd AT noqsi DOT com --Apple-Mail=_08BFD88C-D79B-44B4-A72C-1F7D9C3D4362 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJWJ+eTAAoJEF1Aj/0UKykRx90P/j8IONMtYIoARac0YZbesmT2 76uTEZTFuOJKS6NZChBjBsm1pDbDu/qcmu5OkdetDGHmH3UpEcdad+CS8+KxEXQR 5FUyjd47mhkXfL7V3PpJ8mhA+C5xTx06GNyGBen2SL8I+9S2U4azM1wrm+app6Fb /v0Jc71y4Rj2aGOwxFvH6N4Kv8N1bc/5FDkHBKTc+6w+1yl/Y2iO9YqK5v3WzlpG JWuOD/kyvO5/la71CSQEh/yEkHt5SJayjan59RSF0NGPNNjq6p50yJV5o8Q5iK8/ wiLbWEZu45lg35nGWqZQv8/P3a/m5GL3Gb4y7hnTQwb29UfUp5kdDjNQPJaO7gxG 4uV5uz6Qx8uFsdMz4oN379r/l5SGgL93pkl2S24eAP542LTGEKsiYb6ED/AktrES MPelRRIgo+9CTev9vpYR3Ijn+of8ccjiKdoDEQ1qefSSXxE5SBEskGz3PBbSOno+ qj5Tfzh6cXCsNlJSEWtTQRfA/hyz/YsiwpBl6fvXNcKBXzkIVQy5tmTmUS5mg5r/ dg+oOwuk1g7gqXpIdHbq2tdqCVTg5yVBfpD45HdsCVFDOwLCRc5n10rTYTm0vUn7 dJuEnX3RwdZStsSruJp5O+Ezebu4VIjKYw8kpEY8yzoTs+Zlu0LRc0suoEXk4xTC ZKgjasC7JjUdXivbmsYF =/BGB -----END PGP SIGNATURE----- --Apple-Mail=_08BFD88C-D79B-44B4-A72C-1F7D9C3D4362--