Skip to main navigation Skip to search Skip to main content

Programming Time-Predictable Processors with Lingua Franca

  • Magnus Mæhlum
  • , Erling Rennemo Jellum
  • , Shaokai Lin
  • , Marten Lohstroh
  • , Martin Schoeberl
  • , Sverre Hendseth
  • , Edward A. Lee
  • Norwegian University of Science and Technology
  • University of California at Berkeley

Research output: Chapter in Book/Report/Conference proceeding › Article in proceedings › Research › peer-review

315 Downloads (Orbit)

Abstract

Precision-timed (PRET) machines are an alternative to modern processors that provide precise control over the timing of software execution. This paper describes a platform for developing predictable real-time embedded systems that pair PRET machines with Lingua Franca (LF), a recent reactor-based coordination language with temporal semantics. Specifically, we port LF to FlexPRET, a PRET machine with flexible hardware thread scheduling. We evaluate single-threaded LF with a tight control loop style application on four embedded platforms, including the FlexPRET. The results reveal the underlying platform’s timing variability and how LF plus FlexPRET can remedy this timing variability. Finally, we compare single-threaded to multithreaded LF, again concerning timing. The four embedded platforms used are FlexPRET (bare-metal), RP2040 (bare-metal), nRF52 (with Zephyr), and Raspberry Pi 3b+ (with Linux). Our results indicate that FlexPRET with LF is attractive when precise timing is essential.
Original languageEnglish
Title of host publicationProceedings of the Sixth Workshop on Next Generation Real-Time Embedded Systems (NG-RES 2025)
Volume128
PublisherSchloss Dagstuhl - Leibniz-Zentrum für Informatik
Publication date2025
Pages1:1-1:13
DOIs
Publication statusPublished - 2025
EventSixth Workshop on Next Generation Real-Time Embedded Systems - Barcelona, Spain
Duration: 20 Jan 2025 → 20 Jan 2025

Workshop

WorkshopSixth Workshop on Next Generation Real-Time Embedded Systems
Country/TerritorySpain
CityBarcelona
Period20/01/2025 → 20/01/2025

Keywords

  • Real-time systems
  • Coordination language
  • Embedded system
  • Time-predictable architecture

Fingerprint

Dive into the research topics of 'Programming Time-Predictable Processors with Lingua Franca'. Together they form a unique fingerprint.

Cite this