Comments (3)
By "off" I guess you mean that the lower input of the XNOR is internally guided to the top of the gate.
Well, this is done intentionally. Let me explain.
- The internal "double bar" switches are generally meant to be in rest with input 0, and pushed against an imaginary spring with input 1.
- XNOR produces output 1 if and only if both inputs are the same.
- Both internal "double bar" switches are at the same vertical position when at rest.
- To achieve the XNOR behaviour, both "double bar" switches must move into the same direction when being pushed by a 1 input.
- Therefore, the lower external gate input must be guided to the top of the gate in order to push down for input 1.
I understand that the internal wiring might look confusing, but the main take-away is that the "double bar" switches must be at the same height (y position) to produce the XNOR logic.
I didn't see a way how this can be achieved with simpler internal wiring. Do you have an idea?
from antares.
I see, you are using a relay analogy. I was more thinking of a combination of serial/parallel arrangement of transistors where input and output negations basically just change the type of transistor (n/p): on when powered or off when powered. To be very honest, for me, it's harder to wrap my head around the relay analogy. It implies somehow a negation in one's head when thinking about it. The question is if the mnemonics should explain how an equivalent relay arrangement would work or what arrangement of transistors builds up the respective gate.
from antares.
@richardabendroth I had more of a mechanical model in mind, but you're right, since relays are electro-magnecti-mechanical components, relay is probably the correct term.
The purpose of the mnemonics is to provide one of many possible answers to the question "But how does a logic gate word?". I've developed them before I've had the transistors, so I had to come up with something else. Would the transistor model be easier to understand? I don't think so. I barely have an intuitive understanding of how a single transistor works, let alone how a couple of them work together to build a function like NAND or XNOR. Instead, when I look at the mnemonics and observe how current flows through the inner switches, I instantly understand that both inputs of an XNOR must have the same value to make the output 1.
But I understand that this might be different for different people. Maybe in the long run, mnemonic will disappear again and will be replaced by different internal implementations the user can open for inspection, i.e. Antares' upcoming "Analog" layer containing real analog transistors, or a mechanical layer, or a layer with a water flow model, a pure mechanical model, or whatever the user might prefer.
The analog layer itself could be backed up by an even more fundamental semi-conductor layer where the user would see electric fields, electrons, and holes moving around. But implementing that I'll delay until my retirement time.. ;-)
from antares.
Related Issues (20)
- Text color lighter than expected when using Darcula theme HOT 3
- Delete project in Antares Web
- Circuit image thumbnail in Antares Web
- Wrong labels for D Flip-Flops HOT 1
- bit-extender with 1 bit output HOT 6
- Export circuit as raster image (gif, png, jpg)
- Bit extender has undefined output at simulation start
- Foreground/border of color "Blue" could be darker with dark mode themes
- "inconsistent net value" between tri-state buffer output and input/output pin HOT 8
- Default value for pins HOT 3
- "Subsystem" rectangles missing in SVG output
- Unexpected error if workspace directory doesn't exist any more
- Inconsistent circuit state after failed copy/paste
- Simulation doesn't launch when initializing subcircuit inputs with DSL script HOT 1
- Bit accessor DSL operator doesn't work on pins HOT 7
- (Chrome) Web circuit viewer not zoomed to fit iframe size HOT 1
- Export to Verilog
- (Edge) Web circuit viewer is empty, no content at all
- Transistors represented as open switches during simulation HOT 2
- Non-volatile RAM (NVRAM)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from antares.