Forum Discussion

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

How to force Quartus to use M9K memory

Hi,

I have large array that I want to initialize with constant data:

reg [9*1024-1:0] Data=9215'h....;

that I want to use as m9k array, for example, as following:

A<=Data[i*18+,18];

but if I do this, Quartus try to allocate this data in logic.

In case if I download this data from external pin into the Data array, everything is ok, but I cannot use this approach in the real application.

Please, advise me how to force Quartus to put some data into:

1. M9K,

2. MLAB

3. M144

4. Logic

Thank you!

Ilghiz

2 Replies

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

    Thank you for the fast and simple answer, (* ramstyle="M9K" *) before reg declaration solves my problem!