Hardware/Software C0-design For Heterogeneous Multi-core Platform