Text this: Layered approach for runtime fault recovery in NOC-Based MPSOCS