节点文献

基于网络处理器开发环境编译器研究及实现

【作者】 万玮

【导师】 杨志义;

【作者基本信息】 西北工业大学 , 计算机应用技术, 2006, 硕士

【摘要】 网络处理器具有高速处理和灵活编程能力,特别适应高速网络和业务演化。目前网络处理器缺乏高层编程模型和开发工具,给程序开发带来很大难度。如何开发一种无需了解网络处理器体系结构细节就可方便编程的通用软件平台,是目前重点研究的内容。本文设计的网络处理器集成开发环境NPWare能够屏蔽底层硬件实现细节,并可在一定程度上自动完成高层描述到硬件平台的映射。 本文在深入研究商业网络处理器应用开发平台TejaNP的基础上,借鉴其思想,引入有限状态机和数据流两级混合模型构建网络处理器编程模型。深入研究了编译理论,设计并实现了集成开发环境NPWare编译器原型系统。 在NPWare编程环境中采用插件机制,只要加入特定代码生成器便可支持相应网络处理器平台上的应用开发,因此编程环境的设计是面向多目标平台可扩展的。 经测试,集成开发环境NPWare产生的微码性能不低于手工编写的微码,此原型系统对于网络处理器应用快速开发具有重要意义。

【Abstract】 Network Processor can achieve high processing performance.At the same ti me it can be programmed flexibly and is very suitable for high - speed netwo rk and service evolution. Currently, the deficiencies of NP software support lie in two aspects: high-level programming model and programming environment. So,how to develop a platform which can remove hardware dependencies and s acrifice little perfomance is the topic that many project teams study.The integra ted development enviroment designed in the thesis can remove hardware depen dencies and to some extent finish the mapping from high-level description to p latform of hardware.This paper involves the programming model of network processor based on the tow-level mixable model of FSM and DataFlow on the base of studying T ejaNP deeply,studies the theory of compiler deeply,and designs the prototypi ng system of the integrated develop enviroment.NPWare uses plug-in mechanism.The application on all kinds of NP platfor m can be supported by adding the specific code producer to the NPWare,So,th e design of NPWare is multi-platform and extensible.After being tested,the performance of microcode produced by NPWare is n ot less than that produced by hand.The system has an important value in quick development of network application.

  • 【分类号】TP314
  • 【被引频次】3
  • 【下载频次】140
节点文献中: