Skip to main content

Abstract

This chapter describes the CoSy-based [1, 2] compilers developed in the context of the REFLECT project to support its aspect-oriented design-flow. In particular, these CoSy-based compilers are guided by LARA strategies and are responsible for generating code targeting traditional processors, as well as generating behavioral-RTL VHDL code [3] targeting hardware accelerators. Throughout this chapter, these compilers are referred collectively as reflectc, except when a specific compilation flow (with its specific name) is used. We also describe the compiler development extensions to support the REFLECT approach [4] and the weaving process controlled by LARA strategies [5–7] as described in Chap. 3.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 109.99
Price excludes VAT (USA)
  • Durable hardcover 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

Institutional subscriptions

Notes

  1. 1.

    CoSy (COmpiler SYstem) is a registered trademark of ACE Associated Computer Experts bv.

  2. 2.

    Common CoSy Medium-level Intermediate Representation.

  3. 3.

    The LARA specifications consist mainly of aspect definitions and strategies. These core components are responsible for controlling and guiding the REFLECT design-flow by specifying design patterns and non-functional requirements.

  4. 4.

    In REFLECT, join points refer to a static context (source construct or location). In general, however, join points are commonly known as points in the program’s execution.

References

  1. ACE CoSy®, Compiler development system. http://www.ace.nl/compiler/cosy.html. [Online]. Accessed on April 2013

  2. ACE—Associated Compiler Experts bv., Compiler Writer’s Guide, Ref. CoSy-8056-cwg 2008

    Google Scholar 

  3. IEEE Standard VHDL Language Reference Manual, ANSI/IEEE Std 1076-1993

    Google Scholar 

  4. J.M.P. Cardoso, P.C. Diniz, Z. Petrov, K. Bertels, M. Hübner, H. van Someren, F. Gonçalves, J.G.F. Coutinho, G.A. Constantinides, B. Olivier, W. Luk, J. Becker, G. Kuzmanov, F. Thoma, L. Braun, M. Kühnle, R. Nane, V. Sima, K. Krátký, J. Alves, J. Ferreira, in REFLECT: Rendering FPGAs to Multi-Core Embedded Computing, book chapter ed. by J.M.P. Cardoso, M. Huebner. Reconfigurable Computing: From FPGAs to Hardware/Software Codesign, 1st edn. (Springer, 2011) pp. 261–289

    Google Scholar 

  5. J.M.P. Cardoso, T. Carvalho, J.G.F. Coutinho, W. Luk, R. Nobre, P. Diniz, Z. Petrov, LARA: An Aspect-Oriented Programming Language for Embedded Systems., in International Conference on Aspect-Oriented Software Development (AOSD’12), Potsdam, 25–30 March 2012, pp. 179–190

    Google Scholar 

  6. J.G.F. Coutinho, T. Carvalho, S. Durand, J.M.P. Cardoso, R. Nobre, P. Diniz, W. Luk, Experiments with the LARA Aspect-Oriented Approach., in International Conference on Aspect-Oriented Software Development (AOSD’12), Potsdam, 25–30 March 2012, pp. 27–30

    Google Scholar 

  7. J.M.P. Cardoso, J.G.F. Coutinho, T. Carvalho, LARA Programming Language Specification, v2.0. REFLECT Internal Technical Report, Sept 2012

    Google Scholar 

  8. R. Nane, V. Sima, B. Olivier, R. Meeuws, Y. Yankova K.L.M. Bertels, DWARV 2.0: A CoSy-based C-to-VHDL Hardware Compiler, in Proceedings of the 22nd International Conference on Field Programmable Logic and Applications (FPL’2012), Oslo, Aug 2012

    Google Scholar 

  9. ACE—Associated Compiler Experts bv., CoSy CCMIR Primer, Ref. CoSy-8134-mirprimer 2008

    Google Scholar 

  10. ACE—Associated Compiler Experts bv., CoSy CCMIR Definition, Ref. CoSy-8002-ccmir 2008

    Google Scholar 

  11. J.G.F. Coutinho, T. Carvalho, S. Durand, J.M.P. Cardoso, The LARA Aspect-IR, REFLECT Internal Technical Report, March 2012

    Google Scholar 

  12. W. Luk, J.G.F. Coutinho, T. Todman, Y. Lam, W. Osborne, K. Susanto, Q. Liu, S. Wong, A High-Level Compilation Toolchain for Heterogeneous Systems, in IEEE International SOC Conference (SOCC’09), Sept 2009

    Google Scholar 

  13. A. Aho, M. Lam, R. Sethi, J. Ullman, Compilers: Principles, Techniques and Tools, 2nd. edn. (Addison-Wesley, Reading 2006)

    Google Scholar 

  14. S. Vassiliadis, S. Wong, G. Gaydadjiev, K. Bertels, G. Kuzmanov, E.M. Panainte, The Molen polymorphic processor. IEEE Trans. Comput. 53(11), 1363–1375 (2004)

    Article  Google Scholar 

  15. Y. Yankova, G. Kuzmanov, K. Bertels, G. Gaydadjiev, Y. Lu, S. Vassiliadis, DWARV: Delft Workbench Automated Reconfigurable VHDL Generator, in Proceedings of the 17th International Conference on Field Programmable Logic and Applications (FPL07), Aug 2007, pp. 697–701

    Google Scholar 

  16. Mentor Graphics, ModelSimAdvanced Simulation and Debugging. http://model.com/. [Online]. Accessed on April 2013.

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to João M. P. Cardoso .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Springer Science+Business Media New York

About this chapter

Cite this chapter

Nobre, R. et al. (2013). Hardware/Software Compilation. In: Cardoso, J., Diniz, P., de Figueiredo Coutinho, J., Petrov, Z. (eds) Compilation and Synthesis for Embedded Reconfigurable Systems. Springer, New York, NY. https://doi.org/10.1007/978-1-4614-4894-5_5

Download citation

  • DOI: https://doi.org/10.1007/978-1-4614-4894-5_5

  • Published:

  • Publisher Name: Springer, New York, NY

  • Print ISBN: 978-1-4614-4893-8

  • Online ISBN: 978-1-4614-4894-5

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics