Forum Discussion
Altera_Forum
Honored Contributor
12 years agoHi Tricky,
I right now I am doing simulation only.So I was trying both software quartus and xilinx. Following is the code which I think is giving me this error: process(clk_plstr) begin if(clk_plstr'event and clk_plstr='1') then count_reg<=count_next; if(count_reg<=pls )then output<='1'; else output<='0'; end if; end if; end process; count_next <=count_reg+'1' when(count_reg=B"000" and plsrep='1') else count_reg when (count_reg=B"000") else count_reg+'1' when (count_reg<pls)else B"000"; fout<=output; Thank you