Learn · CERN

Talk28 min

Paying off technical debt of SoC code-bases through standards and good practices

Clyde Laforge · CERN

Watch At CERN

About

CROME is CERN new generation of radiation monitoring system. It is based on semi-autonomous radiation detectors controlled by Zynq SoCs.

The management of heterogeneous complex code had to deal with a growing technical debt due to an ever larger code-base and increased complexity. In the early days, some light configuration was viable using scripts modifying directly the source code. After some time, we started having multiple scripts scattered across the code-base, each acting differently to either modifying existing files, generating new files or passing generics. Moreover, the use of a large set of different software for generating files, documenting the code, verification of the development and now linting made dependency tracking a challenge for newcomers.

In this presentation, we will expose how we managed to reduce the complexity by using a combination of GNU Autotools, make and TCL scripts. We significantly reduced technical debt by: • Implementing a unified mechanism for configuring the project with a simple user interface, • Tracking software dependencies before building the project allowing us to give the user a clear view on what is or is not possible with the current build environment, • Separating source and build directories of heterogeneous codes, making it clear on what can or cannot be modified, • Implementing linting of the HDL file, thus reducing noise of new commits..

0:00:00 Slide 1

0:02:42 Slide 2

0:03:46 Slide 3

0:06:30 Slide 4

0:08:02 Slide 5

0:11:59 Slide 6

0:13:44 Slide 7

0:18:16 Slide 8

0:19:25 Slide 9

The talk

  1. Paying off technical debt of SoC code-bases through standards and good practices 2022-11-23 · 28 min · CERN's player

Credits and licence

Institution
CERN
Department
System-on-Chip
Speaker
Clyde Laforge
Year
2022
Language
English
Source
CERN
Licence
CERN, as CERN states it. CERN's terms
Attribution
© CERN. CERN provides its audiovisual media free of charge for educational and informational use, credited to CERN; this lecture is shown in CERN's own player.
Who can watch
CERN gives no rating. Invisible Network shows it to Teens profiles and older, judged from what the source says about it. How courses are placed