history: clear ram on reset
[hwmod.git] / src / display.vhd
index fb6649f9d71e3fed56f01e428c4cf4cb938e679a..2499ef45f53a169d9f7d99638557cb5db2c7cfac 100644 (file)
@@ -286,8 +286,8 @@ begin
                        when S_ZEILEUP =>
                                d_spalte_next <= (others => '0');
                                case d_zeile_int is
-                                       -- 49 * 2 + 1
-                                       when "1100010" => d_zeile_next <= (others => '0');
+                                       when
+                                       std_logic_vector(to_unsigned((49*2)+1,d_zeile_int'length)) => d_zeile_next <= (others => '0');
                                        when others => d_zeile_next <= std_logic_vector(unsigned(d_zeile_int) + 1);
                                end case;