Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12652 Discussions

Nios2 core usage of memory blocs M4K x M9K

Altera_Forum
Honored Contributor II
1,271 Views

I was playing with a cheap development kit based on the Cyclone-II which did not suffice to fit a specific design. 

More precisely, it was required 30 M4K memory blocs, whereas the chip on the dev kit contains only 26 M4K memory blocs.  

 

I found another cheap kit, now based on the Cyclone-III, which apparently would meet my needs, due it has 56 memory blocs. 

However, at its datasheet it is mentioned that the memory bloc is of the type M9K , not an M4K. 

 

My question is:  

 

 

  1. What is the equivalence between both blocs ? 

     

  2. Would the system resource usage of the previous design fitted at this new chip, to be at the ratio of 1:1 ?  

0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
516 Views

4K < 9K so you are okay.

0 Kudos
Altera_Forum
Honored Contributor II
516 Views

1. M9K has 9000 bits of memory versus M4K of 4000 bits of memory. Representing about 2x more in memory capacity 

2. Quartus looks at the memory size per RAM instance, ie depth + width instantiated and hook up X number of memory blocks together. I would aspect about 2:1 ratio. 

 

Example, previously you have a system with a RAM of size 15kBytes (30 * 4000bits). So now you use 13 of them on Cyclone III 15kBytes * 8 / 9000 bits.
0 Kudos
Reply