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

J4 ›› 2010, Vol. 32 ›› Issue (4): 128-130.doi: 10.3969/j.issn.1007130X.2010.

• 论文 • 上一篇    下一篇

基于有限状态机的嵌入式系统建模研究与实现

赵良,倪福川   

  1. (华中农业大学理学院计算机科学与技术系,湖北 武汉430070)
  • 收稿日期:2008-10-19 修回日期:2009-01-10 出版日期:2010-03-28 发布日期:2010-03-28
  • 通讯作者: 赵良 E-mail:zhaoliang323@mail.hzau.edu.cn
  • 作者简介:赵良(1979),女,湖北恩施人,博士生,讲师,研究方向为软件体系结构、软件测试和资源环境信息系统;倪福川,博士生,讲师,研究方向为嵌入式系统、图形图像处理和农业信息化。

Modeling and Realization of an Embedded System Based on the Finite State Machine

ZHAO Liang,NI Fuchuan   

  1. (Department of Computer Science,School of Science,Huazhong Agricultural University,Wuhan 430070,China)
  • Received:2008-10-19 Revised:2009-01-10 Online:2010-03-28 Published:2010-03-28
  • Contact: ZHAO Liang E-mail:zhaoliang323@mail.hzau.edu.cn

摘要: 随着嵌入式系统在各个领域的广泛应用,嵌入式系统变得越来越复杂,研究一种支持嵌入式系统从分析、设计、验证到编码整个过程的模型系统及建模方法变得越来越重要。本系统在IAR VisualSTATE环境下用状态图对嵌入式系统进行面向对象分析与设计,并以ATM实时控制系统为例,建立系统的动态模型,分析系统状态变化,实现了从状态图到C代码的自动生成,并将生成代码及用户代码与具体的硬件SmartARM2200结合来验证基于有限状态机建模的正确性。

关键词: 有限状态机, 嵌入式系统, IAR VisualSTATE, ARM, 建模

Abstract: With the widespread use of embedded system in every field, they are now becoming more and more complicated.It is important to study a method to analyse,design, verify ,code and model the system.The system uses the Finite State Diagram to analyse and design the embedded system, and at last, the software IAR VisualSTATE is used to establish the ATM system's dynamic model, whcih can produce the code automatically. This process can enhance the efficiency of the design, maintenance, and quality of software.After doing all the above, it is time to download the automatic codes and the user codes to specific hardware,such as SmartARM2200 to verify the accuracy of the modeling based on the Finite State Machine.

Key words: finite state machine;embedded system;IAR VisualSTATE;ARM;modeling

中图分类号: