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> <20180728140448 DOT GA22943 AT esprimo> <20180728190412 DOT GA27016 AT esprimo> From: "John Griessen (john AT ecosensory DOT com) [via geda-user AT delorie DOT com]" Message-ID: 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> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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 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.