

Space CA is a real-time hardware VGA demo ("Giant Computer in Space") that simulates and visualizes a 1D cellular automaton evolving over time against a procedural background starfield.
GRID_W = 160), rendered as 4×4 pixel blocks (CELL_SIZE = 4).RULE = 32'h6C1E53A8).{1'b1, window}) mapped to 6-bit color (R2G2B2).starfield module).cells and first_row_cells) synthesized with IHP sg13g2_dlhq_1 latches to maintain the 160-bit state between scanlines and frame boundaries without consuming standard flip-flop area.ui_in[0] (advance_mode): Toggles between smooth 1-row vertical scrolling and jumping by a full frame.ui_in[1] (inject_gliders): Injects gliders into cells 80..83 of row 0.uo_out).clk.ena = 1 and release reset by setting rst_n = 1.ui_in[0]: Toggle advance mode (0 = scroll 1 row/frame, 1 = full frame jump).ui_in[1]: Toggle glider injection.| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | advance_mode | R1 | |
| 1 | inject_gliders | G1 | |
| 2 | B1 | ||
| 3 | VSync | ||
| 4 | R0 | ||
| 5 | G0 | ||
| 6 | B0 | ||
| 7 | HSync |