06-06-2012 01:06 PM
I have used Coregen to create a 48k x 8 SRAM inside a Spartan6 LX9.
Coregen has created this using 24 block RAMs each in its 16k x 1 configuration. So 8 block RAMs makes a byte, and three lots of these gives me my 48k x 8 memory. The output of each of the three 16k x 8 units goes to some muxes together with the two most sig address bits.
Now the problem is that I want to create a BMM file so I can initialise the RAM. The only way I can see to do this is to open FPGAeditor and search through and find the 24 block RAMs, and find out which data bit they represent and which of the 16k blocks they are in.
Is there an easier way? I can see that as the design evolves, then the LOC of each block RAM may change.