Forum Discussion
Altera_Forum
Honored Contributor
11 years agoVHDL, MSF 5 bit counter
Hello everyone, I'm an italian student, so I apologize for my english, and I'm new in the forum, I have to do an exercise: the creation by MSF of a 5-bit counter using VHDL. I have various...
Altera_Forum
Honored Contributor
11 years agoThe problem is you have counters in the asynchronous code. If you think about it, for a real circuit, you're asking it to build an adder that loops back on itself with 0 delay, meaning it's trying to count up or down an infinite number of times in an infinitely small amount of time. Hence the infinite loop.
You need to move the counter into a clocked process