Altera_Forum
Honored Contributor
14 years agoM9K Resource in SOPCB
Hi, Can anyone tell me how does the Fitter allocate the total M9K resource for onchip memory in SOPC Builder? I would like to optimize my M9K resource. Thanks Caridee
Any memory block has to be made up of entire M9K blocks - even though the system build will show the actual memory cells used (not overly useful).
The one exception is that is will use the second port to let two users share the same M9K block - provided the access modes allow it. The NiosII cpu uses M9K memory for the registers, this takes an etire M9K block (does it need 4 M9K blocks??) even though only 32*32 = 1024 bits are actually used. I suspect that the alternate register sets (recently added for interrupts) use the same M9K block (by setting higher address bits).