Wire: Difference between revisions

4 bytes removed ,  20 February 2019
no edit summary
No edit summary
Line 223: Line 223:
}}
}}


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.
The '''counter''' is a gate with two inputs and two outputs. A pulse that enters the counter from right side will increment 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 ===
Anonymous user