DicemanX
Brain of Cthulhu
Prior to 1.3.1 we used hoik-based resets, but they were were often slow since the signaling agent had to visit every node to determine if a reset was necessary at that node. In 1.3.1 we can use logic gates - any will do, but I used the AND gate in the demonstration below.
The inputs are represented by the torches and the states of the inputs are controlled by the switches.
Pulling the lever resets all the inputs. Inputs will only be reset if they are in the ON state (as indicated by the torches in the schematics). Since AND gates are used in the schematics, both logic gate lamps start in the OFF state. If an input is ON, it also turns on the lamp in the reset mechanism. The lever will turn on the other lamp, and cause the input to revert to the OFF state.
The logic gate at the rightmost end in the schematic will revert the top lamps back to the off state after the lever is pulled.
The inputs are represented by the torches and the states of the inputs are controlled by the switches.
Pulling the lever resets all the inputs. Inputs will only be reset if they are in the ON state (as indicated by the torches in the schematics). Since AND gates are used in the schematics, both logic gate lamps start in the OFF state. If an input is ON, it also turns on the lamp in the reset mechanism. The lever will turn on the other lamp, and cause the input to revert to the OFF state.
The logic gate at the rightmost end in the schematic will revert the top lamps back to the off state after the lever is pulled.