A Self-Aware Architecture for PVT Compensation and Power Nap in Near Threshold Processors