HDLbits
Browse Problems

Circuits/Sequential Logic

Rule 90 Cellular Automaton

medium
cellular-automatonsequential

Initialize a single live cell at position 7 on reset. On each rising edge, each cell becomes the XOR of its immediate left and right neighbors. Missing neighbors at the ends are treated as zero.