Forum Discussion
Altera_Forum
Honored Contributor
15 years agoHello, lespoils.
I'm not familiar with Verilog but I think you should add condition [not(cmpt_Fs == Fs)] to statement: always @(negedge clk) begin //compteur de coup de clock cmpt_Size = cmpt_Size+1; cmpt_Fs = cmpt_Fs+1; //shift input_tempdata <= {input_tempdata,serial_in}; end