1,356
edits
Please create an account or Login! Have fun!
Tylersontag (talk | contribs) mNo edit summary |
Tylersontag (talk | contribs) (Rewording counter and latch to distinguish from old Wiki) |
||
Line 216: | Line 216: | ||
|cc2 = Yes | |cc2 = Yes | ||
|cc1index = | |cc1index = | ||
|multidirectional = | |multidirectional = No | ||
|moves = No | |moves = No | ||
}} | }} | ||
The '''counter''' is a gate with two inputs and two outputs. | The '''counter''' is a gate with two inputs and two outputs. A pulse that enters the counter from right side will increment the it by one and from the right side will decrement it by one. If the counter is incremented while at 9, it will ''overflow'', output a pulse to the left side, and wrap to 0. If the counter is decremented while at 0, it will ''underflow'', output a steady signal to the top side, and wrap to 9. | ||
=== Latch === | === Latch === | ||
Line 237: | Line 233: | ||
}} | }} | ||
The | The '''latch gate''' has two inputs and one output. The arrow points from the data input to the output, and the input on the opposite side is the latch input. As long as the latch input has a signal, the output will be the same as the data input. When the latch input has no signal, the output will stay the same as it was when the latch input last had a signal. Latch gates can be thought of as storage for one bit of memory. | ||
The second latch pictured to the right is a mirror image of the first latch, used to keep the game elements symmetrical. | The second latch pictured to the right is a mirror image of the first latch, used to keep the game elements symmetrical. | ||
{{clear}} | {{clear}} |