中国科学技术大学学报 ›› 2014, Vol. 44 ›› Issue (1): 19-33.DOI: 10.3969/j.issn.0253-2778.2014.01.003

• 论著 • 上一篇    

基于有色Petri网的多处理器片上系统调度方法

冯晓静,李曦,王超,陈鹏,周学海   

  1. 中国科学技术大学计算机科学与技术学院,安徽合肥 230027; 中国科学技术大学苏州研究院,苏州 215123
  • 收稿日期:2013-03-18 修回日期:2013-04-13 接受日期:2013-04-13 出版日期:2013-04-13 发布日期:2013-04-13

A colored Petri net based scheduling scheme for multiprocessor system-on-chip

FENG Xiaojing, LI Xi, WANG Chao, CHEN Peng, ZHOU Xuehai   

  1. School of Computer Science and Technology, USTC, Hefei 230027, China; Suzhou Institution for Advanced Study, USTC, Suzhou 215123, China
  • Received:2013-03-18 Revised:2013-04-13 Accepted:2013-04-13 Online:2013-04-13 Published:2013-04-13
  • Contact: ZHOU Xuehai
  • About author:FENG Xiaojing, Male, born in 1984, PhD candidate. His research interests include reconfigurable computing technology, multiprocessor systems and formal verification. E-mail: bangyan@mail.ustc.edu.cn
  • Supported by:
    National Natural Science Foundation of China (61202053), Natural Science Foundation of Jiangsu Province (BK2012194).

摘要: 为了生成一个适用于多处理器片上系统的硬件调度器,提出一种新型的基于有色Petri网(CPN)的动态调度方法.该调度方法使用CPN对包括写后读、写后写、读后写数据相关以及结构相关在内的任务间相关性进行了建模,这些相关会在模型运行的过程中被自动检测出来.根据相关性,任务会被动态地调度并分配到不同的计算单元上乱序执行,从而达到提高任务级并行度的目的.该调度方法分别在软件仿真平台和基于FPGA的硬件平台上得以实现.状态空间分析和对比实验的结果证明了调度方法的正确性和有效性.

关键词: 有色Petri网, 任务调度, 多处理器片上系统, 基于模型的设计方法

Abstract: A novel colored Petri net (CPN) based dynamic scheduling scheme was proposed, which aimed at generating a hardware scheduler for multiprocessor system-on-chip (MPSoC) platforms. CPN was employed to model inter-task dependences in the proposed scheduling scheme, including RAW, WAW and WAR data dependences, as well as structural dependences. All the dependences can be automatically detected during model execution. Tasks can be then scheduled and dispatched to different processors for out-of-order execution according to the dependences, achieving the goal of improving task-level parallelism. The scheduling scheme is implemented both with software simulation tools and on an FPGA-based hardware platform. Through state space analyses and comparing experiments, the correctness and effectiveness of the scheduling scheme are demonstrated.

Key words: colored Petri nets, task scheduling, multiprocessor system-on-chip (MPSoC), model based design

中图分类号: