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++
12689 Discussions

Instantiating on-chip memory in logic

Altera_Forum
Honored Contributor II
1,070 Views

I am designing a Nios II CPU and trying ot see how much tightly coupled memory I can use. I am using a Cyclone 1C12. I tried 24 KBytes of tightly coupled Instruction memory and 4 KBytes of tightly coupled Data memory. Unfortunately my compiler complained that I didn't have enough M4K blocks to complile the design. Does anyone have any suggestions of a work around ? Is there any way to insatntiate these memory elements directly in logic ?  

 

Shmuel
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
361 Views

The 1C12 has 52 M4K memory. Each M4K is 0.5K. The Nios2 core will take 2-4 M4K, more with cached. So you can have only around 20K onchip memory.

0 Kudos
Altera_Forum
Honored Contributor II
361 Views

Is there any way to instantiate the tightly coupled memory in logic instead of M4K Blocks ?

0 Kudos
Reply