delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2012/03/27/18:57:55

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Wed, 28 Mar 2012 00:57:30 +0200
From: Kai-Martin Knaak <kmk AT familieknaak DOT de>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] repetitive circuits
Message-ID: <20120328005730.4324e154@kwak>
In-Reply-To: <CACPio-7f0aAH5iF9KHkpVB2EpCFj+NefQ8XXKHN7a1cgAqRaOA@mail.gmail.com>
References: <CACPio-6438uNhTCPB8bi_ROtAaudBWO2nWUwms6U-+LS=jh3Cw AT mail DOT gmail DOT com>
<4F67BB67 DOT 1030004 AT ecosensory DOT com>
<CACPio-7f0aAH5iF9KHkpVB2EpCFj+NefQ8XXKHN7a1cgAqRaOA AT mail DOT gmail DOT com>
X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.10; i486-pc-linux-gnu)
Mime-Version: 1.0
X-Provags-ID: V02:K0:38uDiI3caKPFMxEXiKzOLGiA69onCk8KCgkQs1pgXoP
oBPJvzlIe357tPWoYPFpLs2RncnYS/DYzmdUqgDvI+vmPnj/8B
SVlJS0PB+WZ6Bx2N+8R6Fk8Wt4RfjW/Oz6X2cLuvzW+D0U0fVW
GXNQlyZQnr/6SZD38HSDCdftTANUrjW/fHNd13H7rqPWC/Re0B
K0nztC4Q7TBcRZ1w7uwCPm2lh/1IlJx4yKYP4uVBG6JU1Z65R1
A6KljzuJfF/f6/WR0AGOggAxtulZQj1mJ4SX7VwMulJLAIdEze
J+d1hSEr+62agoEzt3b4COEkmjkBHzLvazgXBKZda66B99UgA=
=
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

Nathan Stewart <therealnathanstewart AT gmail DOT com> schrieb am Mon, 19 Mar 2012 21:24:52 -0400:

> Thanks - I saw the bit about hierarchical schematics but missed the
> bit about being able to use them multiple times. What about refdes
> incrementing and assignment?

gnetlist optionally prefixes strings from sub sheets with the refdes of 
the sub sheet symbol that represents the sub sheet in the master schematic.
That way, the refdeses only need to be unique within the current sheet. 

This is configured in one of the gnetlistrc, which are read in the usual 
order:  system-gnetlistrc , $HOME/.gEDA/gnetlistrc , $PWD/gnetlistrc

The relevant options start with "hierarchy-". My local gnetlistrc 
currently reads:

/-----------------------------------.gEDA/gnetlistrc-------------------
(hierarchy-traversal "enabled")

(hierarchy-uref-mangle "enabled")
(hierarchy-uref-separator "")

(hierarchy-netname-mangle "enabled")
(hierarchy-netname-separator "/")

(hierarchy-netattrib-mangle "disabled")
(hierarchy-netattrib-separator "/")

(unnamed-netname "noname")
\----------------------------------------------------------------------

I like to keep the component names in the layout as short as possible. 
This why I settled for pure integers as refdes for subsheet symbols.
So R42 on a sub sheet will become 1R42 in the layout for the first 
instance of the sub sheet. For the second instance, it will be 2R42.

---<)kaimartin(>---
-- 
Kai-Martin Knaak
kmk AT lilalaser DOT de
http://lilalaser.de/blog

- Raw text -


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