Across the years, Antmicro and Analog Devices (ADI) have been steadily collaborating on a number of projects to bring customers a wide range of practical open source toolkits and software-first workflows, addressing the growing need for accelerated, fully controllable development: from adding an AutoML module in Antmicro’s Kenning AI optimization and deployment solution searching for models best bit for specific tasks or platforms, to creating Zephelin, a library which captures and reports runtime performance metrics for Zephyr RTOS applications.
In a recent effort, Antmicro and ADI are bringing Antmicro’s open source tooling to Project Solas™ - ADI’s work to make its knowledge, technologies, tools, models and software easier for AI to discover and apply through the environments engineers prefer.
Antmicro contributed to Project Solas™ by creating a Machine Learning (ML) harsh driving detection system for automotive use cases. The entire hardware setup of the system is simulated in Renode, Antmicro’s open source framework for simulating heterogeneous multi-node embedded systems. The virtual nature of the setup completely removes the need for physical components and human interaction with hardware, opening the doors for agentic and AI-assisted development.
With added Renode support for the versatile Arm Ethos NPU, the Alif Ensemble E8 platform and the ADI ADXL372 accelerometer, Antmicro provides an open, end-to-end virtualized automotive development flow that involves full system simulation including NPU processing of the AI detection algorithm, along with fully inspectable CAN communication between each of the Electronic Control Units, combined with simulation of the physical environment.
This article shows a demonstration of the application and describes the necessary components that went into its creation, including new hardware support, AI training, implementation and optimization using Antmicro’s Kenning framework, and Renode UI integrated with CodeFusion Studio™.

Demonstrating a harsh braking event in simulation with Renode and world-state simulators
The goal of the demonstrator was to create an application that detects harsh driving events in an automotive environment. The detection is driven by acceleration data - the platform is supposed to analyze accelerometer input and, with the use of a neural network, warn the user and take preventive actions as necessary.
Development of such firmware, involving multiple MCUs and specific physical conditions, traditionally required complex hardware rigs and laboratory setups. With the open source toolkit developed by Antmicro and presented in this demonstration, developers can easily switch to a more modern approach that not only enables easier development of software, immediate feedback from the simulation environment and advanced automated testing, but also provides an AI-native ecosystem for more trustworthy and traceable development of critical applications.
Renode already supports numerous architectures and peripherals widely used in the automotive industry. The Resistant Automotive Miniature Network (RAMN) is a platform that showcases these simulation capabilities well: it’s an open source testbed developed by Toyota with 4 interconnected MCUs which mimics a multi-node automotive system. RAMN was recently added to Renode alongside the CARLA driving simulator, enabling co-simulation for testing of automotive devices in real-world-like conditions.
The harsh driving detection system developed as part of Project Solas™ uses RAMN, the Alif Ensemble E8 processor with two Ethos NPUs inside, and an ADXL372 accelerometer, simulating each of these components inside Renode for a fully virtual system. This setup is connected to CARLA in order to receive acceleration data, which is then processed by an ML model running on the Ensemble E8’s Ethos NPU in order to detect sudden changes.

Building blocks and demonstration setup
The main driver of the development environment for this use case was Renode. Its main task was to provide full system simulation of the multi-node setup consisting of RAMN and Alif E8.
The Toyota RAMN platform captures analog vehicle controls, such as the steering wheel or the brake and acceleration pedals, and transmits them over CAN. The CARLA simulator receives these CAN messages and visualizes the vehicle’s movement in a 3D environment with lifelike conditions, based on the steering inputs generated by RAMN. The ADXL372 accelerometer communicates with CARLA, receiving acceleration data of the simulated vehicle.
The accelerometer is connected to the Alif Ensemble E8 over I2C, sending data at the rate of 20 Hz. The Ensemble E8, running Zephyr RTOS, reads the accelerometer data, which is later used as input for the detection system algorithm for detecting sudden shifts in acceleration, such as sudden braking. This ML model is executed on the Ethos NPU in the Ensemble E8. When an unusual event is detected, the architecture routes a warning over CAN to RAMN’s ECU A, which shows a warning on the ST7789 display through SPI.
The entire demonstration setup is available publicly on Antmicro’s GitHub. The README file in the repository contains detailed instructions describing how to run the demo.
Simulating Alif Ensemble E8, Arm Ethos-U NPU and ADI ADXL372 in Renode
Renode supports full binary compatibility with hardware - this means that it allows you to run the same software you would run on your physical setup.
This requires Renode to support not only cores executing software on specific MCUs, but also their peripherals and external components, like sensors.
Renode already supports over a thousand various platforms, including the Alif Ensemble E8 platform, which is used in the demo to run the harsh driving detection algorithm on its Arm Ethos-U55 NPU. The platform support extends also to other peripherals, such as:
- Arm Ethos-U85 - a more capable NPU that’s aimed to support the next iteration of the presented application
- UART - used to display Zephyr’s shell console
- I2C - used to communicate with the ADXL372 accelerometer
- CAN - used for communication with the CARLA driving simulator
A crucial part of implementing the Alif platform in Renode included adding support for Ethos-U55 and U85 NPUs. The effort began with engineering basic Ethos-U55 support and writing multiple tests, making sure to reference multiple sources such as the NPU documentation, the source code of Ethos’ native compiler, Vela, and running tests on the hardware itself. A vital part of the implementation was performance optimization, to be able to support neural network models which can reach significant sizes. Thanks to the wide range of testing and interfacing capabilities of Renode, Antmicro was able to employ AI agents to significantly decrease the inference time on the emulated co-processor - with the available automation features agents are able to independently modify and test their changes with minimal human supervision, allowing developers to focus only on technical review and making sure the generated code is of good quality. This illustrates the opportunity behind ADI’s Project Solas™: bringing engineering resources and executable tools into AI-assisted workflows so engineers can explore changes, test their effects, and review the resulting evidence. Here, Renode provides that working environment for software compiled for the target hardware platform.
To simulate real life conditions, Renode offers many ways of providing data to sensors: manually, via external API or using a time-coordinated multi-sensor data sample format. In this scenario, Antmicro extended the ADXL372 accelerometer model with a custom adapter that converts the acceleration values received from CARLA and feeds them to the sensor. Those sensor values are later read by the Zephyr application running on Alif E8 and fed into the harsh driving detection algorithm.
Preparing the data and model for harsh driving detection
Accelerometers can serve as a vital source of information regarding various events happening on the road, the state of the vehicle, the state of the road, and also the behavior of the driver. And with a world state simulator such as CARLA, simulating events such as rapid vehicle acceleration or deceleration is quite simple.
For the purpose of the provided demonstration, the model developed by Antmicro focuses on harsh braking detection. As CARLA is an open source world-state simulator, this scenario can be easily extended to classify harsh acceleration, steering, or aggressive driving behavior patterns in general.
In order to prepare such a model, a training and testing dataset is first needed. For this, CARLA and Renode simulation are used in tandem. The car movement is performed by a user in CARLA, where not just basic control over the vehicle can be provided - the data can also be automatically or manually marked for events to be detected. In the meantime, the acceleration data from CARLA is passed and processed by Renode to create ADXL372 data. This data, alongside other events and readouts collected from CARLA, is then saved to a CSV file, forming a dataset. Data is collected at the same rate it would be delivered by the ADXL372 accelerometer, and processed by the firmware application.
When the data is collected, the ML model is trained and optimized in Kenning. For the harsh braking task, the Antmicro team created a neural network that takes the last 48 samples from the accelerometer and passes them through a convolutional network with residual connections. Each residual block in the network consists of 1D convolutional layers, batch normalization and ReLU6 activation functions. In the end, the model returns whether harsh braking was detected or not, based on provided samples. The layer hyperparameters and the structure of the model were designed to allow deployment entirely on the target Ethos NPU.
Once the model is trained, it is first quantized and converted to the TensorFlow Lite format with LiteRTCompiler, and later passed through the VelaCompiler, which produces a model implementation using the Ethos-U accelerator.
With the desired model complete, it is then embedded into the Zephyr firmware. The Zephyr driver submits the command stream to the Ethos NPU, and, subsequently, the NPU executes the commands and runs the requested mathematical operations. The firmware then reads the output of the model and, if an event was detected, sends the information over CAN to RAMN to display a warning.
Before and after the training, to both check if the model runs fast enough for the task and to find and optimize bottlenecks both in the firmware and the model, the Zephelin framework was used to collect the traces for later visualization in the Zephelin Trace Viewer VSCode extension. With Zephelin you can easily oversee the work of the device, resource usage, if all operations are being calculated on the accelerator or if something is offloaded to CPU and can potentially hinder performance.
In the video you can see a comparison of two models executing on Alif E8 and Ethos-U55, one using an ELU operation that is not supported by Ethos natively (and thus offloaded to the CPU), and one optimized to run fully accelerated with Ethos, running in a fraction of time.
Renode UI and CodeFusion Studio™ integration for a better development experience
Enabling AI-driven development and automation is a key feature of Renode, but interactive workflow is as important for engineers.
ADI’s CodeFusion Studio™ provides a VS Code-based embedded development environment, with Renode’s VS Code extension integrating seamlessly to bring simulation controls and analyzers into the same workspace. Engineers can then launch and debug their application, manipulate simulated inputs, and inspect system behavior without moving to a separate simulation interface.
To simplify controlling the simulated vehicle interactively, Renode’s UI has been extended with a key binding system, which introduces familiar WASD controls to the simulated vehicle. These controls can be used directly from CodeFusion Studio™. The system works by translating a key press into a change of a sensor’s value; for example, pressing A changes the value of the steering wheel potentiometer in a way that RAMN’s firmware interprets as the steering wheel being turned to the left. RAMN is still fully in control of processing of the steering inputs and communicating this information over CAN to CARLA.
The prepared scenario comes with a CodeFusion Studio™ configuration that allows developers to launch and debug the application running on the Alif Ensemble E8, interact with the ADC inputs, inspect the simulation state and integrate with the broader ADI development ecosystem.
After connecting to Renode, a debug session is started. Relevant analyzers provided by Renode are opened automatically on startup. This includes display and CAN analyzers opened next to each other in webviews, and the UART analyzer at the bottom. After a few debugging steps, the demonstrator boots up - CAN frames are exchanged and the display lights up. You can see accelerometer values logged to UART. When debugging is stopped, Renode analyzers are disposed and the session is ready to be restarted, giving the same deterministic results each time.
Easier and faster development of automotive applications with Antmicro and ADI
The implementation workflow of the presented ML detection system showcases the benefits of simulation-based development with open source tooling: it is cost-efficient, time-efficient, and allows for more creativity in terms of testing possibilities. And, by postponing the need for the physical hardware elements until the final development stages, testing and verification can be sped up even further by including AI agents into the process, as the virtual environment allows for easy automation and does not require human intervention as in the case of physical hardware.
Combining ADI’s AI-native engineering approach and Antmicro’s simulation-driven development workflow gives customers a look into the swift, seamless experience that using Renode can bring. Automotive systems, which require a significant amount of time dedicated to testing and early-stage prototyping, are a clear example of use cases that can visibly benefit from the development methodology emerging thanks to the companies’ collaboration around Project Solas™.
To learn more about Antmicro’s services around Renode, visit the Renode website, explore Renode on GitHub, and reach out directly at contact@antmicro.com.
To learn more about Project Solas™ visit the Analog Devices website.