Forum Discussion
Altera_Forum
Honored Contributor
11 years agoFmax Improvment
I'm trying to improve Fmax in our design. See the archived quartus II proejct file in the attachment. The source files are also attached.
In my currrent design, after compilation, Fmax can reach only 141Mhz. But my target is to reach 300mhz. Do you know how to optimize it to achieve 300mhz? The device I'm using is Arria V 5AGXBA3D4F31C4.22 Replies
- Altera_Forum
Honored Contributor
Instead of having lots of bits to select the offset value, why not just assign the offset value from the first set of if statements. Then you remove the whole second priority mux.
if Setting_Pixel_un < (Setting_TotPixel_un/16) then grey_offset <= 0; elsif <next compare> then grey_offset <= x"100100100"; ..... out_data <= GrayColor + grey_offset; - Altera_Forum
Honored Contributor
Hello Tricky, I have tried your code. But, it does't improve on Fmax. The worst path is still the long chain of "IF...ELSIF".