Abstract
The recent development of embedded systems calls for the necessity of a complete framework for design and simulation of applications that span through all levels of system design. Desirable characteristics of such a framework are rapidity of use, simplicity and reusability. For this purpose we already introduced a generator that converts specifications written with a subset of StateCharts to behavioral SystemC [16, 17]. We present here the new version of our tool: most of the limitations of the previous versions have been overcome, the considered subset of the StateCharts formalism has been extended and the target has been changed from behavioral to Register Transfer Level (RTL) SystemC. A major enhancement of this new version is the possibility of obtaining various module instances starting from a single specification, which is vital in some contexts (e.g. Wireless Sensors Networks simulation). The semantics chosen for our StateCharts diagrams is clearly described. The generation of executable models, as well as the kernel template of the generated code, are discussed in detail.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
M. Von Der Beek. A comparison of StateChart variants. In Formal Techniques in Real-Time and Fault tolerant Systems, 1994.
F. Fummi, M. G. Sami, and F. Tartarini. Use of Statecharts-Related description to achieve testable design of control subsystems. In Proc. GLSVLSI, 1997.
S. Gnesi, D. Latella, and M. Massink. Modular semantics for a UML statechart diagrams kernel and its extension to multicharts and branching time model-checking. Journal of Formal Aspects of Computing, 51, 2002.
D. Harel and A. Naamad. The STATEMATE semantics of StateCharts. ACM Transactions on Software Engineering and Methodologies, 1995.
D. Harel. Statecharts: A visual formulation for complex systems. Science of Computer Programming, 1987.
M. Kay. XSLT 2.0 Programmer’s Reference (Programmer to Programmer). WROX, 3 edition, Aug. 2004.
D. Latella, I. Majzik, and M. Massink. Automatic verification of a behavioural subset of UML statechart diagrams using the spin model-checker. Journal of Logic and Algebraic Programming, 11, 1999.
J. Lilius and I. P. Paltor. vUML: A tool for verifying UML models. ase.
Grant Martin. SystemC and the future of design languages: Opportunities for users and research. In Proc. SBCCI, 2003.
G. De Micheli and R. K. Gupta. Hardware/Software co-design. In IEEE Proceedings, Mar. 1997.
E. Mikk, Y. Lakhnech, M. Siegel, and G. J. Holzmann. Implementing statecharts in promela/spin. In Proc. WIFT, 1998.
M. Mura. Ultra-low power optimizations for the ieee 802.15.4 networking protocol. In Proc. MASS, 2007.
M. Mura, M. Paolieri, F. Fabbri, L. Negri, and M. G. Sami. Power modeling and power analysis for IEEE 802.15.4: a concurrent state machine approach. In Proc. CCNC, 2007.
M. Mura, M. Paolieri, L. Negri, and M. G. Sami. Statecharts to SystemC: a high level hardware simulation approach. In Proc. GLVLSI, 2007.
L. Negri and A. Chiarini. StateC: a power modeling and simulation flow for communication protocols. In Proc. FDL, Sept. 2005.
K. D. Nguyen, Z. Sun, P. Thiagarajan, and W. Wong. Model-driven SoC design via executable UML to SystemC. In Proc. RTSS.
A. Pnueli and M. Shalev. What is in a step: on the semantics of StateCharts. In Proc. TACS, 1991.
Chen Xi, Lu JianHua, Zhou ZuCheng, and Shang YaoHui. Modeling SystemC design in UML and automatic code generation. In Proc. ASP-DAC, 2005.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2008 Springer Science + Business Media B.V
About this chapter
Cite this chapter
Mura, M., Paolieri, M. (2008). SC2 StateCharts to SystemC: Automatic Executable Models Generation. In: Villar, E. (eds) Embedded Systems Specification and Design Languages. Lecture Notes in Electrical Engineering, vol 10. Springer, Dordrecht. https://doi.org/10.1007/978-1-4020-8297-9_16
Download citation
DOI: https://doi.org/10.1007/978-1-4020-8297-9_16
Publisher Name: Springer, Dordrecht
Print ISBN: 978-1-4020-8296-2
Online ISBN: 978-1-4020-8297-9
eBook Packages: EngineeringEngineering (R0)