This documentation is out of date.
The new version of the documentation is here: https://cannylogic.com/docs |
Difference between revisions of "SR latch"
From CANNY Wiki
[unchecked revision] | [unchecked revision] |
Line 24: | Line 24: | ||
|style="padding-left:1em;"|[[CFD Language#Data|Logical]] | |style="padding-left:1em;"|[[CFD Language#Data|Logical]] | ||
|- | |- | ||
− | !colspan="2" style="background-color:#AFEEEE;"| | + | !colspan="2" style="background-color:#AFEEEE;"|Outputs |
|- | |- | ||
|style="padding-left:1em;"|Output: | |style="padding-left:1em;"|Output: |
Revision as of 09:12, 23 November 2015
Appearance | |
---|---|
Symbol | |
TSR | |
Group | |
Flip-flops / Latches | |
Inputs | |
Input S: | Numeric |
Input R: | Logical |
Outputs | |
Output: | Numeric |
Version CANNY Lab | |
from 0.6b |
The latch, that does not change the output value if inputs are zero . At presence of a non-zero value at the input «S» (from Set), this value is copied to the output. And with a non-zero value on the input «R» (from Reset), the output state becomes zero.
Features
In a situation, when both inputs are set to non-zero values, priority is given to the input «S» (input value «S» is copied to the output).