--- Quote Start ---
Thank you. flz47655.
One more question: What's the difference of Fmax and Restricted Fmax?
I used timequest to report the Fmax. And find there is a big differnece between Fmax and Restricted Fmax. See attached picture.
https://www.alteraforum.com/forum/attachment.php?attachmentid=10599 --- Quote End ---
FMax is a theoretical max frequency if there are no restrictions
Restricted FMax is when there are restrictions ( timing specs provided by engineer, limitations of the part you are using etc).
--- Quote Start ---
That's a good idea. Do you think "/" operation will lead to lower Fmax than "shift_right"?
--- Quote End ---
There is no different between shift_right and /2^n. They are the same operation. But using the / operator can make the code more readible.
Be aware that dividing by some other value (that is not 2^n) will instantiate a divider, and that will have a terrrible fmax).