Mail Archives: geda-user/2016/07/23/16:42:17
Roland Lutz <rlutz AT hedmen DOT org> writes:
> On Sat, 23 Jul 2016, Stephan Böttcher wrote:
>> There is a patch I submitted a long time ago to gnetlist, implementing
>> functionality that I depend on, but that was never looked at by anybody.
>> This is very discouraging, when it comes to invest time for coding.
>
> Do you mean the patch for parameter substitution[1,2]? I'd guess
> that, since that's quite a relevant change, the developers didn't want
> to just apply it without prior discussion.
>
> I had a quick glance at the patch, and it seems what you have been
> doing is roughly equivalent to the parameter substitution patch I
> submitted a while ago in the experimental netlister feature branch[3].
This is your xorn netlister, right?
Well, I do not see me diverting resources or attention from mainline gaf
or pcb anytime soon. Those alternatives/branches do not align with my
needs. I see these just divide the resources of geda for things I do
not care about.
This one feature you solved was solved by myself for gnetlist. No big
incentive to switch to a new netlister.
> I just rebased that branch to the current HEAD and pushed it as
> "home/rlutz/experimental" to the geda-gaf repository, so you can use
> it right now by using that branch and setting
>
> (set! use-new-frontend #t)
>
> in your gnetlistrc file. The user-visible differences to your patch
> are that substitution values are defined with "subst=NAME=value" and
> referenced with "$(NAME)".
If the consensus is that your syntax is preferable, I will change
my patch, initially to accept both forms.
$(NAME) Makefile, which also supports ${NAME}
$NAME or ${NAME} #!/bin/sh
subst=NAME=VALUE = twice.
parameter=NAME:VALUE We have "net=NAME:PIN". My syntax was
guided by that.
But this is only syntax. I understood that the semantics shall be
discussed, before a patch like this could be considered. No such
discussion evolved. In 2012 there was nobody available to discuss. The
only response was: put it into the launchpad buftracker. It was sitting
there ever since.
Anyhow, I used the feature on three board designs that fly to the sun in
two years. One board with 30 copies of a shaper/ADC driver/ADC, with
different gains in the shapers that were set with parameter=
substitution. Two preamp boards with 8 and 12 preamps, again with
different gains set by parameters. My BOMs were exported from PCB and
had all the right parts values, but there is only one preamp and one
shaper schematic page. Now, how about true hierarchical PCB layout?
Stephan
> Roland
>
>
> [1] http://www.ieap.uni-kiel.de/et/people/stephan/rpirena/gnetlist-parameters.patch
> [2] https://bugs.launchpad.net/geda/+bug/911440
> [3] http://article.gmane.org/gmane.comp.cad.geda.user/47097/
--
Stephan
- Raw text -