In reply to dave_59:
Dimensions written after mem_ddr is row and [2^12-1:0] is coloums each of 32 bit !