Forum Discussion
Altera_Forum
Honored Contributor
21 years agoFor examples this operation execute very slowly:
unsigned char *mem = ... program memory //(16 bits data bus) unsignde char *vmem = ... video memory //(8 bits data bus) for (int i=600; --i; ) for (int j=800; --j; ) if (*mem != 0xF7) { *--vmem = *mem; mem--; } I need to do this cycle about for 25-30 times per second, but really it works only for 5-10 times per second. How I can speedup this block?