Forum Discussion
ak6dn
Regular Contributor
5 years agoOk, sorry, I use two different versions of Quartus (13.0sp1 for older devices, 16.0 for new devices).
So in 16.0 or later, go to TOOLS menu, and select IP CATALOGS.
Over on the right hand window, then select LIBRARY, BASIC FUNCTIONS, then ON CHIP MEMORY.
Choose 1 or 2 port RAM (or ROM, whatever you want). Double click on it and it should throw up a dialog box to setup a new instance and then allow you to configure it.
If you have already chosen your device, then it will show on the first configuration dialog items to select implementation type (ie, M9K block ram vs LC logic cell).
Configure away, and save the black box and the instantiation template file, which you can then copy the contents to your design.