Forum Discussion
Altera_Forum
Honored Contributor
14 years agoVHDL Math Real & Quartus
I've been using the VHDL package ieee.math_real to declare parameters, the idea being to condense as much information in a design file as possible. in particular, for fixed point operations in feedba...
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- Warning (10542): VHDL Variable Declaration warning at math_real.vhd(2373): used initial value expression for variable "RECIPROCAL" because variable was never assigned a value --- Quote End --- The reason for the warning is lines like this in math_real-body.vhdl (downloadable from the IEEE web site): --- Quote Start --- variable RECIPROCAL: BOOLEAN := X < 0.0;-- Check sign of argument --- Quote End --- This should be 'constant'. Given that this is in the IEEE library code, I don't think you can really do much about it. You might be able to recompile the IEEE libraries to over-ride whatever Quartus uses internally. Cheers, Dave