On Jan 11, 2008, at 1:51 PM, Timothy Hanson wrote:

> Hi gEDA,
>
> I'm a part-time developer of kicad and a part-time pcb designer.   
> My most recent project has a lot of duplicated circuitry in a three- 
> level hierarchy, something which kicad does not support very well.   
> Kicad allows a hierarchy, but it does not allow different component  
> references on different instances of the same schematic. e.g. the  
> hierarchy is something like this
>       A
>    B    B
> C  C  C  C
> where each of the different C sheets originates from the same file  
> etc.

It won't generate four C sheets, if that's what you want. It will  
generate unique component references for each of the four instances  
of a component on the C sheet.

Here's how it works: you make a symbol representing your B schematic.  
In the symbol you place source= attribute(s) identifying the  
schematic file(s) that represent the B circuit. Then you place two  
such symbols in your A schematic, giving them unique refdes=  
attributes, say, X1 and X2.

Do the same thing for your C schematic, placing four symbols in your  
B schematic with refdes= X1, X2, X3, X4.

In the netlist and BOM, a resistor R1 from the C schematic will wind  
up as 8 instances with refdes= attributes like "X1/X3/R1".

There's a different mechanism in the spice-sdb gnetlist back end  
specifically for handling SPICE hierarchy. You can also use the  
source= mechanism with SPICE if you want. For VLSI I use a makefile- 
based mechanism to assemble minimal hierarchical SPICE netlists  
without using gEDA's mechanisms. gEDA is extremely flexible.

John Doty              Noqsi Aerospace, Ltd.
http://www.noqsi.com/
[EMAIL PROTECTED]




_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev

Reply via email to