Forum Discussion
Altera_Forum
Honored Contributor
14 years agoExponentiation
People,I want to perform an exponentiation in base 10 but the exponent is a variable and this is causing an error in 10,638 at the compilation.I wonder if there is another way to do an exponentiation...
Altera_Forum
Honored Contributor
14 years agoWell your code sounds like software approach not VHDL.
Your algorithm does not look right especially so the 10** You must first define a correct algorithm then implement it in HDL