delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2013/11/08/16:17:55

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Message-ID: <527D54A0.4050209@plastitar.com>
Date: Fri, 08 Nov 2013 16:16:16 -0500
From: "P. Taylor" <phil AT plastitar DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] Hierarchical designs
References: <CAB3Sx6cjEh82Owb9PCtimoMfibU2AGRaA2wOMf8P_xycuOATPg AT mail DOT gmail DOT com> <D2C740D2-33FF-47CB-819B-4FE2F3EFBFEE AT noqsi DOT com> <CAB3Sx6djSuDXy4dtXJC0gmbjLMk2-wMLErQ2fmvUA4DhWj1vEg AT mail DOT gmail DOT com> <CAB3Sx6foi9kMxggf7smWPp0=vmF6G=9ayEGYwoGnmG0a5X5jPQ AT mail DOT gmail DOT com> <CAB3Sx6eFoVi9OGA+FaP=+XUP2OYanxnseZ41rQwJrScYZ_PFRA AT mail DOT gmail DOT com> <527D248C DOT 5090200 AT buffalo DOT edu> <CAB3Sx6eUOnpDop_pYQwV+Xw6-D9mOaS1tY8RS60bPmPOKRWUpg AT mail DOT gmail DOT com>
In-Reply-To: <CAB3Sx6eUOnpDop_pYQwV+Xw6-D9mOaS1tY8RS60bPmPOKRWUpg@mail.gmail.com>
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - omega.hrwebservices.net
X-AntiAbuse: Original Domain - delorie.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - plastitar.com
X-Get-Message-Sender-Via: omega.hrwebservices.net: authenticated_id: phil AT plastitar DOT com
X-Source:
X-Source-Args:
X-Source-Dir:
Reply-To: geda-user AT delorie DOT com

On 11/8/2013 3:28 PM, bsalinux AT gmail DOT com wrote:
> I had that initially in the sym but later I removed it and tried 
> adding that attribute in the top level schematic. Either way it 
> doesn't work for me.
>
> http://i.imgur.com/rA6fQDP.png

For hierarchical designs I take the minimalist approach of having dumb 
'boxes' in the top level schematic with a simple source attribute added.

For example the toplevel schematic might be sch.sch with the following 
subschematics:

sch_uc.sch
sch_pwr.sch
sch_analog.sch
(etc)

inside of sch.sch, there will be that attributes:

source=sch_uc.sch
source=sch_pwr.sch
source=sch_usb.sch
(etc)

attached to a simple 'box' graphic.  all of these schematics reside in 
one directory, so they stay together by filename prefix.  There need not 
be any connectivity between the schematics for the source attribute to 
work.

For instantiated or repeated subschematics, the same is true.  Have a 
file called sch_sub_block1.sch in the directory where the other 
schematics are, and add the attribute source=sch_sub_block1.sch to a 
symbol in the drawing.  This will automatically create unique part names 
for all the components in the design.

I've done this with completely ridiculous discrete sub-circuit blocks 
and geda/PCB never miss a beat.

Best, Phil Taylor


- Raw text -


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