Chargement…
Chargement…
Four states: ROW0 to ROW3. Each cycle, drive exactly one o_rows bit low (others high). Columns i_cols are active-low (0 = pressed). When a key is found, o_key(3:0) holds row*4 + col and o_valid='1' for one cycle.
