Forum Discussion
Altera_Forum
Honored Contributor
14 years agoThe shown code excerpt is effectively meaningless, because the design functions causing the large resource utilization are obviously outside this text.
By commenting the said lines, you force some signals to constant values, which in turn disables the code depending on these signals. A synthesis compiler is very clever in omitting any unused logic.