Thank you for your answer, Tricky
You are right. I explored the fitter report and found out:
Total memory bits: 618472 ot 1161216 (53%)
M9Ks: 122 of 127 (97%)
These are the ip modules using M9Ks in my design:
- Nios II/f with cache
- clock crossing bridge
- 4 onchip memory
- 2 tse mac
- 2 sgdma
- epcs and jtag controllers
If I understand correctly what you said, even if Quartus reports a device utilizing only 40 memory bits, actually it requires a whole M9K block, then 8kbits !
I discovered tse and sgdma modules contain plenty of such devices.
Can I overcome this situation?
I believe I once saw somewhere an option forcing synthesis of memory into registers rather than M9K but now I can't find it any more. Is this possible and safe?
Thank you
Cris