Forum Discussion

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

logarithm to the basis 2

Hi, is there a way to calculate the logarithm to the basis 2 of a generic parameter? I don't need a synthesizeable circuit. I just want the compiler to to calculate an integer and asign it to a...