Digitala Vetenskapliga Arkivet

Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Användning av hårdvaruemulering i automatiserad testning
Karlstad University, Faculty of Health, Science and Technology (starting 2013), Department of Mathematics and Computer Science (from 2013).
Karlstad University, Faculty of Health, Science and Technology (starting 2013), Department of Mathematics and Computer Science (from 2013).
2024 (Swedish)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesisAlternative title
Utilizing Hardware Emulation in Automated Testing (English)
Abstract [sv]

Det dyker konstant upp nya produkter i samhället som använder sig av nya teknologier. När företag utvecklar ett program för hårdvara kan tillgängligheten till hårdvaran vara låg. Målet med denna uppsats är att med hjälp av hårdvaruemulering öka tillgängligheten till hårdvaran och möjliggöra mer avancerad felsökning och testning. För att göra detta möjligt användes Docker och QEMU i samband med GitLabs CI/CD pipeline för att automatiskt testa ny kod på emulerad hårdvara. Med denna implementation testas nu programmet automatiskt vid en push till GitLab vilket minskar behovet av tillgänglig hårdvara. Det krävs dock ytterligare arbete för att verifiera paritet mellan emulatorn och den riktiga hårdvaran. Användning av hårdvaruemulering sparar på resurser i form av minskat behov av prototyp hårdvara och tillgänglighet till hårdvara generellt. Detta är positivt ur både ett ekonomiskt- och klimatperspektiv.

Abstract [en]

In today’s society there is a constant development of new products utilizing bleeding edge technologies. Companies might struggle to obtain new hardware utilizing such techonolgies. The goal with this project is to use hardware emulation to increase the availability of said hardware while also enabling the use of more advanced debugging and automated testing. Docker and QEMU is used in combination with GitLab’s CI/CD pipeline to make it possible to automatically test new code on emulated hardware. Using this implementation an application is now tested automatically when new code is pushed to GitLab which lowers the need to purchase and obtain real hardware. More work needs to be done to verify the parity between the emulator and the real hardware. The reduction in purchases will lead to both an economic and environmental benefit.

Place, publisher, year, edition, pages
2024. , p. 55
Keywords [sv]
QEMU, CI/CD pipeline, Pytest, Docker, Cortex A35, Xilinx, zcu104, Vitis, Vivado
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:kau:diva-101438OAI: oai:DiVA.org:kau-101438DiVA, id: diva2:1892433
External cooperation
Volvo Autonomous Solutions
Subject / course
Computer Science
Educational program
Bachelor Programme in Computer Science
Supervisors
Examiners
Available from: 2024-08-27 Created: 2024-08-26 Last updated: 2026-02-12Bibliographically approved

Open Access in DiVA

fulltext(7816 kB)180 downloads
File information
File name FULLTEXT01.pdfFile size 7816 kBChecksum SHA-512
f0a817e08d2e42bf4a7a3ca82f5f753d2eace201e9ca57cddb7e956d89a18c1e704d85b0636433b53897d52f81428208c8faef409646c98734e929f526dbb31b
Type fulltextMimetype application/pdf

By organisation
Department of Mathematics and Computer Science (from 2013)
Computer Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 182 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 271 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf