dear all
I have a question about calculating a BRAM utilzation.
I am using XC2VP30 and data sheet says
----------------------------- Block SelectRAM+
-----------------------------
18kb Blocks | Max. BRAM (kb)-----------------------------
136 | 2448-----------------------------
and in my MHS file, BRAM is specified as
----------------------------- ... BEGIN lmb_bram_if_cntlr # 64 kb PARAMETER C_BASEADDR = 0x00000000 PARAMETER C_BASEADDR = 0x0000ffff BUS_INTERFACE SLMB = ilmb ... END
BEGIN lmb_bram_if_cntlr # 64 kb PARAMETER C_BASEADDR = 0x00000000 PARAMETER C_BASEADDR = 0x0000ffff BUS_INTERFACE SLMB = dlmb ... END
-----------------------------
as far as I understand, the BRAM utilization should be
(64 + 64 ) kb / 2448 kb = 5.3 %
But log file says
----------------------------- Device utilization summary
Number of Block RAMs : 32 out of 136 23% ...
-----------------------------
I understand this as a NUMBER of BLOCKS out of total NUMBER of BLOCKS. Anyway, the memory utilization is very low.
Questions are
- Is my understanding correct ?
- How can we utilize more efficiently ?
Thankyou and thankyou for previous Q & A too.