[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gEDA: Hierarchy in gschem and pcb
On Saturday 06 May 2006 23:14, Dan McMahill wrote:
> I would really like to see true hierarchical support added to
> gnetlist. For driving spice or gnucap simulations thats
> really the right way to do it.
It makes a big difference to gnucap, and it will become more
important in the future. Spice flattens it anyway, so it
doesn't really matter.
gschem doesn't do hierarchy, so how can gnetlist?
The biggest deficiency in gnetlist is that it doesn't properly
translate all symbols. There should be some default rule that
defines how unknown symbols are translated. Something like
everything is a subcircuit (type "X") might be appropriate. I
guess this is another reason why the Spice format must go away.
Then hierarchy can work by defining some ".subckt", which could
be in a separate file. Cat the files, or use .include and
there's the complete circuit.