X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Originating-IP: 84.92.49.234 Date: Sun, 29 Jul 2018 09:28:21 +0100 From: Chris Green To: geda-user AT delorie DOT com Subject: Re: [geda-user] Hierarchy in gschem - how? Message-ID: <20180729082821.GA5278@esprimo> Mail-Followup-To: geda-user AT delorie DOT com References: <20180728125649 DOT GA22385 AT esprimo> <20180728140448 DOT GA22943 AT esprimo> <20180728190412 DOT GA27016 AT esprimo> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.1 (2016-04-27) X-Spam-Level: * 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 Precedence: bulk On Sat, Jul 28, 2018 at 05:15:51PM -0500, John Griessen (john AT ecosensory DOT com) [via geda-user AT delorie DOT com] wrote: > On 07/28/2018 02:04 PM, Chris Green wrote: > > No I can't!:-) > > > > I need to use sub-schematics to be able to fit everything on one top > > level. > > > What he meant was, if not using repeated elements of layout, you can just connect between > sheets of a schematic with named nets. > In fact I do have a repeated element in on case, but maybe not the others.... > That way, 1 top drawing can lead to all the rest, and have top level schematics showing boxes. > > If you want subschematics that you can "dive down to" with the GUI, it takes adding attributes > to symbols. I create symbols for subschematics with http://www.gedasymbols.org/user/john_griessen/tools/jgboxsym > > a variant of http://www.gedasymbols.org/user/dj_delorie/tools/djboxsym.html > > To link a schematic to a symbol, > add an attribute source=xxxyourxxxnamexxx.sch to the symbol. > make a schematic of the same name in the project directory. > > Give the subschematics refdes names like S1 S2 S3. > > Also add lines to a gschemrc file in the project directory: > > > (source-library ".") > (source-library "../module-a") > (source-library "../module-b") > > and put your symbols in one of those directories > > Then you should be able to navigate hierarchy and make netlists. > > The netlists get longer names now, since each subschematic gets S1/R3 instead of just R3 now. OK, thanks for all this information (and all the other answers). -- Chris Green