delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2012/08/05/04:16:38

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Mailer: exmh version 2.7.2 01/07/2005 (debian 1:2.7.2-18) with nmh-1.3
X-Exmh-Isig-CompType: repl
X-Exmh-Isig-Folder: inbox
To: geda-user AT delorie DOT com
cc: karl AT aspodata DOT se
Fcc: +outbox
Subject: Re: [geda-user] parts of a device to different (schematic) subsheets
In-reply-to: <jvjd9c$qdn$1@dough.gmane.org>
References: <20120804132146 DOT 662918283EED AT turkos DOT aspodata DOT se> <jvjd9c$qdn$1 AT dough DOT gmane DOT org>
Comments: In-reply-to Kai-Martin Knaak <kmk AT familieknaak DOT de>
message dated "Sat, 04 Aug 2012 16:57:48 +0200."
Mime-Version: 1.0
Message-Id: <20120805081522.580218283EF6@turkos.aspodata.se>
Date: Sun, 5 Aug 2012 10:15:22 +0200 (CEST)
From: karl AT aspodata DOT se (Karl Hammar)
X-Virus-Scanned: ClamAV using ClamSMTP
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

Kai-Martin Knaak:
> Karl Hammar wrote:
> 
> > Does anyone know how to have a few subsheets where there is a common
> > (think MCU) device, e.g. one sheet for the power supply, one for jtag,
> > etc., but they still refer to the same device.
> 
> You'd have to make sure that all of the symbols that refer to the same 
> physical component bear the same refdes. No problem, if you disable refdes 
> mangling in gnetlistrc. But then you have to make sure manually that there 
> are no unwanted duplicate refdeses. 

That might be too much of a pain.

> Refdes mangling is supposed to make the refdeses unique by prefixing them 
> with the refdes of the subsheet. There is no actual check for uniqueness. 
> If you give all some subsheets the same refdes, the effective refdes of the 
> symbols will also be the same. This way, gnetlist can be tricked into 
> merging symbols of different sheets. Of course, you have to make sure, there 
> are no unwanted refdes conflicts.

Ok, that seem the way to goo.

> I whipped up a quick example to test this idea -- see attachment. All 
> symbols should be embedded.

Thanks, yes I can see all symbols.

> Note, I disabled net attribute mangling to make 
> power symbols work across the hierarchy without port symbols.

I see. In "opamp" you connect things via pins and subsheet port-symbols,
in "name" via non-mangled net names.

If you have non-mangled net names you seem cautious to not have any 
unnamed net within the subsheets, which seems to be a to big burden to 
be worth it.

Regards,
/Karl Hammar

-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57

- Raw text -


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