delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2012/04/29/06:02:12

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
Subject: Re: [geda-user] Down schematic hierarchy question
In-reply-to: <CAOP4iL0BCHfy0yQHRzV4YZ=Qy0iNi_Vx49uBgahZkL6BFKq1nQ@mail.gmail.com>
References: <CAOP4iL0BCHfy0yQHRzV4YZ=Qy0iNi_Vx49uBgahZkL6BFKq1nQ AT mail DOT gmail DOT com>
Comments: In-reply-to Ouabache Designworks <z3qmtr45 AT gmail DOT com>
message dated "Sat, 28 Apr 2012 23:39:41 -0700."
Mime-Version: 1.0
Message-Id: <20120429100154.C21798147867@turkos.aspodata.se>
Date: Sun, 29 Apr 2012 12:01:54 +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

John Eaton:
> I have a symbol and schematic for a part where the pins on the symbol match
> the ports on the schematic and they both have a refdes attribute. The
> symbol has a source attribute that points to the schematic.
> 
> I place the symbol on a sheet and give it a new refdes value. Now when I
> punch down schematic I expect to see that refdes changed to the new value
> on the schematic.
> 
> Why doesn't it?

I think that the technical answer is: it so because the actual refdes
and net renaming is done by gsch2pcb or pcb (via the import
schematic), not by gschem.

And the reason it is so might be that when you do down-schematic to
the source schematic and you want to change it; when you save the
changes to the original file, it should not contain the
refdefs of the final product, since then you will get into trouble
when you include that source sch into some other project.

Thought I would like to see some indication that I'm in a subsheet
(yes, I might forget that after a whole day), I think the analogy
"subsheet refdefs/nets" vs. "a functions local variables" is useful.

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