delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/10/21/10:08:03

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=bvruituCQ6yA1PiaLs5JmZ+FL6+IMe6uB6n2bkkvx6U=;
b=Ot/On4XuRiRU0ZcLzi02jnFrVNaXDZNZOOG1GyZX9iWYILICnCF2gpv1YDfWJ+G9+P
sJWi5h1wyUYy4ya4/6i1R+D+04Iv6m7cmuiujP9mtHj0ggEzZpgVw/jfvporx7ZuIxp3
GUNlE9WvhhxpkGza6rbhsI7orNyxcnQtrgiuhcX6vDj+05XhLgnTYYnZTgHdQ/1mmssb
otIQireKzcUcF/m1qu1iJNk+x1shMmafFaKR2dMa1TUMxLYWhk5Iq1KtvrUwSNOkWCdY
3niQxYG5KpfMVea5cJvErCCvhs4YchtHMfYi7J1920flpAmjaw0BWDwnx3XiW5opdTrq
aO0w==
X-Received: by 10.194.112.234 with SMTP id it10mr11208859wjb.52.1445436457354;
Wed, 21 Oct 2015 07:07:37 -0700 (PDT)
Date: Wed, 21 Oct 2015 16:07:31 +0200
From: "Nicklas Karlsson (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] Reduce pinnumber attribute
Message-Id: <20151021160731.a4c112ab1a4361e63e9fe694@gmail.com>
In-Reply-To: <EA29668D-BE32-4327-AB8D-1B9C3406903E@noqsi.com>
References: <20151021121348 DOT f3d3f466d0761fbd551f82ce AT gmail DOT com>
<9AB3DC8F-3BB4-4BCA-848F-24F73B8B6C9F AT noqsi DOT com>
<20151021144121 DOT 66c9a78bd3fe002bffc55882 AT gmail DOT com>
<EA29668D-BE32-4327-AB8D-1B9C3406903E AT noqsi DOT com>
X-Mailer: Sylpheed 3.5.0beta1 (GTK+ 2.24.25; x86_64-pc-linux-gnu)
Mime-Version: 1.0
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 Oct 21, 2015, at 6:41 AM, Nicklas Karlsson (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com] <geda-user AT delorie DOT com> wrote:
> 
> > On Wed, 21 Oct 2015 06:26:06 -0600
> > John Doty <jpd AT noqsi DOT com> wrote:
> > 
> >> 
> >> On Oct 21, 2015, at 4:13 AM, Nicklas Karlsson (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com] <geda-user AT delorie DOT com> wrote:
> >> 
> >>> I assume pinnumber attribute is used to uniquely identify a pin.
> >>> 
> >>> For almost all if not all cases I guess the pinlabel could be used as symbol pin number. If netlister use pinlabel attribute if no pinnumber attribute is available number of attributes could be reduced.
> >>> 
> >>> Are there any disadvantages?
> >> 
> >> Gnetlist doesn’t work that way. The Scheme API uses pinnumber to identify the pin. Without pinnumber, you can’t even look up what pinlabel is. However, you can use any string as the “pinnumber”.
> > 
> > But if Gnetlist was changed would there be any disadvantages then?
> 
> It would be a drastic change to the logic of stable production code. Hazardous. That’s the disadvantage.

It is no need to be in a hurry and put into stable production code but it could be worth thinking about. I think reducing number of attributes would an improvement then working with the symbols.

I have started to look at possibility to change sub sheet of elements in buffer for pcb. It is of direct use then using several equal circuits in parallel, it is currently possible to achieve the same by editing buffer in external editor.

Nicklas Karlsson

- Raw text -


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