Forum Discussion
Altera_Forum
Honored Contributor
7 years agoOn chip memory uses huge amounts of logic resources, and takes a long time to synthesise. You may also struggle with timing.
128k x32 using on chip memory is very large,and probably uses all (or more) of the chip resources. Logic should only really be used for very small rams. MLABs (memories from logic) are only 640 bit, (32x16 for example). the largest Stratix 10 has 47700 of these, so you get 763kx32 max. If your code doesnt match the behaviour pattern for an MLAB or M20k, it will be built using registers, where memory capacity will be far smaller.