HW-SW Emulation Framework for Temperature-Aware Design in MPSoCs