Forum Discussion
Altera_Forum
Honored Contributor
8 years agoAbout My VHDL Task
Hi, as a beginner in VHDL, I like to hear comments and ideas from you. I have a task to do, my lecturer sent me a code but I couldn't find out. This's the code. -- library ieee; u...
Altera_Forum
Honored Contributor
8 years ago --- Quote Start --- The reg table only has 16 elements. It does seem a design flaw to count only from 0 to 14, rather than 0 to 15. It cannot run until 20 because it would overflow the reg array. --- Quote End --- I didn't mean that. The prescaler should be meaning and adjusting the frequency. If it has ability to count to 20(such as), This situation will be changing the frequency. There should be a calculation why he has 16 elements.