Forum Discussion
Altera_Forum
Honored Contributor
9 years ago --- Quote Start --- how exactly does this work? after pup_count saturates won't it wrap around to 25'd0 and then start incrementing again? --- Quote End --- Yes, but that does not matter. Once PUP_RESET gets set to zero it will stay at that value. The only way to set PUP_RESET to one is to powercycle the FPGA and/or reload the configuration file. So the fact that the counter just keeps on counting and wrapping (forever) is irrelevant.