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

Purpose of Invert Inputs #985

Open
ArmoredRodent opened this issue Jan 21, 2025 · 2 comments
Open

Purpose of Invert Inputs #985

ArmoredRodent opened this issue Jan 21, 2025 · 2 comments

Comments

@ArmoredRodent
Copy link

Not an issue, but what is the purpose of Invert Inputs on NAND, AND, NOR and OR gates? I've been doing this a while and I am confused of the purpose. In principle, I could see inverting one input to eliminate an inverter, but not really sure of all. I've disabled it on my local version and replaced it with DeMorgan's Symbol option.

Attached text file shows a NAND with and without Invert Inputs selected. If you mouse over Invert Inputs NAND, it says it is a NAND, but logically with inverted inputs, it is an OR. A tad confusing and I'm not sure how it can be used.

Is this a partial implementation of DeMorgan's gates?

I have the logic worked out for DeMorgan's gates (version 3.1.1). Interested?

$ 1 0.000005 10.20027730826997 50 5 50 5e-11
151 272 176 368 176 0 2 0 5
151 272 272 368 272 4 2 5 5
L 144 208 96 208 0 1 false 5 0
L 144 240 96 240 0 1 false 5 0
M 368 176 432 176 0 2.5
M 368 272 432 272 0 2.5
207 144 208 192 208 4 A
207 144 240 192 240 4 B
207 272 160 224 160 4 A
207 272 192 224 192 4 B
207 272 288 224 288 4 B
207 272 256 224 256 4 A
@pfalstad
Copy link
Collaborator

There are some schematics which show a NAND with inverted inputs in place of an OR gate (for example) so I wanted to make it possible to represent those in the simulator. Rather than have an alternate symbol for the OR gate, I decided to make inverted inputs an option. It seemed easier to explain, maybe.

@ArmoredRodent
Copy link
Author

I sort of figured that. I did a quick look before I posted. I'll grep the txt files and do a tad more exploring.

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