Forum Discussion
Altera_Forum
Honored Contributor
14 years agoThe answer about the different compilation results is in this code line
xin_mean<=xin_mean/MxN +Xin/MxN; It's implementing two hardware dividers respectively a simple shift operation, if MxN is a power of two. The difference also catches your eye in the Quartus hierarchy browser.