Mailing list archives : pcb-rnd

ID:6309
From:rn...@igor2.repo.hu
Date:Tue, 23 Jan 2024 05:38:47 +0100 (CET)
Subject:Re: [pcb-rnd] please alpha test: sch-rnd hierarchic design
in-reply-to:6308 from rn...@igor2.repo.hu
 
 
On Mon, 22 Jan 2024, rnd2@igor2.repo.hu wrote:
 
>
>
>On Sat, 20 Jan 2024, rnd2@igor2.repo.hu wrote:
>
>Progress on these missing features:
>
>- hlibrary: that's the next thing I start working on
 
Finished the initial implementation and documentation (a section under the 
same old URL). This means (as an option) hierarchic child sheets can be 
picked up from search paths now.
 
 
IMPORTANT: while reading the document, please make sure you are also 
looking at the examples it links, using the latest svn version of sch-rnd. 
Without exploring the examples, the text won't make much sense.
 
 
While working on this, I figured there is a major difference to gschem 
(and probably lepton) that should be mentioned: we don't have a hotkey to 
descend into hierarchic sheets. It's because...
 
1. gschem doesn't have an explicit abstract model but things are randomly 
done by the gui and/or by gnetlist. This is an ugly part: in theory 
everything is decided in gnetlist, but there is no feedback from there to 
the GUI so some of the mechanisms (like slotting and hierarchy) are 
re-created in the GUI, while other mechanism (like spice related things) 
are not and are happening only in gnetlist. But the GUI never ever has a 
full overview or understanding of the project: it doesn't really have a 
concept of networks or the full hirearchy. Instead on the GUI things 
happen locally. For the hierarchy this means you can descend and come back 
up locally through a sheet ref symbol.
 
2. In contrast sch-rnd implements every mechanism the same way and the 
same implementation drives the GUI and the netlist output by producing the 
same abstract model. So the GUI has the same full overview an 
understanding (the abstract model) that the export code is working from. 
Thus sch-rnd needs to load these sheets anyway, latest when the 
compilation starts dealing with them. So instead of hiding these sheets, 
they simply appear in the sheet selector.
 
Best regards,
 
Igor2
 
 

Reply subtree:
6309 Re: [pcb-rnd] please alpha test: sch-rnd hierarchic design from rn...@igor2.repo.hu