Forum Discussion
Altera_Forum
Honored Contributor
12 years agoMultiplication Optimization
Hi; We use EP3C55f484I7 FPGA and NIOS. I work for time critical project. We use soft processor in the FPGA and in software we make some multiplications in floating point. We used FPGA multiplic...
Altera_Forum
Honored Contributor
12 years agoUse fixed point :-)
I've no idea how fast the FP instructions are, but: Have you actually verified that the custom instructions are being executed. Remember they only do 'float', not 'double' - and you need to make sure everything if 'float' otherwise you'll get a lot of float<->double conversion happening. Does that fpga have the DSP multipler blocks in it? (and do the fp custom instructions use them if it does?). (Even for the integer multiply, Altera ought to give the option of throwing logic into the multiply instruction to support faster multiplies and/or 64bit results.)