Forum Discussion
Altera_Forum
Honored Contributor
10 years ago --- Quote Start --- Parameters are constants that are must be known when Quartus is run. Parameters are used in your code that defines what the circuit looks like. This is similar to how# define works in C/C++. What you have calculates the number of 1s and then expects the circuit to change at run time based on that. You could use a parameter for something like the max number of 1s, or the width of signals. You cannot use them for things that are calculated when the circuit is running. --- Quote End --- Hi Galfonz, I realize that HW (i.e. Flip-Flops) cannot be created during run rime. Can you suggest than of a way to get around this, when you know that upon a user request the program needs to be executed 'X' number of times? BTW, is there a sub-thread where I can share my piece of code and receive feedback. Thank you for your time, Refael.