Skip to content

Redesign of module connectivity. - #6

Open
preusser wants to merge 1 commit into
orsonmmz:masterfrom
preusser:master
Open

Redesign of module connectivity.#6
preusser wants to merge 1 commit into
orsonmmz:masterfrom
preusser:master

Conversation

@preusser

Copy link
Copy Markdown

Please, consider using the approach described in node.h to model module connectivity. It introduces three classes (Node, Bus, Net), each one with specific responsibilities: Node is a single electrical wire carrying a value, Bus is a collection of Nodes, and Net adds a name to a Bus. Slicing and re-composition is implemented by the Bus so as to allow a flexible wiring. Note that these operations leave the physical identity of an electrical Node intact.

A small illustrating example is provided as nettest.cc. Type 'make' to compile it.

@CastMi

CastMi commented Apr 18, 2016

Copy link
Copy Markdown
Collaborator

Thank you very much. According to me it is a good commit and we should merge it, but first I would like to know what the others think about it.
@orsonmmz and @tgingold

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants