Forum Discussion
Altera_Forum
Honored Contributor
17 years ago --- Quote Start --- Can the MRAM blocks be combined with M4K blocks to form a larger internal memory for code to execute from ? --- Quote End --- The "On-Chip Memory (RAM or ROM)" MegaWizard lists only "Auto" and the individual RAM block types in the "Block type" drop-down list, so you can't specifically choose the combination of MRAM and M4K there. Setting "Block type" to "Auto" in combination with the suggestion in the previous post might be all you need. The Fitter might put some of the memory in MRAM on its own. If you want to allow or force a combination of MRAM and M4Ks without M512s, you need to use a mechanism outside SOPC Builder. You could use LogicLock. Assign the on-chip RAM block of hierarchy to a LogicLock region containing all the MRAM and M4K blocks you want to allow the on-chip RAM to use. If this region includes RAM blocks you don't want used by this block of hierarchy, then you can exclude those using one or more additional LogicLock regions. QII 8.0 allows effectively nonrectangular regions by carving out keep-out areas with other regions. This is covered in the Quartus handbook in Volume 2, Section III, Chapter 10, under "Creating Non-Rectangular LogicLock Regions".