Forum Discussion
Altera_Forum
Honored Contributor
15 years agouse unsigned type for your count and assign initial value.
signal count : unsigned(7 downto 0) := x"00"; use count + 1 instead of count + '1'; result <= std_logic_vector(count); by the way your code infers extra 8 registers unneccessarily