Design of an Automatic Generation System for Cycle-accurate Instruction-set Simulators for DSP Processors

DSP 프로세서용 인스트럭션 셋 시뮬레이터 자동생성기의 설계에 관한 연구

  • 홍성민 (서강대학교 전자공학과 대학원 CAD & ES연구실) ;
  • 박창수 (서강대학교 전자공학과 대학원 CAD & ES연구실) ;
  • 황선영 (서강대학교 전자공학과 대학원 CAD & ES연구실)
  • Published : 2007.09.30

Abstract

This paper describes the system which automatically generates instruction-set simulators cores using the SMDL. SMDL describes structure and instruction-set information of a target DSP machine. Analyzing behavioral information of each pipeline stage of all instructions on a target ASIPS, the proposed system automatically generates a cycle-accurate instruction set simulator in C++ for a target processor. The proposed system has been tested by generating instruction-set simulators for ARM9E-S, ADSP-TS20x, and TMS320C2x architectures. Experiments were performed by checking the functions of the $4{\times}4$ matrix multiplication, 16-bit IIR filter, 32-bit multiplication, and the FFT using the generated simulators. Experimental results show the functional accuracy of the generated simulators.

본 논문은 SMDL (Sogang Machine Description Language)을 이용한 DSP 프로세서용 인스트럭션 셋 시뮬레이터 자동 생성기 시스템의 설계에 관해 기술한다. SMDL은 DSP 어플리케이션에 최적화된 아키텍처를 포함한 임베디드 코어의 효율적 기술을 위한 머신 기술 언어로서, 구현된 인스트럭션 셋 시뮬레이터 자동 생성 시스템은 타겟 ASIP의 SMDL 기술을 입력으로 하여 인스트럭션들의 파이프라인 스테이지 별 행위 정보를 분석한 후 cycle-accurate 인스트럭션 셋 시뮬레이터를 C++ 파일로 자동 생성한다. 구현된 자동 생성 시스템의 검증을 위해 ARM9E-S, ADSP-TS20x와 TMS320C2x 아키텍처들을 SMDL로 기술하여 시뮬레이터들을 자동 생성하였으며, 생성된 시뮬레이터들을 이용하여 $4{\times}4$ 매트릭스 곱셈, 16비트 IIR 필터, 32비트 곱셈, 그리고 FFT에 연산에 대한 시뮬레이션을 수행하였다. 결과 생성된 시뮬레이터의 정확한 동작을 확인하였다.

Keywords

References

  1. D. Edenfeld, A. Kahng, M. Rodgers, and Y. Zorian, '2003 Technology Roadmap for Semiconductors', Trans. on Computer, Vol. 37, No. 1, pp. 47-56, Jan. 2004
  2. G. Martin, 'Overview of the MPSoC Design Challenge', in Proc. Design Automation Conference, ACM/IEEE, pp. 274-279, July 2006
  3. N. Dutt and K. Choi, 'Configurable Processor for Embedded Computing', IEEE Computer, Vol. 36, No. 1, pp. 120-123, Jan. 2003
  4. 최기영, 조영철, 'SoC 설계방법의 최근 동향', 전자공학회지, 30권 9호, pp. 17-27, 2003년 9월
  5. O. Schliebusch et al, 'A Novel Methodology for the Design of Application-Specific Instruction Set Processors (ASIPs) Using a Machine Description Language', IEEE Transactions CAD of Int. Circuits and Systems, Vol. 20, No. 11, pp. 1338-1354, Nov. 2001 https://doi.org/10.1109/43.959863
  6. R. Gonzalez 'Xtensa : A Configurable and Extensible Processor', IEEE Micro, Vol. 20, No. 2, pp. 60-70, Mar./Ap. 2000
  7. P. Marwedel and G. Goossens, Code Generation for Embedded Processors, Kluwer Academic Pub., pp. 138-152, 1995
  8. A. Fauth, M. Fredericks, and A. Knoll, 'Generation of Hardware Machine Models from Instruction Set Descriptions', in Proc. IEEE Workshop VLSI Signal Processing, Veldhoven, Netherlands, pp. 242-250, Oct. 1993
  9. P. Mishra, A. Kejariwal, and N. Dutt, 'Rapid Exploration of Pipelined Processors through Automatic Generation of Synthesizable RTL Model', in Proc. IEEE Int. Workshop on Rapid System Prototyping, San Diego, CA, pp. 226-232, June 2003
  10. M. Itoh et al. 'Synthesizable HDL Generation for Pipelined Processors from a Micro-Operation Description', IEICE Trans., Vol. E83-A, No. 3, pp. 394-400, Mar. 2000
  11. Alomary, T. Nakata, Y. Honoma, and N. Hikichi, 'An ASIP Instruction Set Optimization Algorithm with Functional Module Sharing Constraint', in Proc. IEEE/ACM Int. Conf. Computer Aided Design, Santa Clara, CA, pp. 526-532, Nov. 1993
  12. ARM, ARM9E-S Technical Reference Manual, Dec. 1999
  13. Analog Devices, A 16-bit IIR Filter on the ADSP-TS20x TigerSHARC@ Processor, Nov. 2003
  14. Texas Instrucments, TMS320C2x User's Guide, Oct. 1992
  15. A. Fauth, J. Van Praet, and M. Freericks, 'Describing Instruction Set Processors Using nML', in Proc. Eur. Design and Test Conf, Paris, France, pp. 503-507, Mar. 1995
  16. M. Freericks, 'The nML Machine Description Formalism DRAFT Version 1.5', Technical Report, TU Berlin, 1991-1993
  17. V. Zivojnovic, S. Pees, and H. Meyr, 'LISA-Machine Description Language and Generic Machine Model for HS/SW Co-design', in Proc. IEEE Workshop VLSI Signal Processing, San Francisco, CA, pp. 127-136, Oct. 1996
  18. S. Pees, A. Hoffmann, V. Zivojnovic, and H. Meyr, 'LISA-Machine Description Language for Cycle-accurate Models of Programmable DSP Architectures', in Proc. Design Automation Conf., New Orleans, LA, pp. 933-938, June 1999
  19. S. Pees, V. Zivojnovic, A. Hoffmann, and H. Meyr, 'Retargetable Timed Instruction Set Simulation of Pipelined Processor Architectures', in Proc. International Conference on Signal Processing Applications and Technology, Toronto, pp. 595-599, Sep. 1998
  20. A. Halambi, P. Grun, V. Ganesh, A. Khare, N. Dutt, and A. Nicolau, 'EXPRESSION : a Language for Architecture Exploration through Compiler/Simulator Retargetability', in Proc. DATE, pp. 485-490 Mar. 1999
  21. P. Grun, A. Halambi, A. Khare, V. Ganesh, N. Dutt, and A. Nicolau, 'EXPRESSION : An ADL for System Level Design Exploration', Technical Report TR 98-29, University Of California, Irvine, 1998
  22. A. Hoffmann, H. Meyr, and R. Leupers, Architecture Exploration for Embedded Processors with LISA, Kluwer Academic Publishers, 2002