izpis_h1_title_alt

Optimiziranje velikosti programske kode za vgrajene sisteme
ID Zevnik, Filip (Author), ID Tuma, Tadej (Mentor) More about this mentor... This link opens in a new window

.pdfPDF - Presentation file, Download (2,03 MB)
MD5: 8A9F35E2E02C63F351897999E89B523F

Abstract
Diplomska naloga obravnava optimizacijo kode za velikost na vgrajenih sistemih. V uvodu je predstavljen pomen in motivacija za to temo, cilji in hipoteze naloge. V drugem poglavju je opisan ARM GNU nabor orodij, ki se uporablja za razvoj in optimizacijo programske opreme. V tretjem poglavju so analizirane zahteve in omejitve vgrajenih sistemov, ki vplivajo na izbiro optimizacijskih tehnik in orodij. V četrtem poglavju je predstavljena metodologija optimizacije kode za velikost z uporabo ARM GNU nabora orodij. V petem poglavju so izvedeni eksperimenti, kjer se primerja enak program, napisan v programskem jeziku C in v strojnem jeziku ARM. Program je preprost avtomatični sistem za zalivanje rož. Koda, napisana v C programskemu jeziku, je optimizirana z optimizacijskimi zastavicami ARM GNU prevajalnika. Optimizacije so analizirane in prikazane s kontrolnim tokovnim grafom (CFG). Nato se primerja velikost binarne datoteke, ki se dobi iz optimizirane C kode in iz strojne kode. Hipoteza diplomske naloge je, da bo optimizirana C koda manjša po velikosti kot ARM strojna koda. V zadnjem poglavju so predstavljeni rezultati, diskusija in zaključek naloge.

Language:Slovenian
Keywords:ARM, optimizacija, CFG, vgrajeni sistemi
Work type:Bachelor thesis/paper
Organization:FE - Faculty of Electrical Engineering
Year:2023
PID:20.500.12556/RUL-148344 This link opens in a new window
COBISS.SI-ID:161611011 This link opens in a new window
Publication date in RUL:18.08.2023
Views:1001
Downloads:263
Metadata:XML DC-XML DC-RDF
:
Copy citation
Share:Bookmark and Share

Secondary language

Language:English
Title:Optimizing code size for embedded systems
Abstract:
The thesis addresses the optimization of code size on embedded systems. In the introduction, the importance and motivation for this topic, the goals and hypotheses of the thesis are presented. In the second chapter, the ARM GNU toolchain, which is used for development and optimization of software, is described. In the third chapter, the requirements and constraints of embedded systems, which affect the choice of optimization techniques and tools, are analyzed. In the fourth chapter, the methodology of code size optimization using the ARM GNU toolchain is presented. In the fifth chapter, experiments are performed, where the same program, written in C programming language and in ARM assembly language, is compared. The program is a simple automatic system for watering flowers. The code written in C is optimized with optimization flags of the ARM GNU compiler. The optimizations are analyzed and shown with a control flow graph (CFG). Then, the size of the binary file, obtained from the optimized C code and from the assembly code, is compared. The hypothesis of the thesis is that the optimized C code will be smaller in size than the ARM assembly code. In the last chapter, the results, discussion and conclusion of the thesis are presented.

Keywords:ARM, optimization, CFG, embedded systems

Similar documents

Similar works from RUL:
Similar works from other Slovenian collections:

Back