delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2018/07/28/09:11:19

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Sat, 28 Jul 2018 15:10:07 +0200 (CEST)
From: Roland Lutz <rlutz AT hedmen DOT org>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] Hierarchy in gschem - how?
In-Reply-To: <20180728125649.GA22385@esprimo>
Message-ID: <alpine.DEB.2.20.1807281507220.2636@nimbus>
References: <20180728125649 DOT GA22385 AT esprimo>
User-Agent: Alpine 2.20 (DEB 67 2015-01-07)
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 Sat, 28 Jul 2018, Chris Green wrote:
> I'm trying to create sub-circuits and failing miserably, can anyone
> tell me step by step how to do it please.

I added a detailed explanation here:
http://wiki.geda-project.org/geda:hierarchy

> I gather that the sub-circuit has to be a .sch file with, somewhere, a 
> 'source=name' attribute, or does that have to be an attribute on the 
> parent circuit?  That's the problem, I'm very unclear as to where and 
> how one adds the source= attribute.

The source= attribute needs to be added on the component in the parent 
schematic which is to be replaced by the subschematic.  The subschematic 
.sch file needs to be in a directory which has been added as a source 
library (via the "source-library" Scheme procedure in gafrc).

- Raw text -


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