Forum Discussion
Altera_Forum
Honored Contributor
18 years agoCounter Power on Reset only
Is there anyway in Altera or Verilog code such that the counter gets reset to zero only on power ON. Please advise. (I am using EP2C35F672C6 "Cyclone II" within DE2 board)
Altera_Forum
Honored Contributor
18 years agoI'm not so familiar with Verilog, but Quartus should infer register power-up reset from Verilog initial block:
initial
begin
outcnt<=8'h00;
end There is also an power-up option for registers in assigment editor, but HDL assignment is more comfortable.