Altera_Forum
Honored Contributor
13 years agoFor loop
hello I want to check an array. which one is quicker? using for loop or using a counter that counts up at the "posedge" of the clock. thanks
again - you dont seem to understand the nature of digital logic. In digital logic there is no "array", just some form of memory. If you build it out of registers you could access all array elements in parallel. If you had a physical memory you could only access the elements sequentially.
But it all depends on the context and what you're trying to do.