[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gEDA-dev: New diagram (attempt at UML)
>From the netlister perspective, files that are passed to the netlister
on the commandline are top level pages. Within a page if a symbol has a
schematic associated with it, then that schematic file gets added to the
page list in some sort of hierarchical method. Then each of these new
files get examined for symbols that have schematics and so on ontill to
reach the deapest depth.
One thing that I have done in my netlister is to make one pass through
all the files just to build a list of unique files that each
individually need to have their nets collected for.
Pass 1) Create list of unique files
Pass 2) Collect components, nets and buses for each unique file
Pass 3) Flatten pages to make a supper page that has all instances of
all components, nets and buses.
Steve Meier
On Wed, 2007-04-04 at 21:55 +0100, Peter Clifton wrote:
> On Wed, 2007-04-04 at 00:19 -0700, Steve Meier wrote:
> > Peter,
> >
> > I am re-visiting the concepts of hierarchy and pages. I was forced to
> > since I started looking at the "hierarchy.c" file.
> >
> > Do you think that the page structure should include a list pages that
> > are one hierarchical level down? I think that this would allow the
> > construction of hierarchical branches.
> >
> > Steve Meier
>
> You could make such a list, but it is similarly easy to infer it from
> any "complex" objects belonging to the current page.
>
> Of course, a "complex" doesn't necessarily map to just one page, so I'm
> not sure exactly how it ought to be done.
>
> This is one thing I'd like to have a better concept of in gschem +
> libgeda - which files are pages of the same circuit?
>
> Alternatively, we could extend the file-format slightly to allow
> multiple pages per file (and make this the "official" way of defining a
> "circuit").
>
> Peter
>
>
>
>
> _______________________________________________
> geda-dev mailing list
> geda-dev@moria.seul.org
> http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev
_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev