Altera_Forum
Honored Contributor
15 years agoMegaWizard SRAM using too many M9K blocks
Hi there,
I have a design that requires quite a lot of dual-port RAM to perform some signal acquisition and processing. One basic block (hist_ram_16) that I need is a RAM with 18 bits of width and 2048 words in depth. Since I need quite a lot of these blocks, I would like to force each memory block to take up exactly 4 M9K (using each M9K in 9-bit mode: 18*2048 bits = 4*9*1024). For some reason, Quartus, or MegaWizard for that matter, is using 5 M9K blocks instead of 4. I already tried to change some options but could not manage to get Quartus to limit itself to 4 M9Ks. Please see all the screenshots in attachment. Does anyone have any idea on how to force the RAM block to use exactly 4 M9K blocks? Thanks.