Skip to main content

Composable Code Generation for Model-Based Development

  • Conference paper

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2826))

Abstract

Many engineering and application domains, including distributed real-time and embedded (DRE) systems, are increasingly employing a graphical model-based development approach. However, the full potential of this approach has not yet been realized due to the complexity of automatically generating non-standard types of code. In this paper, we present a new framework for generating code that is referred to as composable code generation. Under this framework, code generators are not written as monolithic programs that are separate from their corresponding graphical models as has been the practice in the past. Instead, code generators are composed of modular entity-specific generation routines that are attached directly to modeling entities, their meta-data, or to collections of modeling entities. Code is built up by traversing the model, querying each entity that is encountered for a specific type of code generation routine and then executing each accessed routine. We describe this framework in detail and provide experimental results from a DRE application domain.

This material is based upon work supported by the United States Air Force under Contract No. F33615-00-C-1705. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the United States Air Force.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. DARPA MoBIES Program, http://dtsn.darpa.mil/ixo/programdetail.asp?progid=38

  2. DOME is an open source research project, available at http://www.htc.honeywell.com/dome

  3. Egyed, A., Balzer, R.: Unfriendiy COTS Integration– Instrumentation and Interfaces for Improved Plugability. In: Proc. of 16th Conf. on Automated Software Engineering (ASE 2001) (2001)

    Google Scholar 

  4. Gamma, E., Helm, R., Johnson, R., Vlissides, J.: Design Patterns: Elements of Reusable Object-Oriented Software. Addison-Wesley, Reading (1995)

    Google Scholar 

  5. Gu, Z., Kodase, S., Wang, S., Shin, K.: A Model-Based Approach to System-Level Dependency and Real-Time Analysis of Embedded Software. In: Proc. of IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS 2003) (May 2003)

    Google Scholar 

  6. Carter, K.: Supporting Model Driven Architecture with eXecutable UML. Technical Report (2002), http://www.kc.com

  7. Ledeczi, A., Bakay, A., Maroti, M., Volgyesi, P., Nordstrom, G., Sprinkle, J., Karsai, G.: Composing Domain-specific Design Environments. In: Computer, pp. 44–51 (November 2001)

    Google Scholar 

  8. Lee, E., et al.: PTOLEMY II: Heterogeneous Concurrent Modelling and Design in Java (2002), http://ptolemy.eecs.berkley.edu

  9. The MathWorks, Inc. MATLAB User Guide. Natick, MA 01760-1500 (1998)

    Google Scholar 

  10. Oglesby, D., Schloegel, K., Bhatt, D., Engstrom, E.: A Pattern-based Framework to Address Abstraction, Reuse, and Cross-domain Aspects in Domain Specific Visual Languages. In: Proc. of OOPSLA 2001 (2001)

    Google Scholar 

  11. Quatrani, T.: Visual Modeling with Rational Rose and UML. Addison-Wesley Object Technology Series (1997)

    Google Scholar 

  12. Schoegel, K., Oglesby, D., Engstrom, E., Bhatt, D.: A New Approach to Capture Multimodel Interactions in Support of Cross-domain Analyses (2001)

    Google Scholar 

  13. Xerox Corporation. The AspectJTM Programming Guide (2002), http://www.aspectj.org/

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2003 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Schloegel, K., Oglesby, D., Engstrom, E., Bhatt, D. (2003). Composable Code Generation for Model-Based Development. In: Krall, A. (eds) Software and Compilers for Embedded Systems. SCOPES 2003. Lecture Notes in Computer Science, vol 2826. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-39920-9_15

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-39920-9_15

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-20145-8

  • Online ISBN: 978-3-540-39920-9

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics