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] Yet another sym file generator In-reply-to: References: <20120709210244 DOT 60387819FB92 AT turkos DOT aspodata DOT se> <20120724143816 DOT E52AD81A00CD AT turkos DOT aspodata DOT se> <20120727171616 DOT CE83482827B2 AT turkos DOT aspodata DOT se> <20120804074711 DOT C53B28283EE9 AT turkos DOT aspodata DOT se> Comments: In-reply-to Kai-Martin Knaak message dated "Sat, 04 Aug 2012 14:59:01 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Message-Id: <20120805081524.467978283EF7@turkos.aspodata.se> Date: Sun, 5 Aug 2012 10:15:24 +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 Precedence: bulk Kai-Martin Knaak: > Karl Hammar wrote: > > It now supports hierarchical/multipage symbols, > This is great. Support to create hierarchycal schematics/symbols really > should be included in the main GUI of gschem. ... How can we make to happen? /// What I have done is an external script that from a (non-geda) source you can: . create (update) a source-sym/subsheet-sch pair . match the interface i.e. make sure that you have one port symbol for each pin in the "source"-symbol (but not the other way around) . specify where the source-sym-pin-label text will be placed in the subsheet port-symbol so it will look "nice" The proposed workflow is to . specify the initial pins in the pin-file, . make a first iteration sym/sch pair . edit the subsheet sch . add possible new pins in the pin-file . rerun the script producing a new source-sym and upd. the subsheet . revert the subsheet sch in gschem (the new port symbols will appear) . connect the new port symbol within the subsheet, etc. . in the upper sheet update the source-sym (will be a drop-in unless you rearrange the pins) ... etc. /// Or would it be better to extract the interface from the subsheet file? I think that would be harder to do unless you discipline yourself to use a specific set of symbols only to be used for the source-sym-pin -- subsheet-port-symbol interface. Regards, /Karl Hammar ----------------------------------------------------------------------- Aspö Data Lilla Aspö 148 S-742 94 Östhammar Sweden +46 173 140 57