[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: Hierarchy Refdes and Component Values



John Doty wrote:

>> For example, I have S1 thru S7.  In S1, I want R1=100, in S2, I want
>> R1=1k, etc.
>> 
>> Is this possible with hierarchy?

No.
But it would be neat if it would. Maybe the code for the slotting 
mechanism could be reused to achieve the trick. 


> You can make a script with
> AWK, Perl, whatever that edits the BOM after gEDA's done, though.

And let the script edit the list of new components emitted by gsch2pcb. 
 

> If the symbol for the subcircuit has refdes X15, and it contains a 
> component with refdes C42, the refdes in the flattened netlist created
> by gnetlist is X15/C42. Local nets within the subcircuits similarly get
> pathnames for their netnames.

I don't like the slash, because it makes the component names extra long. 
So I put these lines in a local gnetlistrc:
 (hierarchy-uref-separator "")
 (hierarchy-netname-separator "")

In addition, I set the refdes of the subsheet symbol to a single digit. 
That way, the refdeses stand a chance to be readable in in silk with 
a three layered hierarchy.

---<)kaimartin(>---
-- 
Kai-Martin Knaak                                  tel: +49-511-762-2895
Universität Hannover, Inst. für Quantenoptik      fax: +49-511-762-2211	
Welfengarten 1, 30167 Hannover           http://www.iqo.uni-hannover.de
GPG key:    http://pgp.mit.edu:11371/pks/lookup?search=Knaak+kmk&op=get



_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user