{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,26]],"date-time":"2026-09-26T04:32:05Z","timestamp":1790397125535,"version":"4.1.0"},"reference-count":26,"publisher":"Association for Computing Machinery (ACM)","issue":"3","license":[{"start":{"date-parts":[[2009,9,1]],"date-time":"2009-09-01T00:00:00Z","timestamp":1251763200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"DOI":"10.13039\/501100000923","name":"Australian Research Council","doi-asserted-by":"publisher","award":["DP0881330"],"award-info":[{"award-number":["DP0881330"]}],"id":[{"id":"10.13039\/501100000923","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Archit. Code Optim."],"published-print":{"date-parts":[[2009,9]]},"abstract":"<jats:p>Scratchpad memory (SPM), a fast on-chip SRAM managed by software, is widely used in embedded systems. This article introduces a general-purpose compiler approach, called memory coloring, to assign static data aggregates, such as arrays and structs, in a program to an SPM. The novelty of this approach lies in partitioning the SPM into a pseudo--register file (with interchangeable and aliased registers), splitting the live ranges of data aggregates to create potential data transfer statements between SPM and off-chip memory, and finally, adapting an existing graph coloring algorithm for register allocation to assign the data aggregates to the pseudo--register file. Our experimental results using a set of 10 C benchmarks from MediaBench and MiBench show that our methodology is capable of managing SPMs efficiently and effectively for large embedded applications. In addition, our SPM allocator can obtain close to optimal solutions when evaluated and compared against an existing heuristics-based SPM allocator and an ILP-based SPM allocator.<\/jats:p>","DOI":"10.1145\/1582710.1582711","type":"journal-article","created":{"date-parts":[[2009,10,6]],"date-time":"2009-10-06T18:18:59Z","timestamp":1254853139000},"page":"1-17","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":35,"title":["Compiler-directed scratchpad memory management via graph coloring"],"prefix":"10.1145","volume":"6","author":[{"given":"Lian","family":"Li","sequence":"first","affiliation":[{"name":"University of New South Wales, Sydney, Australia"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Hui","family":"Feng","sequence":"additional","affiliation":[{"name":"University of New South Wales, Sydney, Australia"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Jingling","family":"Xue","sequence":"additional","affiliation":[{"name":"University of New South Wales, Sydney, Australia"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2009,10,2]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.1145\/378795.378854"},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/581888.581891"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/177492.177575"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/800230.806984"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/88616.88621"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/291069.291010"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.5555\/522344.825670"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/229542.229546"},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1145\/997163.997190"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/378239.379049"},{"key":"e_1_2_1_11_1","volume-title":"Proceedings IEEE International Conference on Computer Design. IEEE","author":"Kapasi U.","unstructured":"Kapasi , U. , Dally , W. J. , Rixner , S. , Owens , J. D. , and Khailany , B . 2002. The imagine stream processor . In Proceedings IEEE International Conference on Computer Design. IEEE , Los Alamitos, CA, 282--288. Kapasi, U., Dally, W. J., Rixner, S., Owens, J. D., and Khailany, B. 2002. The imagine stream processor. In Proceedings IEEE International Conference on Computer Design. IEEE, Los Alamitos, CA, 282--288."},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1109\/PACT.2005.27"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/353926.353929"},{"key":"e_1_2_1_14_1","volume-title":"Proceedings of the 10th International Symposium on System Synthesis (ISSS'97)","author":"Panda P. R.","unstructured":"Panda , P. R. , Dutt , N. D. , and Nicolau , A . 1997a. Architectural exploration and optimization of local memory in embedded systems . In Proceedings of the 10th International Symposium on System Synthesis (ISSS'97) . IEEE, Los Alamitos, CA, 90--97. Panda, P. R., Dutt, N. D., and Nicolau, A. 1997a. Architectural exploration and optimization of local memory in embedded systems. In Proceedings of the 10th International Symposium on System Synthesis (ISSS'97). IEEE, Los Alamitos, CA, 90--97."},{"key":"e_1_2_1_15_1","volume-title":"Proceedings of the European Conference on Design and Test. IEEE","author":"Panda P. R.","unstructured":"Panda , P. R. , Dutt , N. D. , and Nicolau , A . 1997b. Efficient utilization of scratch-pad memory in embedded processor applications . In Proceedings of the European Conference on Design and Test. IEEE , Los Alamitos, CA, 7. Panda, P. R., Dutt, N. D., and Nicolau, A. 1997b. Efficient utilization of scratch-pad memory in embedded processor applications. In Proceedings of the European Conference on Design and Test. IEEE, Los Alamitos, CA, 7."},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/348019.348570"},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1145\/1011508.1011512"},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1109\/CGO.2005.13"},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/502217.502221"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1145\/996841.996875"},{"key":"e_1_2_1_21_1","volume-title":"Proceedings of the Conference on Design, Automation and Test in Europe (DATE'02)","author":"Steinke S.","unstructured":"Steinke , S. , Wehmeyer , L. , Lee , B. , and Marwedel , P . 2002. Assigning program and data objects to scratchpad for energy reduction . In Proceedings of the Conference on Design, Automation and Test in Europe (DATE'02) . IEEE, Los Alamitos, CA, 409. Steinke, S., Wehmeyer, L., Lee, B., and Marwedel, P. 2002. Assigning program and data objects to scratchpad for energy reduction. In Proceedings of the Conference on Design, Automation and Test in Europe (DATE'02). IEEE, Los Alamitos, CA, 409."},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1145\/1151074.1151085"},{"key":"e_1_2_1_23_1","volume-title":"Proceedings of the Conference on Design, Automation and Test in Europe (DATE'04)","author":"Verma M.","unstructured":"Verma , M. , Wehmeyer , L. , and Marwedel , P . 2004a. Cache-aware scratch-pad allocation algorithm . In Proceedings of the Conference on Design, Automation and Test in Europe (DATE'04) . IEEE, Los Alamitos, CA, 21264. Verma, M., Wehmeyer, L., and Marwedel, P. 2004a. Cache-aware scratch-pad allocation algorithm. In Proceedings of the Conference on Design, Automation and Test in Europe (DATE'04). IEEE, Los Alamitos, CA, 21264."},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/1016720.1016748"},{"key":"e_1_2_1_25_1","volume-title":"Proceedings of the 3rd SIAM Conference on Parallel Processing for Scientific Computing. Society for Industrial and Applied Mathematics","author":"Wolfe M.","year":"1989","unstructured":"Wolfe , M. 1989 . Iteration space tiling for memory hierarchies . In Proceedings of the 3rd SIAM Conference on Parallel Processing for Scientific Computing. Society for Industrial and Applied Mathematics , Philadelphia, 357--361. Wolfe, M. 1989. Iteration space tiling for memory hierarchies. In Proceedings of the 3rd SIAM Conference on Parallel Processing for Scientific Computing. Society for Industrial and Applied Mathematics, Philadelphia, 357--361."},{"key":"e_1_2_1_26_1","volume-title":"A Loop Tiling Theory for Optimizing Compilers","author":"Xue J.","unstructured":"Xue , J. 2000. A Loop Tiling Theory for Optimizing Compilers . Kluwer Academic Publishers , The Netherlands . Xue, J. 2000. A Loop Tiling Theory for Optimizing Compilers. Kluwer Academic Publishers, The Netherlands."}],"container-title":["ACM Transactions on Architecture and Code Optimization"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/1582710.1582711","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/1582710.1582711","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T13:30:08Z","timestamp":1750253408000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/1582710.1582711"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2009,9]]},"references-count":26,"journal-issue":{"issue":"3","published-print":{"date-parts":[[2009,9]]}},"alternative-id":["10.1145\/1582710.1582711"],"URL":"https:\/\/doi.org\/10.1145\/1582710.1582711","relation":{},"ISSN":["1544-3566","1544-3973"],"issn-type":[{"value":"1544-3566","type":"print"},{"value":"1544-3973","type":"electronic"}],"subject":[],"published":{"date-parts":[[2009,9]]},"assertion":[{"value":"2007-03-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2009-02-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2009-10-02","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}