Forum Discussion
Altera_Forum
Honored Contributor
10 years agoSeems like the following part of the code will keep always the variable BCD_new at the same condition:
always @(posedge clk) if(cntovf) BCD_new <= (BCD_new==4'h9 ? 4'h0 : BCD_new+4'h1)Seems like the following part of the code will keep always the variable BCD_new at the same condition:
always @(posedge clk) if(cntovf) BCD_new <= (BCD_new==4'h9 ? 4'h0 : BCD_new+4'h1)