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

Negated ports #19

Open
theodore-norvell opened this issue Mar 21, 2020 · 2 comments
Open

Negated ports #19

theodore-norvell opened this issue Mar 21, 2020 · 2 comments

Comments

@theodore-norvell
Copy link
Owner

theodore-norvell commented Mar 21, 2020

It should be possible to negate ports. A negated port will be drawn with a hollow circle. Here is an Or-gate with one port negated. (Bounding box is shown in green.)
image

@theodore-norvell
Copy link
Owner Author

In order to negate ports, we need to be able to select ports.

@theodore-norvell
Copy link
Owner Author

If we do this, then the only difference between the or and the nor component kind classes is how they initialize their output port. In fact, it makes me question whether there is value in having component kind classes for nand and nor. We can save room on the sidebar by not having them.

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

1 participant