Skip to content
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] Verify that a set of attributes are equal between all wires connected to the same pin #273

Open
kvid opened this issue Feb 6, 2022 · 1 comment

Comments

@kvid
Copy link
Collaborator

kvid commented Feb 6, 2022

Maybe a general feature to warn about differences between wires that are connected together could be useful? It must of course be possible to turn this off where differences are intended.

Originally posted by @kvid in #270 (comment)

I suggest each connector can have an attribute specifying a set of all wire attributes that should be equal when connected to the same pin (or a list of one such set per pin), e.g. like wires_equal, and then print a warning (or rise an exception) about wires that violates this.

@kvid kvid changed the title > Thanks for the fast reply, and with a solution ! That image looks totally fine. [feature] Verify that a set of attributes are equal between all wires connected to the same pin Feb 6, 2022
@martinrieder
Copy link
Contributor

Another use case of this would be making wire colors match. If an attribute is unspecified or explicitly set to null, the missing attributes should be made to match its connected wires.

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

No branches or pull requests

2 participants