www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2018/07/28/18:17:29

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Subject: Re: [geda-user] Hierarchy in gschem - how?
To: geda-user AT delorie DOT com
References: <20180728125649 DOT GA22385 AT esprimo>
<alpine DOT DEB DOT 2 DOT 20 DOT 1807281507220 DOT 2636 AT nimbus> <20180728140448 DOT GA22943 AT esprimo>
<alpine DOT DEB DOT 2 DOT 20 DOT 1807281840280 DOT 15336 AT nimbus> <20180728190412 DOT GA27016 AT esprimo>
From: "John Griessen (john AT ecosensory DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
Message-ID: <b1d78811-f4f3-d678-aa2e-de313a3f0026@ecosensory.com>
Date: Sat, 28 Jul 2018 17:15:51 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
Thunderbird/52.9.1
MIME-Version: 1.0
In-Reply-To: <20180728190412.GA27016@esprimo>
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 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.

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.

- Raw text -


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