The built-in block RAM primitive in the Spartan-6 FPGA can be used to implement RAMs, ROMs, and FIFO blocks for a design.The block RAMis optimized for performance and allows you to implementa RAM, ROM, or FIFO block in a design without requiring large amounts of fabric resources from slice logic.
The
Spartan-6 FPGABlock RAM ResourcesUser Guide (UG383)provides additional details on the block RAM. It is recommended that you read through the user guide to familiarize yourself with its use and howit can be used in your design:
http://www.xilinx.com/support/documentation/user_guides/ug383.pdf In addition, the following Answer Recordsare useful in providing details on different ways to implement block RAM blocks in your code:
(Xilinx Answer 46748) - How to infer the use of Block RAM primitive in your HDL code
(Xilinx Answer 46747) - Using block RAM CORE Generator and to setup the block for use in HDL code