DRAMSim2: A cycle accurate DRAM simulator