Forum Discussion
Altera_Forum
Honored Contributor
16 years agoI posted a reset controller here:
http://www.alteraforums.com/forum/attachment.php?attachmentid=1393&d=1250716848 Your code looks fine except your polarities are inverted on your reset. Should be:input clk;
output reset;
reg reset;
reg cnt;
always @ (posedge clk)
if(cnt<10) begin
reset <=0;
cnt <=cnt+1;
end else
reset <=1;
Jake