Altera_Forum
Honored Contributor
15 years agoQuartus allocates M9Ks for NIOS is 16 block increments - HELP
Hi Folks-
I'm having a problem getting use of the the last few M9K unsused blocks in my device. Block RAM for NIOS code and data seems to be allocated by Quartus in increments of 16 M9Ks. In SOPC builder, I can allocate NIOS memory in increments of 1K bytes. My device limit is 66 M9Ks and my hardware blocks use 13 M9Ks. I'd like NIOS to use whatever M9Ks remain. An example will show my problem. If I tell SOPC builder to size NIOS RAM at 46K or 47K or 48K bytes, Quartus will allocate exactly 48K bytes (or 48 M9Ks). That leaves 66 - 48 - 13 = 5 M9Ks unused. If I tell SOPC builder to size NIOS RAM at 49K bytes, Quartus will allocate exactly 64K bytes (or 64 M9Ks). That leaves M9K over-allocated and the build will not succeed. If I ask for just a little more memory for NIOS from my 5 unused M9Ks, I can't get it because of that huge M9K allocation increment. Every bit of RAM is precious in my system. I can fit a lot of code into 5K and I would sure love to use it. Is there any way to get Quartus to allocate M9Ks for NIOS in smaller increments (much less than 16 M9K increments)? Thanks, John Speth