This documentation is out of date.
The new version of the documentation is here: https://cannylogic.com/docs |
Difference between revisions of "T flip-flop"
From CANNY Wiki
[unchecked revision] | [unchecked revision] |
(Created page with " <div style="float:right;margin:5px;"> {|class="cannytable" width="350px" |- !colspan="2" style="background-color:#AFEEEE;"|Appearance |- |colspan="2" align="center" style="...") |
|||
Line 19: | Line 19: | ||
|- | |- | ||
|style="padding-left:1em;"|Input S: | |style="padding-left:1em;"|Input S: | ||
− | |style="padding-left:1em;"|[[CFD Language#Data| | + | |style="padding-left:1em;"|[[CFD Language#Data|Integer]] |
|- | |- | ||
|style="padding-left:1em;"|Input R: | |style="padding-left:1em;"|Input R: | ||
Line 27: | Line 27: | ||
|- | |- | ||
|style="padding-left:1em;"|Output: | |style="padding-left:1em;"|Output: | ||
− | |style="padding-left:1em;"|[[CFD Language#Data| | + | |style="padding-left:1em;"|[[CFD Language#Data|Integer]] |
|- | |- | ||
!colspan="2" style="background-color:#AFEEEE;"|Version [[CANNY Lab]] | !colspan="2" style="background-color:#AFEEEE;"|Version [[CANNY Lab]] | ||
Line 37: | Line 37: | ||
<div style="min-height:100%;display:block;"> | <div style="min-height:100%;display:block;"> | ||
<div style="float:left;width:70px;"> | <div style="float:left;width:70px;"> | ||
− | [[ | + | [[ИFile:5_7_4_1.png|left|Icon]] |
</div> | </div> | ||
Revision as of 10:13, 23 November 2015
Appearance | |
---|---|
Symbol | |
TT | |
Group | |
Flip-flops / Latches | |
Inputs | |
Input S: | Integer |
Input R: | Logical |
Outputs | |
Output: | Integer |
Version CANNY Lab | |
from 0.6b |
Synchronous flip-flop that, with a non-zero value on the input «T», changes the value of the output at the rising edge on the input «C».
The changes are performed at each rising edge (values change from zero to non-zero) at the input «C»:
- if the output value is "0", input "T" value copied to the output.
- if the output value is non-zero, the output state becomes zero