New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request : nested / hierarchic schematic sheets #547
Comments
It would also be cool if we could have something like parameters for subsheets. |
I'll add myself to the queue for hierarchic. It makes schematics easier to comprehend, allows for nice design reuse... |
Good news, I decided to start adding support for hierarchical schematics. Might take a while for it to become presentable, but it's making good progress so far! |
If anyone wants to take a look: https://github.com/horizon-eda/horizon/tree/hierarchy-preview Please be aware that it's still in a rather unfinished state and many things flat out don't work or just crash if looked at the wrong way. There also were some incompatible changes in the project files, so only try it on new projects. In the schematic properties window, click plus to add a new block. The newly-created block should appear in the sheet list. To create ports from nets, use the manage ports tool. By selecting the block itself rather than a sheet of it, the schematic editor transforms into the block symbol editor. Once there's a symbol, use use the "place block" tool to instantiate it. Annotation, PDF export (the hierarchy is reflected in the PDF TOC), BOM export and search should work to some extent. The next big step is implementing netlist flattening to give the board editor something to work with. I'm still not quite sure how to handle power nets and net classes. I see two options there:
To me, option 1 seems to be the right one as it frees the user from having to manage power nets and net classes in each block individually and I don't see much value in allowing block-local power nets and net classes. |
Option 1 seems good. I could not come up with a design(with my workflow and schematics habits) that option 1 would not allow for. If I have a separate power nets, I want them to be named differently, so it is explicit to the person reading the schematics. If I have 3.3V net in one sheet, and 3.3V in another one, I assume that they are connected together. |
It's nearing completion, check out the linked branch. |
This comment has been minimized.
This comment has been minimized.
https://horizon-eda.discourse.group/ is the place to be |
@carrotIndustries : "Not very high on my to-do list"
I think this would be very useful and this is a feature KiCad does extremely well.
It helps make schematics clearer and can help dealing with separation of concerns and modularity when teams work on a project.
The text was updated successfully, but these errors were encountered: