X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Message-ID: <532208B4.8000607@ecosensory.com> Date: Thu, 13 Mar 2014 14:36:20 -0500 From: John Griessen User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: geda-user AT delorie DOT com Subject: Re: [geda-user] Sub circuits, naming and footprints References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.130:25 X-Cloudmark-Score: 0 Reply-To: geda-user AT delorie DOT com On 03/13/2014 01:52 AM, Geoff Swan wrote: > I've created a complete design with a schematic and pcb layout. I wish to re-use these as a subcircuit of a second design. > > I've used subcircuits before where I did the layout for each iteration of the subcircuit manually. What I am hoping is that there > is a way to reuse the layout of the subcircuit I've already created. > I had the idea that perhaps I could reference the pcb layout in the symbol for my subcircuit - but I don't recall this being possible? Yes, you can create a repeated subcell as gschem and pcb are now. JC Luciani wrote some scripts that help with this. > > My alternative is to use sed or something to make a few different copies of the PCB layout with the components names prepended to > match the schematics subcircuit naming scheme and then copy these into the PCB layout. > > Does any of the above make sense? I'd be keen to hear how other folks do this sort of design. See: http://www.gedasymbols.org/user/john_griessen/ http://www.gedasymbols.org/user/john_griessen/tools/pcb-hier-cells If that doesn't get you going, email me for a zipped up example project dir and libs. John