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

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?

Reply to
sdf
Loading thread data ...

Hi.

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

Reply to
sdf

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
Reply to
Mark McDougall

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.