Simulator of a memory controller to connect DRAMSim and FlashDIMMSim into one unified memory