Altera_Forum
Honored Contributor
14 years agologarithm 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 another generic parameter of a submodule. Thanks! Sören