pub fn serialize_grid_config(g: &Grid) -> ReconfigConfigExpand description
Transcribe a placed Grid (Arith tiles, single Val output) into the reconfigurable fabric’s config,
laid out row-major over rows*cols tiles (the grid must already be padded to rows×cols).