history/display: nach d_new_result = '1' werden die naechsten 70 bytes vom display
[hwmod.git] / src / gen_pkg.vhd
index b4ed94d53f72888d826e14829477631ebb2bc28e..9e27eae8a8a5435133247d081f8d788325b2e7e5 100644 (file)
@@ -18,11 +18,11 @@ package gen_pkg is
        -- integer ist 32bit (31bit + sign)
        subtype cinteger is integer;
 
-       -- TODO: 50 * 71 * 2 = 7100
-       constant H_RAM_SIZE : integer := 71;
+       -- 50 zeilen * 71 zeichen * 2 (berechnung + ergebnis) = 7100 bytes
+       constant H_RAM_SIZE : integer := 7100;
        constant H_RAM_WIDTH : integer := log2c(H_RAM_SIZE);
        subtype hspalte is std_logic_vector(6 downto 0);
-       subtype hzeile is std_logic_vector(4 downto 0);
+       subtype hzeile is std_logic_vector(6 downto 0);
        subtype hbyte is std_logic_vector(7 downto 0);
        subtype hstring is string(1 to 72);
        subtype hstr_int is integer range 0 to 72;