Forum Discussion
Altera_Forum
Honored Contributor
14 years agoLPM_DIVIDE Megafunction
Hey guys, I posted something earlier here about NLMS on an FPGA. So far, I have the LMS working, but I need to perform a fixed point division to perform normalization. My question ...
Altera_Forum
Honored Contributor
14 years agoYou need to promote the numerator to Q8, while leaving the denominator in Q4.
Then you'll get a quotient in Q4 and remainder in Q8. You can then convert the remainder to Q4 by rounding off the 4 LSBs.