Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17268 Discussions

Quartus Error: Can't place all RAM cells in design - Seeking Help

ErenYagar
Beginner
1,573 Views

Hi everyone,

I'm encountering an issue with Quartus where I'm getting the following error:
"Error (170040): Can't place all RAM cells in design
Info (170034): Selected device has 720 memory locations of type M9K. The current design requires 774 memory locations of type M9K to successfully fit.
Info (170033): Memory usage required for the design in the current device: 108% M9K memory block locations required"

I'm using the DE2-150 board and trying to display a 680*480 image. Interestingly, the default example code for DE2-150 works for this resolution, but my custom design is running into this RAM issue.

Also, the default example code uses two ROMs. How can I adapt this to use 680*480 ROMs?

Any help or insights would be greatly appreciated. Thank you!

ErenYagar_0-1700030474547.png

ErenYagar_1-1700030508498.png

 

EP4CGX150DF31C7

Labels (1)
0 Kudos
2 Replies
ShengN_Intel
Employee
1,554 Views

Hi,


Check this link https://community.intel.com/t5/Intel-Quartus-Prime-Software/A-question-about-the-block-memory/m-p/142932:

M9Ks only has these configurations 

1 bit x 8K addresses 

2 x 4k 

4 x 2k 

8 or 9 x 1k 

16 or 18 x 512 

32 or 36 x 256 

Make sure M9Ks are being used efficiently. Any bits or memory space that cannot be mapped will then be wasted.


For ROM-1 PORT, try to adjust the Set the maximum block depth check this manual link https://faculty-web.msoe.edu/johnsontimoj/EE3921/files3921/ug_ram_rom.pdf (page 13). Probably can help to reduce some of the M9Ks usage. The resource usage box can be checked at the bottom left corner of ROM-1 PORT GUI. The RAM Summary located in Fitter -> Resource Section.


Btw, the DE2-150 design example only consumes 2,664,296 / 6,635,520 ( 40 % ) memory bits and 351 M9Ks.


Thanks,

Best regards,

Sheng


0 Kudos
ShengN_Intel
Employee
1,495 Views

Hi,


Do you have any further concern or update?


Thanks,

Best Regards,

Sheng


0 Kudos
Reply