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.
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
Aho, A.V., R. Sethi, J.D. Unman. “Compilers: Principles Techniques, and Tools,” Reading, Addison-Wesley Publishing Company, March 1998.
Escalade Corporation, http://www.escalade.com/.
Gupta, R., and Y. Zorian. Introducing Core-Based System Design. IEEE Design & Test, Vol. 14, No. 4, Oct–Dec 1997, pp. 15–25.
Inventra core library, Mentor Graphics, http://www.mentor.com/inventral.
Platform Express. Mentor Graphics, http://www.mentor.com/soc/platformex/.
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.
The UCR Dalton project: http://www.cs.ucr.edu/-dalton.
Vahid, F., and T. Givargis. Platform Tuning for Embedded Systems Design. IEEE Computer, Vol. 34, No. 3, March 2001, pp. 112–114.
Virtual Socket Interface Association, Architecture Document, http://www.vsi.org, 1997.
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.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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