Automatic aspectization of systemC

  • Authors:
  • Deian Tabakov;Moshe Y. Vardi

  • Affiliations:
  • Schlumberger Information Solutions, Houston, TX, USA;Rice University, Houston, TX, USA

  • Venue:
  • Proceedings of the 2012 workshop on Modularity in Systems Software
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

A successful monitoring framework for SystemC requires access to internal variables of modules and channels, and the ability to trace the execution of threads and methods. We propose a framework for automatically instrumenting user code and exposing its state and syntax via automatically generated Aspect-Oriented Programming code and direct instrumentation. This allows monitoring the execution with a fine-grained temporal resolution. Our tool, CHIMP, allows the users to declare specification primitives referring to the values of internal variables, the values of parameters passed to function calls, and function return values. Tracing execution of processes is enabled by allowing statements' execution or function calls to be used as atomic propositions. The correct behavior of the model can then be specified by forming temporal formulas and clock expressions using these primitives, without requiring manual instrumentation of the user code.