Altera_Forum
Honored Contributor
10 years agoDual ports - infer or megawizard advantages/disadvantages
Hi all, elementary question perhaps but is there any advantage in instantiating a dual port RAM (or any memory type buffer for that matter) using the IP Catalog/Megafunction Wizard rather than inferring? I suppose the same question could be asked for lots of different functions.
The reason I ask is because what I have done in past projects (rightly or wrongly) is to write a re-usable parameterized module which internally hijacks a megawizard generated module and replaces any fixed numbers with appropriate parameters. This is a bit of a strange way to do it in retrospect (but it works well) and also I had to add parameters to specify RAM type such as M9K or M512 (for Stratix III). Now I am working on a new project with Arria V and some of those settings don't make sense, so I thought why did I ever do it this way? i.e. why not infer and let Quartus work out how to implement the functionality. I apologize in advance if this question comes up all the time, but I suppose it's always good to hear other views on these things. Thanks, D