delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2012/03/19/21:39:30

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Message-ID: <4F67DFC5.20300@keensupport.net>
Date: Mon, 19 Mar 2012 18:39:17 -0700
From: Joe Knapp <joeknapp AT keensupport DOT net>
Organization: Keen Support Services, LLC
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: geda-user AT delorie DOT com
CC: Nathan Stewart <therealnathanstewart AT gmail DOT com>
Subject: Re: [geda-user] repetitive circuits
References: <CACPio-6438uNhTCPB8bi_ROtAaudBWO2nWUwms6U-+LS=jh3Cw AT mail DOT gmail DOT com> <4F67BB67 DOT 1030004 AT ecosensory DOT com> <CACPio-7f0aAH5iF9KHkpVB2EpCFj+NefQ8XXKHN7a1cgAqRaOA AT mail DOT gmail DOT com> <CACPio-7kELU074THHmC7VsOU8eXvkoCWB9g9-DYndi_du7uT2g AT mail DOT gmail DOT com>
In-Reply-To: <CACPio-7kELU074THHmC7VsOU8eXvkoCWB9g9-DYndi_du7uT2g@mail.gmail.com>
Reply-To: geda-user AT delorie DOT com

Nathan,

I implemented a 3 channel RF receiver. Each instantiation of the
receiver channel gets a different Ref Des, e.g. CHA, CHB, CHC.  These
ref. designators are pre-pended onto the ref. des. of the instantiated
schematic. So, for example, U100 of my generic channel will become
CHA-U100, CHB-U100, and CHC-U100, when netlisted. Does that help?

sytem-gnetlistrc:

; hierarchy-uref-mangle string
;
; Controls if uref names are mangled to make them uniq when traversing 
; down into the hierarchy.  If this is disabled then urefs are not changed
; and it is the user's responsibility to make sure they are unique.
; If you disable this, you really are taking your netlist's life into your
; own hands.  You *MUST* have unique urefs throughout the entire hierarchy
; or bad things might happen.  Also you cannot reuse underlying schematics.
;
(hierarchy-uref-mangle "enabled")


On 03/19/2012 06:29 PM, Nathan Stewart wrote:
> engineering choices aside - I guess the question remains - as I have
> 2x quad switches in the same circuit, so sidestepping the assignment
> by changing parts only adds another turtle to the stack of them
> holding up the earth.
>
> On Mon, Mar 19, 2012 at 9:24 PM, Nathan Stewart
> <therealnathanstewart AT gmail DOT com> wrote:
>> Thanks - I saw the bit about hierarchical schematics but missed the
>> bit about being able to use them multiple times. What about refdes
>> incrementing and assignment? Right now I've got my filter laid out so
>> that there are 6 channels, each using 2 channels of a quad opamp.  I
>> guess it's probably better to either draw it as 3x dual channel
>> filters, or else swtich to dual opamps. I'm not really space
>> constrained, might be easier to lay out anyway.
>>
>> On Mon, Mar 19, 2012 at 7:04 PM, John Griessen <john AT ecosensory DOT com> wrote:
>>> On 03/19/2012 10:28 AM, Nathan Stewart wrote:
>>>> In gschem, Is there any way to cleanly represent repetitive circuit
>>>> segments without drawing the same circuit n times, but so that it will
>>>> still import correctly into PCB?
>>>
>>> Have you gotten along at hierarchic schematics?  There are some
>>> tools I use here:   http://www.gedasymbols.org/user/john_griessen/
>>> http://www.gedasymbols.org/user/john_griessen/tools/pcb-hier-cells
>>>
>>> I can send you an example project to look at and maybe you will use the
>>> project dir method as a model.  My project dirs include necessary config
>>> files so that
>>> gschem uses local libraries in them.

-- 
Keen Support Services, LLC
http://keensupport.net

- Raw text -


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