Endurance-Aware Allocation of Data Variables on NVM-Based Scratchpad Memory in Real-Time Embedded Systems | IEEE Journals & Magazine | IEEE Xplore