Forum Discussion
Altera_Forum
Honored Contributor
8 years agoAdjustable frequency generator
Hi, I am trying to implement adjustable rectangular wave generator in MAX10. The code below: library ieee;use ieee.std_logic_1164.all;
use ieee.numeric_std.all;
entity DIVIDER_2 is
p...
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.