Forum Discussion

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

How to calculate fractional part of quotient when using the lpm_div

The lpm_div outputs quotient and remainder. Can it be used to implement fixed point division?? The remainder is not equal to the fractional part. I am not sure how to calculate fractional part...