Continuous Integration (CI) is an automated development process in which, after a developer commits new source code, steps such as static analysis, unit testing, and integration testing run automatically and results are checked — in other words, continuously automating downstream steps every time code is committed, to make development more efficient.

CI has become increasingly common in software development generally. However, because embedded software requires automated testing on real hardware, achieving CI has historically been difficult.

1. Achieving CI for Embedded Software with GSIL

GSIL is a simulation tool developed and sold by Ubiquitous AI. Using GSIL, CI becomes achievable even for embedded software.

Why GSIL makes CI possible

  • Enables input/output verification that's otherwise difficult with embedded software
  • No need to support drivers that differ across real hardware
  • Supports automated testing via Python

In GSIL's simulation-oriented environment, the software under test is built using a compiler such as gcc that can run on a PC. Input and output are read and written over a bus called VBUS.

GSIL includes a GUI for input/output: you can vary inputs using sliders in the GUI and check output results in a plotter. Tests can also be run using a CSV file for input. Because GSIL reads and writes input/output directly on VBUS, the BSW layer falls outside the simulation scope, meaning there's no need to handle device drivers that differ from one real ECU to the next.

2. Automated Testing with Python

GSIL supports automated testing written in Python. Although Python is used, once you understand the format of the test-instruction arguments, you can write test scripts without needing to know the Python language itself.

3. Automated Exhaustive Testing

GSIL can automatically generate and run tests covering an enormous number of inputs that would be impossible to test by hand — its automated exhaustive testing. This helps uncover runtime errors, such as division by zero or buffer overruns, that have low reproducibility, are hard to find, and can freeze a device if triggered.

4. Summary

Using GSIL overcomes the challenges of achieving CI in embedded control software development. Software developers simply write and commit code; automated tests run and results can be checked immediately, and if a problem is found, it can be debugged and retested directly in GSIL.

Author
Hiroshi Ueda

Ubiquitous AI Corporation

Embedded Business Unit 3, Deputy General Manager

Hiroshi Ueda

After university, Ueda joined a Tier 1 supplier and worked on ECU software development. He later worked overseas as an embedded software development engineer before returning to Japan, where he has been engaged in technical sales for automotive software since 1998. Drawing on his own experience, he sources overseas software products that help solve customers' development challenges and delivers them to engineers in Japan.

Related Insights

Get in Touch

For more details on GSIL

Contact Us

Want to learn more about GSIL or have challenges in automotive ECU software development?

Try GSIL for Free

Try GSIL for Free

We offer a free trial for corporations, including training and setup support.

Back to Product Page