Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
7 years ago

Reduce Logic Usage Effectively

Hi, I know that both "/" and "%" functions are very expensive.

Unfortunately, I couldn't avoid division in my implementation.

I tried to replace the "/" function with counter, Indeed, it does help to reduce a lot of resources, but at the same time, it slows down my program.

So, is it any better solution instead of replacing it with a counter?
No RepliesBe the first to reply