3 ms·
I've always wondered why most people seem to draw flip-flops with the crossed wires and both gates pointing the same way, when I think this representation makes
by userbinator 7y ago
I've always wondered why most people seem to draw flip-flops with the crossed wires and both gates pointing the same way, when I think this representation makes it far clearer:
https://i.imgur.com/cwZe7Zf.png https://i.imgur.com/cwZe7Zf.png
When both inputs are low, the NORs are equivalent to NOTs and you can see they form a storage loop. When one input is high, it forces the loop into the corresponding state.
That said, I'm disappointed this article doesn't show the transistor-level schematic, because trying to read from a breadboard is extremely difficult.
- krupan 7y agoBecause if you have an input on the right and you combine this with other digital logic you are going to end up with crossed wires backtracking to that input on the right somewhere, I would guess.
- osamagirl69 7y agoThe reason it is not usually drawn that way is it is a cardinal sin to draw logic gates 'backward' on a logic schematic. It is a schematic schematic equivalent of 'goto' and makes schematics confusing to follow. For a simple inverter in a flipflop it isn't so bad, but when you are inside of a larger schematic it is better to stick with the best practice of signals flowing left to right for all symbols. PS - For what its worth, that image has a transparent background, so when the imgur viewer displays it you get black traces on a black background.
- userbinator 7y agoThe whole point is that the signals can't all flow left to right in any reasonably nontrivial design, because the latter will almost always have feedback, and at its fundamental level that is how static memory works. Even if you draw both gates facing the same way, there is feedback and you still need to follow the signals the other way; but instead of simply turning one the gate in the direction its output is actually going, and showing that structure more clearly, you introduce the extra ugliness and confusion of crossing signals.
- osamagirl69 7y agoSorry I may have spoken inaccurately. Wires can carry signals right-to-left (as you mentioned - this is necessary in any circuit containing feedback) but the _symbols_ should be drawn left-to-right in a digital logic schematic. Certainly there are different fields that follow different rules, for example in schematic representation of feedback systems the feedback blocks are often drawn right-to-left. They get away with it because their schematics are generally much simpler--usually a dozen or so blocks, compared to hundreds or thousands in a nontrivial digital circuit schematic. Also - I am not sure I understand your comment about 'extra ugliness and confusion of crossing signals'. Flipping the inverter backwards does nothing to remove the signal cross, it just moves the cross outside of the region you showed. Note how one of the inputs to your flipflop is now on the right hand side--in most cases the crossing will reappear when you connect the rest of your circuit.
- gregsadetsky 7y agoYour image appears as black on black, you might want to re-upload it or edit the URL. I could only see it by dragging it against a non-black background. Good point otherwise on the clearer schematic!
- Tempest1981 7y agoFixed image for userbinator: https://imgur.com/wORK4hX https://imgur.com/wORK4hX
- krupan 7y agoI strongly agree that this needs a diagram of the transistors