All-Signal SR Latch Memory (SET/4tick, RESET/3tick)
Posted: Sat Jun 01, 2019 9:07 pm
by jaideep
Send any signal to the upper electrical pole (with the red wire) to reset and send any signal to the lower one to save in memory. Get output from any one of the two arithmetic combinators on the right (using any color wire).
Note that this handles 1 tick input bursts as well as negative values. It simply takes 4 ticks for the information to propagate from the input to the output and 3 ticks for the reset signal to clear the output.
NOTE: Output is protected by signal back propagation so the module should work very reliably.