A two-layer distributed MPC approach to thermal control of Multiprocessor Systems-on-Chip. (May 2022)