OmniSim: Simulating Hardware with C Speed and RTL Accuracy for High-Level Synthesis Designs Conference: 58th IEEE/ACM International Symposium on Microarchitecture; October 18–22, 2025; Seoul, Republic of Korea 58th IEEE/ACM International Symposium on Microarchitecture (MICRO ’25), October 18–22, 202
Rishov Sarkar, Cong Hao · 2025
Read OmniSim: Simulating Hardware with C Speed and RTL Accuracy for High-Level Synthesis Designs Conference: 58th IEEE/ACM International Symposium on Microarchitecture; October 18–22, 2025; Seoul, Republic of Korea 58th IEEE/ACM International Symposium on Microarchitecture (MICRO ’25), October 18–22, 202 by Rishov Sarkar, Cong Hao (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2508-19299.txt.
Introduction
Rishov Sarkar and Cong Hao present OmniSim, a simulator for chip designs written in high-level languages, in a 2025 paper. Designers now write hardware in C-like code, but checking such designs still needs slow low-level simulation. Dataflow designs with queues between parts are the hardest to test, and some are refused by commercial tools.
OmniSim runs many software threads that share tables logging the exact timing of each queue access. That trick lets it mimic hardware timing while running at near C speed. It simulated eleven designs that no other tool could handle. Speeds ran up to about thirty-six times faster than the standard paired simulation, and over six times faster than the best prior tool on its own tests.
Catalog record
| CREATOR | Rishov Sarkar, Cong Hao |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 65 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2508-19299
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
OmniSim: Simulating Hardware with C Speed and RTL Accuracy for High-Level Synthesis Designs Conference: 58th IEEE/ACM International Symposium on Microarchitecture; October 18–22, 2025; Seoul, Republic of Korea 58th IEEE/ACM International Symposium on Microarchitecture (MICRO ’25), October 18–22, 2025, Seoul, Republic of Korea DOI: 10.1145/3725843.3756033 ISBN: 979-8-4007-1573-0/2025/10 Rishov Sarkar, Cong Hao Abstract . High-Level Synthesis (HLS) is increasingly popular for hardware design using C/C++ instead of Register-Transfer Level (RTL). To express concurrent hardware behavior in a sequential language like C/C++, HLS tools introduce constructs such as infinite loops and dataflow modules connected by FIFOs (first-in first-out). While these constructs can represent concurrency, efficiently and accurately simulating them at C level remains challenging. First, without hardware timing information, functional verification typically requires slow RTL synthesis and simulation, as the current approaches in commercial HLS tools. Second, cycle-accurate performance metrics, such as end-to-end latency or throughput, also rely on RTL simulation. No existing HLS tool fully overcomes the first limitation. For the second, prior work such as LightningSim partially improves simulation speed but lacks support for advanced dataflow features like cyclic dependencies and non-blocking FIFO accesses. To overcome both limitations, we propose OmniSim , a framework that significantly extends the simulation capabilities of both academic and commercial HLS tools. First, OmniSim enables fast and accurate simulation of complex dataflow designs, especially those explicitly declared unsupported by commercial tools. It does so through sophisticated software multi-threading, where threads are orchestrated by querying and updating a set of FIFO tables that explicitly record exact hardware timing of each FIFO access. Second, OmniSim achieves near-C simulation speed with near-RTL accuracy for both functionality and performance, via flexibly coupled and overlapped functionality and performance simulations. We demonstrate that OmniSim successfully simulates eleven designs previously unsupported by any HLS tool, achieving up to 35.9 × \times speedup over traditional C/RTL co-simulation, and up to 6.61 × \times speedup over the state-of-the-art yet less capable simulator, LightningSim, on its own benchmark suite. † † cc-license: by 1. Introduction Figure 1. Overview of a representative HLS flow and the goal of this work. Figure 2. Accurately simulating hardware functionality and performance at C level is highly challenging due to the mismatch between sequential C and concurrent hardware: key actions (e.g., FIFO access) must be captured by their hardware timing, not software timing from thread scheduling. \blacktriangleright Hardware design using HLS. High-Level Synthesis (HLS) has gained popularity in hardware design due to its significantly improved productivity, allowing users to develop hardware using high-level languages such as C/C++, which will be automatically synthesized into Register Transfer Level (RTL) code. When designing hardware, users typically care about two key aspects: (1) whether the design behaves functionally as expected, known as functionality simulation , and (2) how well the synthesized hardware performs in terms of latency or throughput, known as performance simulation . 1 1 1 Also referred to as functionality verification, timing simulation, or performance testing by different HLS tool vendors. As illustrated in Fig. 1 , a typical HLS flow consists of three stages: C simulation, C synthesis, and C/RTL co-simulation. C/RTL co-simulation offers the highest fidelity with cycle-level validation, but is notoriously slow, often requiring hours or days, undermining the productivity benefits of HLS. At the other extreme, C simulation is fast and lightweight, but provides only limited functional validation and no performance insights. C synthesis lies in between: after generating RTL, the tool produces static performance estimates, which unfortunately are often inaccurate or even unavailable, especially with variable loop bounds or complex control flow. While much recent work, such as Verilator ( Ver [n. d.] ) and FireSim ( Karandikar et al. 2018 ) , focuses on speeding up RTL simulation, our focus is on an earlier point in the design cycle: simulating HLS designs before RTL is even generated, for both functionality and performance . Our goal is to deliver RTL-level accuracy at near-C simulation speed, enabling rapid design-space exploration without waiting for RTL generation. \blacktriangleright Challenges of C-level simulation. Current HLS tools can simulate functionality at the C level for some designs, but their performance estimation is often inaccurate due to the lack of run-time details such as actual loop counts, branch behavior, and FIFO stalls ( Sarkar and Hao 2023 ; Sarkar et al. 2024 ; Choi et al. 2020 ; Abderehman et al. 2022 ) . The challenges become greater for more complex designs . To express concurrent hardware behavior in sequential C/C++, HLS tools rely on special constructs such as infinite loops and dataflow (streaming) modules connected by non-blocking FIFOs. These constructs can represent a wide range of hardware designs, but they make it particularly difficult to correctly simulate them at the C level, both for functionality and for performance. 1 Functionality simulation. Certain common RTL scenarios are poorly supported by C-level simulation. For example, a timer module that tracks the cycle count of another module, or a network router that dynamically changes output ports depending on congestion, must be implemented as dataflow designs with non-blocking reads and writes (see Sec. 2 ). However, even commercial tools such as Vitis HLS ( AMD [n. d.] ) and Catapult HLS ( Siemens [n. d.] ) struggle to simulate such behavior correctly. Their manuals explicitly warn that C-level simulation may produce incorrect behavior, forcing users to rely on RTL simulation, which is both slow and tedious. 2 2 2 Catapult manual: “If the top level of your design contains non-blocking IO, the tool may not produce results as expected.” “While the synthesis of a non-blocking read is trivial, the resulting hardware will rarely, if ever, match the functionality of the original C code; all testing done at the C level would need to be re-done in the RTL.” , 3 3 3 Vitis HLS manual: “Using non-blocking APIs can lead to non-deterministic behavior which cannot be fully validated during C-simulation and requires an RTL test bench to test it exhaustively.” 2 Performance simulation . Beyond functionality simulation, accurately predicting performance, such as cycle counts or throughput, at the C level is even more challenging. This is because performance depends not only on correct functional behavior (already difficult to achieve at this level) but also on hardware-specific details such as scheduling, pipelining, and finite-state machine (FSM) transitions. Similarly, commercial HLS tools lack satisfactory solutions, either providing rough and inaccurate performance estimates after full synthesis, or fall back to slow RTL simulation. 4 4 4 Catapult manual: “Non-blocking IO cannot be used for throughput-accurate simulation.” “Latency testing using the source code is not commonly done (and is not even possible in C++-based designs), so there is no best practice for this yet.” , 5 5 5 Vitis HLS manual: “During C simulation, streams have an infinite size. It is therefore not possible to validate with C simulation, and these methods can be verified only during RTL simulation when the FIFO sizes are defined.” 3 Tightly coupled functionality and performance. The two challenges above both arise from the semantic gap between untimed, sequential C/C++ and the timed, concurrent nature of hardware. This gap creates a fundamental mismatch between hardware-level timing of actions and the OS-controlled scheduling of software threads during simulation. To model concurrent hardware at the C level, particularly