--- Quote Start ---
Its quite straight forward if you use the fixed point package from
www.vhdl.org/fphdl as simple as:
b <= a* to_sfixed(2.41421, 3, -4); -- 4 bits integer 4 bits fractional
--- Quote End ---
Hi, this seems like the best way to go ahead for this! The page says it bridges the gap between VHDL-93 and VHDL-2008. If i directly use VHDL-2008 is there native support for fixed point already in the language?
Would you be able to tell me how i can include this package in my quartus project when i compile? If i try to download the file and include it in my project i get an error saying library IEEE does not contain primary unit "fixed_pkg"