Forum Discussion
Altera_Forum
Honored Contributor
11 years agoThat looks like an operation that should be avoided.
I'd guess it will always take (at least) 'size' clocks. Why not just treat the rep[] array as circular? Masking the index with (2^n-1) will be cheap.