Forum Discussion
Altera_Forum
Honored Contributor
18 years agoAs someone said in another message thread, the cases that generally require instantiated megafunctions, whether LPMs or Altera specific, are those where you are using silicon device features that the synthesis tool cannot infer from the RTL. This would be the case for any vendor.
For coding styles to infer particular functions, see the Quartus II handbook, Volume 1, Section II, Chapter 6. In the "Analysis & Synthesis Resource Utilization by Entity" table of the compilation report, find your entity or module name. If a megafunction was inferred, it will be listed as a lower level of hierarchy. There will also be messages listing the inferred functions, but this table might be the easiest place to tell which functions are used by a particular source file. The Analysis & Synthesis report also give details about every state machine in messages and in tables.