ID: | 39 |
From: | ge...@igor2.repo.hu |
Date: | Tue, 30 Aug 2016 06:12:08 +0200 (CEST) |
Subject: | [pcb-rnd] RFC: dynamic DRC proposal |
Hi all, the next step in our current developemnt cycle is to program an advanced selection action, that can select objects by properties - including attributes, so that selecting any "impedance=50 ohm" traces is possible at once. (These attributes could come from gschem long term!) I figured thre's a big overlap between this selection and the long term programmable DRC (that I started to call dynamic DRC). To avoid parallel incompatible infrastrcutures growing, I drafted a proposal for the DRC language. It can be found in trunk/doc-rnd/ddrc or on web: http://repo.hu/projects/pcb-rnd/ddrc/ Please read requirements.txt; any ddrc should handle most of these cases. If you can think of more cases you think a scriptable drc idea should be checked against, please let me know (or just edit and commit the file). My first proposal is in proposal1.txt; it's a declarative custom mini-language. I believe we really need to have a stateless declarative language here, because that allows us to do some optimiziations. Without that, DRC would literally take hours to run on a large board. Please check if the proposal makes sense. I numbered the paragraphs so that we can discuss them easier on the mailing list or on IRC. If you edit the file, please number new paragraphs without renumbering any existing paragraph. Finally, a few example rules can be found in examples1.txt. The part that would end up in the search/select engine is the search expression - the same way drc searches for objects the user can search and select objects. The whole language is in an early stage with some rules and syntax changing. Suggestions are welcome! TIA, Igor2
Reply subtree:
39 [pcb-rnd] RFC: dynamic DRC proposal from ge...@igor2.repo.hu