Thermal-aware floorplanning for partially-reconfigurable FPGA-based systems