Wire: Difference between revisions

1 byte added ,  19 February 2019
(Rewording counter and latch to distinguish from old Wiki)
Line 220: Line 220:
}}
}}


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.
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 bottom 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 ===