Modeling I2C Communication Between SoCs with SystemC-AMS

In this paper, we show how to mode the I2C bus communications between the nodes of an embedded system. For this purpose, we use the SystemC-AMS model of an I2C bus controller IP based on the PFC8584. Then we show how this IP can be included into two kinds of embedded systems nodes: on the one hand a 8051 micro-controller node, on the other hand a MIPS based SOC node. Finally the simulation results show the successful operation of the multi-master I2C bus communications between these two nodes in SystemC-AMS. Moreover the SystemC-AMS simulation introduces a small 10% overhead over the digital SystemC simulation for the two nodes multi-master I2C communication.

[1]  Thorsten Grotker,et al.  System Design with SystemC , 2002 .

[2]  Alain Vachoux Analog and mixed-signal systems , 2004 .

[3]  Luciano Lavagno,et al.  A case study in computer-aided co-design of embedded controllers , 1994, Des. Autom. Embed. Syst..

[4]  Edward A. Lee,et al.  Modeling distributed hybrid systems in Ptolemy II , 2001, Proceedings of the 2001 American Control Conference. (Cat. No.01CH37148).