Forum Discussion
Altera_Forum
Honored Contributor
13 years agoYes you are correct that
--- Quote Start --- reg [19:0] sram_buffer [255:0] --- Quote End --- will be 256 20-bit words. I'm still not quite with you on what you are trying to do. When it comes to memories, if you want Quartus to infer memories you should take a look at this document http://www.altera.com/literature/hb/qts/qts_qii51007.pdf page 11-13 and on describes on how to infer memories. You can also instantiate memories explicitly in your code. To explicitly add a memory use the Megawizard tool under the tools menu in Quartus. /Boris