Forum Discussion
Altera_Forum
Honored Contributor
10 years agoerror: expression is not constant
Hi, My code is as followed: signal cnt_clks : natural range 0 to 300;
...
...
cnt_clks <= conv_integer(unsigned(time)) * 25;
process(clk_50,...
Altera_Forum
Honored Contributor
10 years agowhat is definition for enc_delay. Hope it declared properly for at least 300 bits long. The size should be greater then maximum value of {cnt_clks} 300.
it seems shift register that should shift for random number bits. How do you think synthesis tool could implent your code?