Remapping method to minimize makespan of simulink model for embedded multi-core systems