作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2012, Vol. 38 ›› Issue (01): 14-18. doi: 10.3969/j.issn.1000-3428.2012.01.004

• 专栏 • 上一篇    下一篇

WCET可预测的Java指令集硬件实现

杨 帆,高振华,柴志雷   

  1. (江南大学物联网工程学院,江苏 无锡 214122)
  • 收稿日期:2011-08-15 出版日期:2012-01-05 发布日期:2012-01-05
  • 作者简介:杨 帆(1986-),男,硕士研究生,主研方向:嵌入式系统;高振华,硕士研究生;柴志雷,博士
  • 基金资助:

    国家自然科学基金资助项目“高可靠实时系统的计算平台(SOPC)研究”(60703106)

Hardware Implementation of WCET-predictable Java Instruction Set

YANG Fan, GAO Zhen-hua, CHAI Zhi-lei   

  1. (School of Internet of Things Engineering, Jiangnan University, Wuxi 214122, China)
  • Received:2011-08-15 Online:2012-01-05 Published:2012-01-05

摘要:

为能以硬件方式直接执行CISC结构的Java字节码,设计并实现适用于32位嵌入式实时Java平台的JPOR-32指令集。分析Java虚拟机规范中各Java字节码的功能和实现原理,设定执行每条指令时信号和数据在Java处理器数据通路上的变化,采用微指令方式执行复杂指令,简单指令直接执行,从而使JPOR-32的指令集具有RISC特性。实验结果验证了指令集的正确性及其最坏情况执行时间(WCET)的可预测性。

关键词: 实时Java平台, JPOR-32指令集, Java处理器, 微指令, 最坏情况执行时间

Abstract:

In order to execute Java bytecode of CISC structure in hardware, instruction set for 32-bit embedded real-time Java platform JPOR-32 (Java Processor Optimized for RTSJ) is designed. By analyzing the function and implementation principle of Java bytecode in the JVM specification, variation of signals and data of Java processor data path is set up. Complex instructions are executed using micro-instructions and simple instructions are executed directly, so that JPOR-32 set of instructions has a RISC feature. The results of Java code execution verify the correctness and Worst Case Execution Time(WCET) predictability of the instruction set.

Key words: real-time Java platform, JPOR-32 instruction set, Java processor, micro-instruction, Worst Case Execution Time(WCET)

中图分类号: