Forum Discussion
Altera_Forum
Honored Contributor
13 years agoFPGA Multiplication Resource Utilization
Hi, I need to do 18x7 multiplication and my FPGA doesnt have the built in DSP blocks, so I am using behavioral code in the source code to do the multiplication. It is taking around 190 LUT to do ...
Altera_Forum
Honored Contributor
13 years agoAgreed. For multiplying by a fixed number, shifts, adds and subtracts are the way to go. I once wrote a program that would give you the optimal combination in pseudo code. I'll see if I can dig it up somewhere. It basically found two shift values that were above and below the multiplier and then recursively deduced the least expensive path.
-Mux