Forum Discussion
Altera_Forum
Honored Contributor
9 years ago --- Quote Start --- All initial states of variables in Altera FPGA devices after power up are set to 'zero' logic. --- Quote End ---
input reset;
reg counting;
always@(posedge clk or negedge reset)
begin
if(!reset)
counting <= 11'd1;
end I found that it counting is equal to 1 after power up! why?