parser: erste gehversuche. im moment wird die eingabe einfach zurueckgegeben zur...
[hwmod.git] / src / gen_pkg.vhd
index 9eabeb0e177ae6b6b189119934fa8c1b3ef2eff7..e5c692e3f1ca74413eb89590fddcd87fce2e850c 100644 (file)
@@ -15,6 +15,12 @@ package gen_pkg is
        subtype csigned is signed((CBITS-1) downto 0);
        --TODO: bei CBITS-1 gibts einen overflow :/
        subtype cinteger is integer range -(2**(CBITS-2)) to ((2**(CBITS-2))-1);
+
+       subtype hspalte is std_logic_vector(6 downto 0);
+       subtype hzeile is std_logic_vector(4 downto 0);
+       subtype hbyte is std_logic_vector(7 downto 0);
+       subtype hstring is string(1 to 71);
+
        function find_msb(a : csigned) return natural;
        procedure icwait(signal clk_i : IN std_logic; cycles: Natural);
 end package gen_pkg;