Skip to main content

Propagating Constants Past Software to Hardware Peripherals on Fixed-Application Embedded Systems

  • Chapter
  • 183 Accesses

Abstract

Many embedded systems include a microprocessor that executes a single program for the lifetime of the system. These programs often contain constants used to initialize control registers in peripheral hardware components. Now that peripherals are often purchased in intellectual property (core) form and synthesized along with the microprocessor onto a single chip, new optimization opportunities exist. We introduce one such optimization, which involves propagating the initialization constants past the microprocessor to the peripheral, such that synthesis can further propagate the constants inside the peripheral core. While constant propagation in synthesis tools is commonly done, this work illustrates the benefits of recognizing initialization constants from the software as really being constants for hardware. We describe results that demonstrate 2–3 times reductions in peripheral size, and 10–30% savings in power, on several common peripheral examples.

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   84.99
Price excludes VAT (USA)
  • Available as 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

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Aho, A.V., R. Sethi, J.D. Unman. “Compilers: Principles Techniques, and Tools,” Reading, Addison-Wesley Publishing Company, March 1998.

    Google Scholar 

  2. Escalade Corporation, http://www.escalade.com/.

  3. Gupta, R., and Y. Zorian. Introducing Core-Based System Design. IEEE Design & Test, Vol. 14, No. 4, Oct–Dec 1997, pp. 15–25.

    Article  Google Scholar 

  4. Inventra core library, Mentor Graphics, http://www.mentor.com/inventral.

  5. Platform Express. Mentor Graphics, http://www.mentor.com/soc/platformex/.

  6. Stitt, G., F. Vahid, T. Givargis, and R. Lysecky, A First-step Towards an Architecture Tuning Methodology for Low Power. Compilers, Architectures, and Synthesis for Embedded Systems (CASES'00), November 2000, pp. 187–192.

    Google Scholar 

  7. The UCR Dalton project: http://www.cs.ucr.edu/-dalton.

  8. Vahid, F., and T. Givargis. Platform Tuning for Embedded Systems Design. IEEE Computer, Vol. 34, No. 3, March 2001, pp. 112–114.

    Google Scholar 

  9. Virtual Socket Interface Association, Architecture Document, http://www.vsi.org, 1997.

  10. Wegman, M., and F.K. Zadeck. Constant Propagation with Conditional Branches. ACM Transactions on Programming Languages and Systems, Vol 18, No 2, April 1991, pp. 181–210.

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2003 Springer Science+Business Media New York

About this chapter

Cite this chapter

Stitt, G., Vahid, F. (2003). Propagating Constants Past Software to Hardware Peripherals on Fixed-Application Embedded Systems. In: Benini, L., Kandemir, M., Ramanujam, J. (eds) Compilers and Operating Systems for Low Power. Springer, Boston, MA. https://doi.org/10.1007/978-1-4419-9292-5_7

Download citation

  • DOI: https://doi.org/10.1007/978-1-4419-9292-5_7

  • Publisher Name: Springer, Boston, MA

  • Print ISBN: 978-1-4613-4879-5

  • Online ISBN: 978-1-4419-9292-5

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics