Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

Question about Internal Memory configuration

Hi all. I am trying to implment a Dual port RAM using CycloneIII EP3C10. As listed by the handbook, EP3C10 has 46 M9K Blocks. I want to configure the memory as 5120 × 32bit. MegaWizard tell me the memory need 32 M9K. My question is whether I could reduce the num of M9K according to some setting with Maximum Block Depth.

thx.

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The megawizard isn't able to optimize the use of memory blocks when the size isn't a power of two. To reduce the blocs usage you must create two memories, one 4096*32 and one 1024*32, and add some logic to select which block to use.