Thoth: Rust-Driven Firmware and HDL Co-Design for Trusted IoT/UAV Systems
Abstract
Embedded systems such as IoT and UAV platforms often pair C firmware with separate HDLs, complicating safety, reproducibility, and timing. We introduce Thoth, a Rust-first co-design methodology that keeps firmware and accelerators in one language family: Rust firmware with Rust-HDL accelerators, all under a single cargo toolchain on Zynq-7000 (XC7Z020). On this platform, Rust firmware sustains deterministic telemetry tasks while a Rust-HDL Ascon hash accelerator integrates via AXI-Lite MMIO. End-to-end throughput reaches 1.48 hashes/s with offload versus 1.0-1.1 hashes/s in software, and the core alone achieves 169.9 hashes/s; the gap reflects register-level transfer overheads rather than datapath limits. Post-implementation results for the integrated design are compact (585 LUTs, 797 FFs, 0 BRAM, 0 DSP at 100 MHz). All artifacts—firmware, bitstream, and figures—are produced from version-pinned sources and scripted builds, so results are reproducible across machines and CI. We scope the threat model to software-level and integration risks and enforce constant-time behavior in the accelerator. Thoth shows that Rust and Rust-HDL enable a memory-safe, reproducible co-design flow for trusted embedded platforms beyond UAV and IoT, providing a practical path to predictable accelerator offload on commodity SoC-FPGAs.
BibTeX
@misc{elhadedy2025thoth,
author = {Mohamed El-Hadedy and Wen‐mei Hwu},
title = {{Thoth: Rust-Driven Firmware and HDL Co-Design for Trusted IoT/UAV Systems}},
year = {2025},
doi = {10.1109/norcas66540.2025.11231196},
}Ask Althea to put this paper to the test.
Loading related content...