# Exact model and circuit A 36×24 periodic array stores one bit by repeating it in every cell. Rows increase south, columns east. Every cell reads only the OLD array. The NEC rule is majority(C,N,E); the comparison is majority(C,N,E,S,W). Votes produce new bits simultaneously, then the same externally supplied flip mask XORs both outputs. The initial 16×10 rectangle at columns 11–26 / rows 8–17 has 160 altered cells. Its north-east corner loses the NEC vote; successive anti-diagonals vanish, finishing at 16+10−1=25 clocks. The five-site rectangle is fixed: a corner retains its own bit plus two interior neighbours. A four-row horizontal stripe winds around the periodic grid and is fixed under both noise-free rules. The stripe is an explicit limit, not a contradiction of finite-island erosion on the infinite plane. The stored bit is absent from `step` and the SystemVerilog update. Changing Store complements the starting array; wrong-bit counts compare with the original choice solely for reporting. The canvas paints the initial state and restarts the comparison; all subsequent frames are recomputed. A 3×3 brush wraps at the edges. Technical controls contain Store, Draw damage, faults and exports. Drawing is mouse drag, touch taps, or arrows/Space; Backspace (or Shift+mouse) erases. At clock zero, Draw damage edits the shared starting grid. After advancing, tapping selects a cell without changing the drawing; Rewind returns to editing. The lime crosshair marks the same selected cell in both grids, and lime outlines its center in both vote diagrams. At clock zero, the diagrams preview the first vote (Next 0 → 1). After a step, they retain the inputs to the update just applied (Last t−1 → t), so the changed grid cell can be compared with its cause. Tapping a large compass cell in either vote diagram moves the shared selection one cell in that direction; the coordinate fields and NE corner / Stripe edge button provide precise selection. Selecting pauses playback. Blue means 0, orange 1; numeric votes remain available without relying on colour. Fault rate is an integer r per thousand (UI 0–200 in steps of 5). For clock t≥1, cell i, the 32-bit seed is XORed with t·0x9e3779b9 and (i+1)·0x85ebca6b, modulo2³². The mixer x ^= x>>>16; x *=0x7feb352d; x ^= x>>>15; x *=0x846ca68b; x ^= x>>>16 gives u. A bit flips iff unsigned u < floor(r·2³²/1000). This deterministic pseudorandom mask is reproducible, not a proof of statistical independence. The UI and exports preserve each actual mask; New noise increments the seed. All 120 clocks are computed once per starting-state/noise change. Replay merely selects an actual frame. `memory.sv` is a complete clocked parameterized array. Whole-vector Boolean operations implement the votes; the five-bit majority is factored by whether its first pair contains two, one or zero ones. This is exactly the count≥3 rule, with no software lookup in the circuit. On each rising edge priority is reset > load > tick > hold. Reset clears both arrays to 0, load writes ANY shared state, tick applies the votes and external fault mask. No random generator, board constraints, power/area/timing estimate or hardware test is supplied. `check-rtl.py` compiles 4×4 and 36×24 instances via Yosys CXXRTL; `bench.cpp` tests exhaustive 4×4 one-step states, reset/load/tick/hold protocol and full-size trajectories against a coordinate oracle. This is logical simulation, not a metastability/noise model for an actual FPGA. Run `python3 verify.py` for exact mathematical fixtures, or `python3 verify.py saved-comparison.json` to replay an export using a separate coordinate implementation and verify each supplied mask/state. Run `python3 check-rtl.py` with Yosys and g++ already available. Add `--evidence saved-comparison.json` to feed that export’s exact starting bits and fault masks into the compiled 36×24 circuit, comparing every output bit with every saved frame. If needed set `YOSYS` to the executable and `CXXRTL_INC` to its `share/include/backends/cxxrtl/runtime` directory (which contains `cxxrtl/`). Build products stay in hidden `.build/`. `python3 package.py` rebuilds the deterministic offline ZIP, using only the Python standard library. Sources: Swart, Szabó & Toninelli, [Peierls Bounds from Toom Contours](https://link.springer.com/article/10.1007/s10959-026-01508-2) (2026), §1.2 Eq 1.11 and the finite-block counterexample after Eq 1.12, give these exact NEC and NN rules and distinguish infinite-lattice stability. Theorems concern infinite lattices and appropriate noise assumptions; this finite periodic 120-clock experiment establishes no critical probability or lifetime. Rules are classical, not a new memory architecture. The [Memory NCA playground](https://memorynca.github.io/2D/) is a wider exploration of cellular memory rules. All code and drawings here are original; no external figure/code is redistributed.