connect mainmem and core. Memory is not inferred by quartus?!?!?!?!?!??!"