Forum Discussion
Altera_Forum
Honored Contributor
12 years agothe Quotient is floating point in vhdl
hi all if i want to divide two numbers and i know the result would be float . what can i do it and how to specify the output from division thanks a lot.
Altera_Forum
Honored Contributor
12 years agowhat are the two operands? diving two integers gives you an integer and remainder result (if you use the IP core). If you use correct scaling, you can get a fixed point output. You only get a floating point result if both inputs were floating also.