›› 2016, Vol. 29 ›› Issue (9): 61-.

• 论文 • 上一篇    下一篇

HIMAC调度的C语言实现

赵 骞,戴曙光   

  1. (上海理工大学 光电信息与计算机工程学院,上海 200093)
  • 出版日期:2016-09-15 发布日期:2016-09-26
  • 作者简介:赵骞(1992-),男,硕士研究生。研究方向:网络通信等。戴曙光(1957-),男,教授,博士生导师。研究方向:工业光电检测技术与装置等。

C Language Implementation of HIMAC Scheduling

ZHAO Qian, DAI Shuguang   

  1. (School of Optical-Electrical and Computer Engineering, University of Shanghai for Science and Technology, Shanghai 200093, China)
  • Online:2016-09-15 Published:2016-09-26

摘要:

针对目前HINOC的MAC层协议由FPGA仿真调试时实现代码量大,仿真过程繁琐且修改成本较高等问题,提出一种基于C语言的HIMAC调度的实现方法。通过C语言重构接受调度与发送调度,完整地实现了EMAC帧和HIMAC帧的接收发送过程,解决了帧分片出队问题,并大幅提高了开发效率。

关键词: HINOC, HIMAC调度, C语言

Abstract:

This paper introduces a way of realizing HIMAC scheduling module using C language to maximize efficiency of design and debugging in view of the difficulty of HINOC’s MAC layer protocol realized by FPGA. The function of receiving schedule and sending schedule by C language realizes the process how EMAC and HIMAC receive and send frames. And the solution of the problem of dequeuing frame shards improves the efficiency of development.

Key words: HINOC, HIMAC scheduling, C language

中图分类号: 

  • TN949.194