Optimizing occupied memory of embedded software in the design phase

Phạm Văn Hưởng, Nguyễn Ngọc Bình, Phạm Ngọc Thanh
Author affiliations

Authors

  • Phạm Văn Hưởng Academy of Cryptography Techniques
  • Nguyễn Ngọc Bình University of Engineering and Technology
  • Phạm Ngọc Thanh

DOI:

https://doi.org/10.15625/1813-9663/28/3/895

Abstract

Nowadays,  the optimizing embedded software plays an important role in the development of embedded software technology. The evaluation and optimization of embedded software in the design phase bring various benefits. In this paper, we propose a new method to optimize the occupied memory of embedded software in the design phase based on DSL, T4 and Topological sort. A program is specified as a chain of tasks and the relationship between the tasks. The program is expressed by the dependence graph as a directed graph. Each node in the directed graph describes a task, which consists of specification information such as name, input, output. Each edge describes the relationship between two tasks. The program working by order of tasks in the different Topological orders does not change the result, but the occupied memory and performances are different. From the dependence graph, we can find many topological orders, and each of them will have amount of occupied memory in difference. Therefore, we built a memory evaluation function to find the topological order that has the smallest amount of occupied memory.

Metrics

Metrics Loading ...

Published

22-09-2012

How to Cite

[1]
P. V. Hưởng, N. N. Bình, and P. N. Thanh, “Optimizing occupied memory of embedded software in the design phase”, JCC, vol. 28, no. 3, pp. 234–244, Sep. 2012.

Issue

Section

Computer Science