Forum Discussion
Altera_Forum
Honored Contributor
12 years agoIs this a block to be synthesised, or just a simulation model? It can make a real difference to the code, because waits might be very appropriate for a model.
for the counter size, you know your clock speed, and you know how long you need to wait, so n bits can be easily calculated.