entity addr_gen is
generic
(
C_MAX_DEPTH : integer := 1024 ;
RST_VALUE : std_logic_vector(31 downto 0) := (others=> '0');
RST_INC : integer := 0 -- offset
);
port
(
clk : in std_logic;
rst : in std_logic;
en : in std_logic;
load : in std_logic;
load_value : in std_logic_vector (31 downto 0) := (others => '0');
addr_out : out std_logic_vector (31 downto 0)
);
end addr_gen;