X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=VvO/TKr3d5Dgb3oWlIdpNEqXdejD1qeoRr7vXcpH49Q=; b=bxiezXMWAnGRCPx88BeGIaAo5KlffmJzDQ7J/Tv06FORnL4JqENNTH03Ra7zu3XvWH FHoa+6M3YuJY6DSEgt+EMeoFdLBur0kZYA1DSwZ97Vx7yd3Wfjx4BiS7Y75j616JwSS9 il39QMF2Zj8ITW0i+0y89ymLCsYD56oyuqtlLIF2MTuHpfEl239FtGaNAIKOSPOwQfW3 ex5KW+hU+nrZ2jx7a/xEtguLFy2rZ8bTCQAZjPlLz/CvoxEAzfyeAC45zqQAiNHSUoM/ Ig+LYlOBDGYYGaB03cIDd2NurBObpq+d/GQAXWC+bPQGjCjgCN5Tkj4TVd6ZCRAqd6xd 8HPQ== X-Received: by 10.194.63.238 with SMTP id j14mr33364533wjs.172.1450818915772; Tue, 22 Dec 2015 13:15:15 -0800 (PST) Date: Tue, 22 Dec 2015 22:15:14 +0100 From: "Nicklas Karlsson (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com]" To: geda-user AT delorie DOT com Subject: Re: [geda-user] Cross project collaboration on data models Message-Id: <20151222221514.a8ccacd1bc98bb4cbcca50fc@gmail.com> In-Reply-To: <85A4C9A0-C4B2-4ABB-862C-2BAB26D54C2D@noqsi.com> References: <85A4C9A0-C4B2-4ABB-862C-2BAB26D54C2D AT noqsi DOT com> X-Mailer: Sylpheed 3.5.0beta1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 > On Dec 22, 2015, at 10:52 AM, Peter Clifton (petercjclifton AT googlemail DOT com) [via geda-user AT delorie DOT com] wrote: > > > On 22 December 2015 at 17:38, John Doty wrote: > > > >> The one thing that led to many corrupted schematics in one of my projects was a change in the attribute promotion policy, promoting attributes that I had intended to control in heavy symbols. That made a real mess. I suppose that the developer who made the change thought it would be helpful, but it was a naughty thing to do. > > > > Urg... I will go bang my head hard against a wall if that turned out > > to be something _I_ was responsible for. Definitely a naughty thing to > > do. > > > > Was this recently, or some time back? > > Maybe five years ago. > > > (Peter B and I always pushed > > very hard to avoid breaking things like that - existing user designs > > not breaking was a golden golden rule). > > Yes. Maybe to a fault. Even I thought it OK to fix the attribute censorship bug, since it involved unstable, difficult to predict behavior. Peter disagreed, so all we did was enable a user fix. > > > > > Generally useful, but needs to be explicitly called out by the target > > netlister I think. > > An interesting possibility. Some netlisters don’t do useful things with an unflattened netlist. On the other hand, some (like the SPICE netlisters) can work either in flattened or unflattened mode, so you need some way to choose. > > Some of the gnetlist Scheme primitives have an extra, unused, “level” attribute that Ales seems to have intended to use as a control for partial flattening. Viewlogic had a similar thing back in the day, but it never worked well. Maybe there’s a design that could work? > > > (I recall gnetlist flattens by default, and acts on > > attributes that have their meaning pretty hard-coded). > > Some are hard coded. Off the top of my head, refdes, pinnumber, numslots, slotdef, slot, pinseq, netname, net, and graphical. A subtle peculiarity of graphical=1 that doesn’t seem to cause much trouble is that there are really two different cases: > > 1. Genuinely graphical objects that have no effect on the netlist, such as a title block. > > 2. Objects that communicate something about a connected net, most commonly its name. > > > > > Another example, our implementation of slotting, makes makes shudder > > somewhat. It is one of the few cases where gEDA throws away its > > complete core agnosticism over attached attributes etc. > > An associated problem is that slotting uses pinseq in a hard-coded way to identify pin function, but some back ends use it to order the pins in a netlist. These are not always compatible. > > > . We should > > have introduced a more generic mechanism, then "activated" (probably > > with a work-flow specific plugin) it for designs which need that > > behaviour. > > Yes. > > John Doty Noqsi Aerospace, Ltd. > http://www.noqsi.com/ > jpd AT noqsi DOT com And more yes.