Forum Discussion
Altera_Forum
Honored Contributor
10 years agohow to generate a reset signal in Altera Cyclone Ⅳ series?
Verilog:
input reset;
reg counting;
always@(posedge clk or negedge reset)
begin
if(!reset)
counting <= 11'd0;
end reset signal is connect to “M1” pin. is it counting =...
Altera_Forum
Honored Contributor
10 years ago --- Quote Start --- You've not posted any code with the instruction "counting <= 11'd1". Why not just try using the exact code msj posted on# 2 ? --- Quote End ---
input reset;
reg counting;
always@(posedge clk or negedge reset)
begin
if(!reset)
counting <= 11'd1;
end I had been modify. counting is equal to 1 after power on.