library ieee; use ieee.std_logic_1164.all; use ieee.numeric_std.all;
entity counter is
generic(N : natural := 8) port( reset_n : in std_logic; clk : in std_logic; enable : in std_logic; value : out unsigned(N-1 downto 0) );
end counter;
library ieee; use ieee.std_logic_1164.all; use ieee.numeric_std.all;
entity counter is
generic(N : natural := 8) port( reset_n : in std_logic; clk : in std_logic; enable : in std_logic; value : out unsigned(N-1 downto 0) );
end counter;