ram_wb.v should include the defines file
`include "ram_wb_defines.v"
There is also an inconsistency between naming RAM_WB_DAT_WIDTH and RAM_WB_DAT_SIZE