Forum Discussion
Altera_Forum
Honored Contributor
15 years agoyou have a couple of options
Altera has some floating point megafunctions, i think Verilog is supported: http://www.altera.com/literature/ug/ug_altfp_mfug.pdf DSP Builder Advanced Blockset has some floating point blocks and full "math.h" support. it generates VHDL: http://www.altera.com/literature/hb/dspb/hb_dspb_adv.pdf you could also try the VHDL 2008 floating point package (there are some modified for VHDL-93 out there). this is not optimized for/by Altera, so i would expect the lowest fmax and highest resource usage out of the 3