Solved
Forum Discussion
_AK6DN_
Frequent Contributor
2 years agoWhen compiled as a top module, all inputs and outputs are assumed to be used by Quartus, and the logic is generated.
Once instantiated as a sub module, Quartus can detect unused logic paths, and remove them.
Probably what you are seeing happen.