• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2015, Vol. 37 ›› Issue (04): 641-648.

• 论文 • 上一篇    下一篇

多选择软硬件划分问题的计算模型与动态规划算法

朱峰军1,武继刚1, 2,史雯隽1,姜桂圆3   

  1. (1.天津工业大学计算机科学与软件学院,天津 300387;
    2.中国科学院软件所计算机科学国家重点实验室,北京 100190;
    3.天津大学计算机科学与技术学院,天津 300072)
  • 收稿日期:2014-08-16 修回日期:2014-10-25 出版日期:2015-04-25 发布日期:2015-04-25
  • 基金资助:

    国家自然科学基金资助项目(61173032);国家自然科学基金天元青年基金资助项目(11326211)

Computing model and dynamic programming algorithm for
multiple-choice hardware/software partitioning on MPSoC  

ZHU Fengjun1,WU Jigang1,2,SHI Wenjun1,JIANG Guiyuan3   

  1. (1.School of Computer Science and Software,Tianjin Polytechnic University, Tianjin 300387;
    2.State Key Laboratory of Computer Science,Institute of Software,Chinese Academy of Sciences,Beijing 100190;
    3.School of Computer Science and Technology,Tianjin University,Tianjin 300072,China)
  • Received:2014-08-16 Revised:2014-10-25 Online:2015-04-25 Published:2015-04-25

摘要:

软硬件划分是软硬件协同设计的关键环节,划分的结果直接影响目标系统的设计质量。因此,对于一个给定的应用程序,为了使得目标系统快速执行且成本低廉,合理的划分策略十分重要。由于单个任务具有多种不同的硬件实现方式,与传统的单一硬件实现方式的软硬件划分问题相比,多选择的软硬件划分更能客观地反映现实应用。这导致问题的求解更具挑战性,它们已被证明是NP完全问题。基于多核处理器片上系统并针对任务图为二叉树的应用,建立了多选择软硬件划分问题的计算模型,并提出了解决该问题的动态规划算法。实验结果表明,当问题规模适中时,所提动态规划算法能够有效地获得精确解,并展示了算法的计算能力与硬件面积限制之间的关系。

关键词: 多选择软硬件划分, 多核处理器片上系统, 二叉树, 动态规划算法

Abstract:

Hardware/software (HW/SW) partitioning is one of the most crucial steps in hardware/software co-design,as the solution of partitioning directly affects the quality of the target system.For a given application,it is quite necessary to find a reasonable partitioning in order to obtain a target system which is of low cost but can be fast executed. In system design, one task has different implementation manners in hardware according to the different hardware areas.Thus,the multiple-choice HW/SW partitioning is more realistic than the traditional HW/SW partitioning which considers only a single implementation manner in hardware.It is also more challenging to solve the multiple-choice HW/SW partitioning problem. The two types of partitioning problems both have been proved to be NP-complete.For the multiple-choice HW/SW partitioning problem on Multiprocessor System-on-Chips (MPSoC),we present a computing model on MPSoC for the input controlflow graph with a binary tree.A dynamic programming algorithm is also proposed to solve this problem.Extensive simulation results show that the proposed algorithm can provide the exact solution for the problems with certain scale.It also shows the relationship between the algorithm performance and the constraints of hardware area.

Key words: multiple-choice hardware/software partitioning;multiprocessor system-on-chips;binary tree;dynamic programming algorithm