[Altera] How to infer some code into ROM-blocks (in automatic way), but not all

Mar 04, 2008 2 Replies

Hi. My qustion is probably dumb. But i'm stuck here. In my design I have a lot of code that can be inferred into ROM automatically, and it does. However, my device doesn't have enough ROM blocks. My question: is it possible by Quartus to infer some code into ROM blocks when it is possible and all the rest let him to make synthesis using ALUTs? Or should I manually divide all my ROM-like code to what will inferred into ROM blocks and that part which will be done usign ALUTs?


Hi.

Oh, I forgot to write: I use Quartus 7.2sp2 and my device is EP2S60.

The short answer: yes.

I haven't done it myself, but I do know the Megawizard Plug-in Manager lets you choose whether you want ROM blocks synthesizes as block ram, luts or automatic.

Check out the "altera_attribute" help. You should be able to specify on a per-entity basis whether block ram or logic is used to synthesis inferred rom/ram...

Regards,

Mark McDougall, Engineer Virtual Logic Pty Ltd, 21-25 King St, Rockdale, 2216 Ph: +612-9599-3255 Fax: +612-9599-3266

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required