Mail Archives: geda-user/2015/10/21/15:30:11
--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 <dj AT delorie DOT com> 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--
- Raw text -