www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/07/16/19:23:55

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
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
Subject: Re: [geda-user] Net attributes
From: John Doty <jpd AT noqsi DOT com>
In-Reply-To: <8F26D2B2-3724-4264-B8A4-933E9377306D@noqsi.com>
Date: Thu, 16 Jul 2015 17:23:32 -0600
Message-Id: <A1A4D558-BAB0-4CEA-949D-70335246109F@noqsi.com>
References: <CAM2RGhQ70Pex5aNeQ86vKHc7sKf_Vpws69__CPb2QKg6fJTeHg AT mail DOT gmail DOT com> <20150712224637 DOT 2d4cc2de AT wind DOT levalinux DOT org> <55A2E9B7 DOT 9040502 AT neurotica DOT com> <CAM2RGhSmFhz9=oRaaj2EDL79c5XVmeuwmX_RdLqMv0evEHCyTw AT mail DOT gmail DOT com> <CACwWb3DbmOZbtb9Hrp2JvvG7-toryXuequQA=YV7X6ss762zsw AT mail DOT gmail DOT com> <20150713131707 DOT GA782 AT recycle DOT lbl DOT gov> <CAM2RGhTT__nWCkA4y36rb24yT8xP=o1nR04H=DNqTJiu=naSGA AT mail DOT gmail DOT com> <55A4042E DOT 5060402 AT neurotica DOT com> <CAM2RGhS=5xq0_oN4e0M55Kor4bcnXNn3NfLvRZoi7Vw9Aq1ZXg AT mail DOT gmail DOT com> <55A41B30 DOT 50602 AT neurotica DOT com> <alpine DOT DEB DOT 2 DOT 11 DOT 1507151114560 DOT 2113 AT nimbus> <254F9AFE-1A3E-4D88-BABF-E6E0F87A56B1 AT icloud DOT com> <1436960577 DOT 1072 DOT 6 DOT camel AT ssalewski DOT de> <EE9F72D6-E17A-4F5C-8E9E-45F12C901C9F AT noqsi DOT com> <201507151820 DOT t6FIKYME001704 AT envy DOT delorie DOT com> <201507152007 DOT t6FK7lv8005229 AT envy DOT delorie DOT com> <24AD56C6-B7C2-4D7E-B69A-F68DBACCBFDC AT noqsi DOT com> <4DD9C29A-2105-45DC-9F17-82DA23433919 AT icloud DOT com> <alpine DOT DEB DOT 2 DOT 11 DOT 1507160907360 DOT 3383 AT nimbus> <55A7D999 DOT 5020101 AT ecosensory DOT com!
! ! > <CAOP4iL2koQTZe03R8g8eWfTO4sTPoGNyjvi_+c4eCFExd=udWA AT mail DOT gmail DOT com> <74093FC3-C9AA-4AFF-A158-720676E70E49 AT noqsi DOT com> <201507162045 DOT t6GKj06r028442 AT envy DOT delorie DOT com> <8F26D2B2-3724-4264-B8A4-933E9377306D AT noqsi DOT com>
To: geda-user AT delorie DOT com
X-Mailer: Apple Mail (2.1878.6)
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t6GNNdQ0023992
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

On Jul 16, 2015, at 3:15 PM, John Doty <jpd AT noqsi DOT com> wrote:

> 
> On Jul 16, 2015, at 2:45 PM, DJ Delorie <dj AT delorie DOT com> wrote:
> 
>> 
>>> What happens if the same segment in different instances of a
>>> subcircuit has different properties, for example?
>> 
>> Does our heirarchy system even have a way of parameterizing
>> subcircuits?  I mean, if you had a subcircuit for a generic low-pass
>> filter, could you specify the cutoff in the parent somehow?
>> 
> 
> Nope. I sometimes have to make multiple copies of a subcircuit schematic: same topology but different components. Having more control over hierarchy expansion in gnetlist would be good.

Thinking about this some more, I think I would implement this by generating the customized schematics explicitly by forward annotation rather than by a implicit process in gnetlist. Automate my manual process. The main reason is that for documentation, I want the annotated schematics anyway. Hierarchical schematics are hard enough to deal with on the bench. I think hierarchical, parameterized schematics would cause a revolt ;-) And once you have the annotated schematics, you might as well use them as input to netlist generation. Easier and less error prone than making the netlist and docs from different files.

This is another reason to promote 1.9.whatever to 1.10.0 and get it out. Forward annotation of .sch files is not fundamentally difficult. For simple cases, sed suffices. However, figuring out what to do in a hierarchy has always been difficult because hierarchy expansion depends on both the symbol and source search paths. These have historically been controlled by the Scheme configuration files. It has been tricky to determine exactly which .sym and .sch files are involved (even from Scheme scripts). But in 1.9, we have .ini style configuration files that are much more friendly to a variety of scripting languages. Thank you, Peter Brett.

John Doty              Noqsi Aerospace, Ltd.
http://www.noqsi.com/
jpd AT noqsi DOT com



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019