Forum Discussion

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

Why it wants mofr M9K blocks

Cyclone 3 - device has 66 M9K blocks.

I set up 16384x36 memory chunk. It is 589824 bits, with device having 608256 bits.

However quartus says it is too much, and says device needs to have 72 blocks to fit memory I need.

What's an issue?

Thank you for tips.

13 Replies

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

    --- Quote Start ---

    Wizard says block type "auto" and max block depth "auto". Resource really says 72 M9K.

    I have played with number of words. Choosing 1024 gives 4 M9Ks, but choosing 2048 (twice more) gives 9 (nine!) M9Ks!

    I also played with bus width and it seems to me that 9th bit of the M9Ks is being lost in my setup. When I set bus width to 32 bits, it properly displays 64 M9Ks.

    --- Quote End ---

    if you set width to 36, depth to 16384, block depth to 1024 or less you should get 64 M9Ks plus extra logic. Is that what you mean?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    and the explanation (as far as I know) is that the parity bit is available across 1024 locations (or spread across as 2*512,4*256). any depth > 1024 loses it. This parity bit itself is not used as parity in the first place! as far as I know.

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

    --- Quote Start ---

    and the explanation (as far as I know) is that the parity bit is available across 1024 locations (or spread across as 2*512,4*256). any depth > 1024 loses it. This parity bit itself is not used as parity in the first place! as far as I know.

    --- Quote End ---

    Oh thank you so much - it worked!