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

How to Remove Constant Multiplication Optimization?

Kyle
Beginner
650 Views

Hi all,

 

I am looking to disable the optimization done when multiplying by a constant. I have DSP blocks available that I want to reuse instead of having the operation mapped to logic. I am using Quartus II 15.0.

 

I've:

  • tried calling an IP block with the generic "lpm_hint => "DEDICATED_MULTIPLIER_CIRCUITRY=YES, MAXIMIZE_SPEED=0","
  • looked through the options under "Assignments -> Settings -> Compiler Settings -> Advanced Settings"
  • searched through the forums.

All to no avail. Any help is appreciated. Thanks!

0 Kudos
2 Replies
ak6dn
Valued Contributor III
293 Views

If the block is written to be fully general at the Verilog/VHDL level, why do you care that in a particular instance, when you feed it constants, that Quartus does implementation optimization? Each time you instantiate the block, Quartus will look at all the inputs/outputs, and if inputs are constants, it will optimize around that. And for unused outputs the logic will be discared (by default, can be suppressed). Why do you care if Quartus is doing this?

0 Kudos
Vicky1
Employee
293 Views

Hi,

Could you please provide the below information?

device used

IPs used

are you using Qsys or IP Catalog?

any screen shot

Thanks,

Vikas

0 Kudos
Reply