Explore the intricacies of simulating low-level hardware devices in C++ through this comprehensive conference talk from CppCon 2022. Delve into the advantages of using simulated hardware for embedded development, including early-stage project work and testing error-recovery code. Learn how to leverage C++ features like operator overloading and user-defined conversions to create highly accurate simulations of hardware devices and individual registers. Discover techniques for writing code that interacts with simulated device registers in a manner nearly identical to real hardware interactions. Gain insights from Ben Saks, an experienced embedded systems developer and ISO C++ Standards committee member, as he shares practical approaches to enhance embedded software development through hardware simulation.
Overview
Syllabus
Simulating Low-Level Hardware Devices in Cpp - Ben Saks - CppCon 2022
Taught by
CppCon