Bitron is a company specializing in the design and production of electronic components and systems for the automotive sector, with an international presence and a portfolio that includes solutions for control electronics, energy management, and in-vehicle systems. As products and development cycles become increasingly complex, the company must manage a large volume of technical information and documentation to support design and development activities. In this context, Artificial Intelligence can help make the different stages of software development more efficient, from design and implementation through to verification. Developed in collaboration with AIRIC, the project aimed to explore the applicability of Generative AI techniques to support software development for microcontrollers used in the automotive sector. The main challenge was to assess how language models and Generative and Agentic AI techniques could be integrated into company processes to generate code from software requirements, make effective use of the existing technical context and codebase, and ensure that developers oversee the verification and validation of the results.
Context analysis and data collection
The initial phase focused on analyzing Bitron's embedded development process, with particular attention to information sources, technical and quality constraints, and the identification of case studies. In parallel, the literature review examined approaches to requirements formalization, automatic code generation, retrieval techniques applied to software, and methods for evaluating results. This work established the methodological foundations for designing a pipeline capable of transforming software requirements into structured, verifiable intermediate artifacts and, subsequently, into code. The pipeline architecture and evaluation criteria defined during this phase provided the basis for the subsequent implementation and experimentation activities.
Deliverables:
- Analysis of Bitron's process, information sources, and technical constraints;
- Pipeline architecture, case studies, evaluation criteria, and KPIs.
Pipeline implementation
The second phase focused on implementing the complete end-to-end pipeline, from software requirements formalization to embedded code generation. Procedures, guidelines, and company development rules were integrated into the pipeline's various stages to ensure that the generated artifacts were consistent with Bitron's technical context. Retrieval-Augmented Generation (RAG) techniques were also tested to identify and retrieve software modules from the existing codebase that were relevant to the requirements, providing the generation process with the necessary context. In addition, pipeline stages were developed to check functional coverage and compliance with requirements, architectural constraints, and company development rules.
Deliverables:
- Complete pipeline for AI-assisted embedded code generation;
- RAG components for integration with the Basic Software;
- Evaluators and repair cycles for generated artifacts and code.
Experimental validation and demo development
The third phase focused on evaluating and progressively refining the system through experimental campaigns and technical reviews of the generated code conducted by Bitron. Evaluation results and feedback gathered during the reviews guided improvements to the pipeline. Finally, an interactive demo was developed as a Proof of Concept (PoC), enabling users to run the entire pipeline from a set of software requirements, generate the corresponding code, and review the intermediate artifacts and evaluation reports produced at each stage. The demo also allows developers to request changes to the generated code, maintaining a human-in-the-loop approach in which Bitron oversees the final review, verification, and validation activities.
Deliverables:
- Report on the evaluation campaigns and improvements introduced.
- Consolidated version of the system and technical documentation.
- Interactive Proof of Concept demo with human-in-the-loop review.
The project produced a working pipeline for AI-assisted embedded code generation. Experiments indicate that evaluation and repair cycles improve the code according to the criteria adopted. The Proof of Concept provides a basis for further testing on Bitron projects, while keeping developers responsible for verifying and integrating the results.

AI Research Engineer
AIRIC
Luca
Alessandrelli

AI Research Engineer
AIRIC
Alessandro
Nocentini

Software engineering
Marcello
Bersani

Software engineering
Matteo
Camilli

Project Leader - Automotive and AI Projects
Bitron
Donato
Russo

Automotive software leader
Bitron
Alberto
Campo

Application Services Manager
Bitron
Somayyeh
Sarfjoo


