Forum Discussion

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

Force a reg not to use M9K but logic

Hi

I do use M9K for ROM tables and this works fine

I also have to use quite some latches since I works as pipeline

The problem are when I do use latches then QuartusII on some of the latches do use M9K and other a logic , then I do not have enough M9K for ROM

I have tried different combination with ramstyle="logic" in my verilog

(* ramstyle = "logic" *) reg [63:0] Block_out;

reg [63:0] Block_out /* synthesis ramstyle = "logic" */;

And still some of my reg do use M9K

Any hint?

3 Replies

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

    That did the trick

    Assignments -> settings -> analysis and synthesis settings -> more settings

    "auto shift register placements". Change this to "off".

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

    A global assignment works too, of course. As in the linked thread, the assignment is often required for specific objects.