Forum Discussion
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- Thanks for your help so far. Do Altera devices have BRAM? Or I need to have certain settings in order to unable it? --- Quote End --- Yes, the devices have distributed RAM equivalent to Xilinx BRAM. Each device has blocks of RAM of various sizes. The names of the RAM changes depending on the whims of Altera marketing. For example, the Stratix IV handbook indicates those devices have 'tri-matrix' memory blocks consisting of M9K (9216-bits), M144K 147456-bits), and MLAB (640-bits) memory blocks. These blocks can be used for memory, dual-port FIFOs, etc., pretty much all the same stuff as BRAMs can be used for. The Quartus II handbook has details on how you can infer these memory blocks from VHDL or Verilog, or you can use the MegaWizard manager to instantiate a specific component. I typically use the MegaWizard to get an example instantiation of the component, and then use the altsyncram or whatever component it instantiates directly in my code. Cheers, Dave