Development of Machine Instruction-level RTOS Simulator

기계명령어-레벨 RTOS 시뮬레이터의 개발

  • 김종현 (연세대학교 컴퓨터공학과) ;
  • 김방현 (연세대학교 전산학과) ;
  • 이광용 (한국전자통신연구원 임베디드S/W연구단)
  • Published : 2005.06.01

Abstract

The real-time operating system(RTOS) simulator, one of the tools provided by RTOS development environment, allows users to develop and debug application programs even before the target hardware is ready. Thus, most of commercial RTOS development environments provide with RTOS simulator for the purpose. But they are implemented to simulate only functional aspects on a host system, so that it is not possible to estimate execution time of application programs on the target hardware. Since the real-time system has to complete program executions in predetermined time, the RTOS simulator that can estimate the execution time is yeW useful in the development phase. In this study, we develop a machine instruction-level RTOS simulator that is able to estimate execution time of application programs on a target hardware, and prove its functionality and accuracy by using test .programs.

실시간 운영체제 개발 환경에서 제공하는 도구 중에 하나인 RTOS 시뮬레이터는 타겟 H/W가 호스트에 연결되어 있지 않은 상태에서도 호스트에서 응용 프로그램의 개발과 디버깅을 가능하게 해주는 타겟 시뮬레이션 환경을 제공해 줌으로써, 하드웨어 개발이 완료되기 전에도 응용 프로그램의 개발이 가능하도록 해준다. 그러한 이유로 현재 대부분의 상용 RTOS 개발환경에서는 RTOS 시뮬레이터를 제공하고 있다. 그러나 그들의 대부분은 RTOS의 기능적인 부분들만 호스트에서 시뮬레이션 하도록 구현되어 있어서, RTOS 및 응용 프로그램이 실제 타겟 UW에서 실행될 때의 실질적인 시간 추정이 불가능하다. 실시간 시스템은 정해진 시간 내에 프로그램 실행을 종료해야 하기 때문에, 실행시간 추정 기능도 가지는 RTOS 시뮬레이터가 필요하다. 본 연구에서는 RTOS 및 응용 프로그램이 실제 타겟 H/W에서 처리될 때의 실행시간 추정이 가능하고 구현도 용이한 기계명령어-레벨(machine instruction-level)의 RTOS 시뮬레이터를 개발하고, 실제 프로그램을 실행하여 기능과 정확도를 검증하였다.

Keywords

References

  1. 한국전자통신연구원, '조립형 실시간 OS 사용자 요구사항 정의서 1', 1998년 12월
  2. WindRiver, VxWorks 5.3.1 Programmer's Guide, April, 1997
  3. Realiant Systems, 'Carbon Kernel User Manual 1.2,' January, 2000
  4. http://www.mentor.com/embedded, 2001. 1
  5. http://www.neiworld.co.kr
  6. http://www.aromasoft.com
  7. 한국전자통신연구원, '실시간 OS 커널 상세 설계서 1.0', 1999년 7월
  8. 한국전자통신연구원, '사용자개발도구 서브시스템 설계서 1.0', 1999년 3월
  9. Intel, SA-110 Technical Reference Manual, December, 2000
  10. Intel, EBSA-285 Evaluation Board Reference Manual, October, 1998
  11. Ron Pluth, Taimur Aslam, 'Developing Device Drivers in a Hardware / Software Co-Simulation Environment,' The Embedded Systems Conference San Francisco, April, 1998
  12. ARM, ARM ELF, 2000. 10
  13. David Seal, ARM Architecture Reference Manual 2th ed., Addison-Wesley, 2000