wishbone_bram_wrapper ram_addr_bits is 1 bit off
log2ceil() returns the number of bits required to store a value, so we need to pass in memory_size-1, not memory_size. Every other user of log2ceil() gets this right. Signed-off-by: Anton Blanchard <anton@linux.ibm.com>log2ceil-issue
parent
30fd936c12
commit
b5accb78b2
Loading…
Reference in New Issue