On Tue, 25 Oct 2011 17:03:16 -0400, you wrote: >I'm trying to use the bram coregen from ISE. My part is the Spartan 3E 500= K >gates with 20 of 18Kbit bram blocks for a total of 368640 bits (according = to >the datasheet). > >However, the coregen isn't allowing me to fully use all available bits. By >trying different values, it shows me that (for example), an 8 * 2048 (=3D >16384 bits) memory consumes one 18Kbit block, which doesn't make sense to >me. Going over just by one causes it to consume 2 blocks. What's going on >here? > >It won't let me do an 8 * 46080 (=3D 368640) bits memory. It tells me that >it's more than what's available on my device. The clue is in the word "Block".=20 The blocks are not a bucket of single-bit locations, but chunks that can b= e used in specific configurations, with powers of 2 as the address inputs.=20 Therefore 2049x8 uses 2 blocks.=20 Larger widths have parity bits available, so 2048x9 can be done in one bloc= k.=20 If all else fails, read the datasheet! =20 --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .