I am designing a FIR filter in Verilog with Quartus II. I need floats for my coefficients so I tried using float however reall is not supported by Quartus so what do I do?
Thanks
I am designing a FIR filter in Verilog with Quartus II. I need floats for my coefficients so I tried using float however reall is not supported by Quartus so what do I do?
Thanks
You can't use real, since it is not synthesizeable, follow IEEE-754 format for floating point. can be done by using structural modelling with Altera Megafunctions.
Its recommended to use MAC unit, with floating point options.
check the below link http://quartushelp.altera.com/current/master.htm#mergedProjects/hdl/mega/mega_list_mega_lpm.htm
check for
overall floating point arithmetic pdf link https://www.altera.com/en_US/pdfs/literature/ug/ug_altfp_mfug.pdf