Forum Discussion

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

Using to many M9K

I recently decided, that my intermediate storage is not sufficient, and I need to double the size. I wanted to upgrade from

RAM_1w1r_1024x18 (using 2 instances of M9K)

to

RAM_1w1r_2048x18 (using 4 instances of M9K)

However, when trying to generate the block memory using the megawizzard, it always uses 5 instances of m9k.

What's happening here? To my understanding, it should assemble four times an M9K in 512x18 mode? What did I miss?

2 Replies

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

    By default, memory blocks are configured into the max depth to support what you need, so they would be build in 2Kx4 mode, hence needing 5 blocks. (This is faster since the outputs don't need to be muxed). THe MAX_RAM_DEPTH parameter can be set to 512, in which case it will stitch 512x18s together vertically.