Integrated Coupling and Clock Frequency Assignment of Accelerators During Hardware/Software Partitioning