A Study on Automatic Generation of Interface Circuits Based on FSM between Standard Buses and Ips

FSM을 이용한 표준화된 버스와 IP간의 인터페이스 회로 자동생성에 관한 연구

  • 이서훈 (서강대학교 전자공학과 CAD & ES 연구실) ;
  • 문종욱 (LG전자 전자통신연구소) ;
  • 황선영 (서강대학교 전자공학과)
  • Published : 2005.02.28

Abstract

IP-based design methodology has been popularly employed for SoC design to reduce design complexity and to cope with time-to-market pressure. Interface modules for communication between system buses and IPs are required, since many IPs employ different protocols. Automatic generation of these interface modules would enhance designer's productivity and IP's reusability. This paper proposes an automatic interface generation system based on FSM generated from the protocol description of IPs. The proposed system provides the library modules for the standard buses to reduce the burdens of describing the protocols for data transfer from/to standard buses. Experimental results show that the area of the interface circuits generated by the proposed system had been increased slightly by 4.5% on the average when compared to manual designs. In the experiment, where bus clock is 100 Mhz and slave module clock is 34 Mhz, the latency of the interface had been increased by 7.1% in burst mode to transfer 16 data words. However, occupation of system bus can be reduce by 64.9%. A chip designer can generate an interface that improves the efficiency of system bus, by using this system.

SoC 설계 복잡도의 증가로 인한 설계 비용 감소 및 짧은 time-to-market의 만족을 위해 IP에 기반한 설계 방식이 사용되고 있다. 기존에 설계 검증된 IP를 사용할 경우 시스템 버스와의 통신을 가능하게 하는 인터페이스 회로를 설계해 주어야 하며, 설계 비용을 감소시키기 위해서는 인터페이스 회로의 자동생성이 요구된다. 본 논문에서는 IP프로토콜을 기술하는 방법과 이 기술을 통하여 IP의 프로토콜 제어를 위한 FSM(Finite State Machine)을 생성하여 버스와의 인터페이스 회로를 자동생성하는 방법을 제안한다. 제안한 시스템에서는 프로토콜 분석의 어려움을 줄이기 위해 표준화된 버스의 FSM을 라이브러리화 하였다. 제안된 방법으로 AMBA AHB에 사용되는 슬레이브 형태 IP의 인터페이스 회로를 자동생성한 결과 매뉴얼로 설계한 인터페이스 회로에 비해 면적은 4.5%의 증가를 보였다. 100 Mhz의 버스 동작 속도와 34 Mhz의 슬레이브 모듈의 동작 속도 환경에서 16개의 32 비트 데이터를 버스트 모드로 전송시 latency는 평균 7.1%의 증가를 보였으나, 시스템 버스의 점유는 평균 64.9% 정도로 감소하였다. 본 논문에서 제안한 시스템을 사용하여 시스템 버스의 효율을 증가한 인터페이스 회로를 생성해 낼 수 있다.

Keywords

References

  1. P. Chou, R. Ortega, and G. Borriello, 'IPCHINOOK : An Integrated IP-based Design Framework for Distributed Embedded Systems', in Proc. DAC, New Orleans, LA, pp. 44-49, June 1999
  2. S. Abdi, D. Shin, and D. Gajski, 'Automatic Communication Refinement for System Level Design', in Proc. DAC, Anaheim, CA, pp. 300-305, June 2003
  3. R. Ortega, L. Lavagno, and G. Borriello, 'Models and Methods for HW/SW Intellectual Property Interfacing', in Proc. Int. Symp. on System Synthesis, Hsinchu, Taiwan, pp. 397-432, July 1998
  4. A. Wenban, J. O'Leary, and G. Brown, 'Codesign of Communication Protocols', IEEE Journal of Computer, Vol. 26 No. 12, pp. 46-52, Dec. 1993
  5. P. Chou, B. Ortega, and G. Borriello, 'Interface Co-Synthesis Techniques for Embedded System', in Proc. ICCAD, San Jose, CA, pp. 280-287, Nov. 1995
  6. D. Shin and D. Gajski, 'Interface Synthesis from Protocol Specification', Technical Report CECS-TR-02-13, Univ. of California, April 2002
  7. R. Passersome, J. Rowson, and A. Sangiovanni-Vincentelli, 'Automatic Synthesis of Interface between Incompatible Protocols', in Proc. DAC, San Francisco, CA, pp. 8-13, June 1998
  8. E. Walkup and G. Borriello, 'Automatic Synthesis of Device Drivers for Hardware/ Software Co-design', Technical Report #94-06-04, Univ. of Washington, August 1994
  9. L. Sancho-Pradel and M. Goodall, 'Systemon- Chip (SoC) Design for Embedded Real-Time Control Applications', in Proc. ESD Group Mini-Conference, Loughborough, UK, pp. 1-3, Sep. 2003
  10. AMBATM Specijication(AHB) (Rev 2.0), ARM Ltd, May 1999
  11. D. Gajksi, 'IP-based Design Methodology', in Proc. DAC, New Orleans, LA, pp 43, June 1999
  12. R. Passerone, J. Rowson, and A. Sangiovanni-Vincentelli, 'Automatic Synthesis of Interface between Incompatible Protocols', in Proc. DAC, San Francisco, CA, pp. 8-13, June 1998