Forum Discussion
Altera_Forum
Honored Contributor
8 years agoJust think a bit.
Counter is implemented in synthesis as unsigned(11 downto 0) with an actual range of 0 to 2047. Once divider value exceeds 2047, the else conditions becomes never true and output toggling and further increment of divider stops. Consider what you exactly want to achieve and design the code respectively.