Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21602 Discussions

lpm_mult - no sum input

Altera_Forum
Honored Contributor II
1,212 Views

The definition of lpm_mult is supposed to include a sum input, but when I use the megawizard I can't produce one for any device family. The resulting verilog does not have one either. What's the deal? I am using Q7.2free .

0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
478 Views

Hello, 

 

the sum input options apparently has been "lost" with lpm_mult Megawizard V7.0 or V7.1, it was still functional with V6.0. But the library lpm_mult (.v, .vhd,.tdf, whatever you prefer) still has it. Thus you can use it by manually instantiating the megafunction. You should consider, that this implies a logic element multiplier, hardware multipliers don't have the partial sum feature.  

 

Personally I prefer infering multipliers from HDL, which saves thinking about optimal implementation for a particular device. So I was never aware of the change to Megawizard. 

 

Regards, 

 

Frank
0 Kudos
Reply