
Rule 30 is a 1D cellular automaton discovered by Stephen Wolfram in 1983.
Despite having only one simple rule — new_cell = left XOR (centre OR right) —
it produces behaviour so chaotic it was used as Mathematica's built-in
random number generator for many years.
This design implements Rule 30 directly in silicon:
The result is the famous asymmetric triangular chaos pattern that expands from the centre of the screen downward.
Colour palettes (ui_in[1:0]):
00 = Green on black (classic terminal)01 = Fire (yellow → orange → red with depth)10 = Cyan / Blue11 = Rainbow (colour changes with row depth)Expected output: A triangular pattern of black and coloured pixels expanding from a single point at the top centre, filling the entire screen with chaotic but deterministic cellular automaton evolution.
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | Palette bit 0 | VGA Red MSB | |
| 1 | Palette bit 1 | VGA Green MSB | |
| 2 | VGA Blue MSB | ||
| 3 | VGA Vsync | ||
| 4 | VGA Red LSB | ||
| 5 | VGA Green LSB | ||
| 6 | VGA Blue LSB | ||
| 7 | VGA Hsync |