Forum Discussion
Altera_Forum
Honored Contributor
16 years ago --- Quote Start --- The Quartus will stick reset to vcc --- Quote End --- That's not generally true, I think. The design can work based on the defined power-on reset feature. As clarified in the Quartus Software Manual, all core registers have a power-on reset value of 0. In the original design, Quartus is performing some optimizations, also involving register polarity inversions. By specifying an explicite power-up value in the reg definition, this optimization is canceled and cnt starts at 0
reg cnt = 4'd0;