Forum Discussion
mappy5
New Contributor
4 years agoModule removal by compilation optimization
I want to synthesize soft CPU IP by itself and evaluate resources.
I created a TOP wrapper to implement a CPU module. However, when I look at the compilation result, I can't find the CPU module I ...
SyafieqS
Super Contributor
4 years agoHi,
Yes, there is synthesis Quartus attribute so called noprune/preserve the register from being removed.
- mappy54 years ago
New Contributor
Hi
There are 3147400 deleted registers.
Do I need to add a pragma to Verilog for everything?
- sstrell4 years ago
Super Contributor
Is your design or this soft CPU you mention (Nios?) not connected to any I/O? That is a lot getting optimized away. What does the report mentioned indicate?
If you're not connected to I/O pins, add Virtual Pin assignments in the Assignments Editor to prevent unconnected logic from getting optimized away.