arXiv:2610.13067cs.AROct 2026

Manuscript Offprint

arXiv:2610.13067

TPCS: A Cycle-Level Simulation Paradigm with Native Execution Semantics for RTL Modeling and Generation

Chengzhen Meng, Xiaoyu Li, Chen Bai, Zhenyu Zhang, Hongjun Dai

Chengzhen Meng*, Xiaoyu Li†, Chen Bai‡, Zhenyu Zhang†, Hongjun Dai*

  • School of Software, Shandong University, Jinan, China † School of Integrated Circuits, Shandong University, Jinan, China ‡ Fudan University, Shanghai, China

Abstract—The growing diversity of domain-specific architectures and microarchitectural designs demands fast and accurate evaluation methods during early design stages. However, existing approaches suffer from a fundamental trade-off: high-level simulators offer speed but lack fidelity, while RTL-based tools provide accuracy at the cost of significant simulation overhead. This gap limits efficient pre-RTL microarchitecture exploration. Therefore, we propose Transaction-Pruned Cycle Simulation (TPCS), a novel modeling and simulation framework. It serves as a unified intermediate abstraction spanning microarchitecture modeling, cycle-accurate simulation, and synthesizable RTL implementation. TPCS organizes combinational logic as transaction-based function invocations and leverages host CPU control flow to naturally prune inactive logic, eliminating the need for explicit event scheduling or signal tracking. This enables cycle-accurate simulation with significantly improved performance. TPCS preserves structural correspondence with RTL and supports automatic generation of synthesizable designs. TPCS achieves 36×42×36 \times 42 \times speedups over parallel Verilator on SMP systems and 3.4×7.2×3.4 \times 7.2 \times over single-threaded Verilator on accelerators, with cycle-level waveform agreement on the evaluated traces. The generated RTL demonstrates comparable timing and area to handcrafted implementations, with relative changes of −4.7%-4.7\% to +2.6%+2.6\% in clock period and −3.3%-3.3\% to +4.0%+4.0\% in standard-cell area. By bridging the abstraction gap between high-level modeling and RTL design, TPCS enables a unified and agile pre-RTL workflow, allowing efficient microarchitecture exploration with both high performance and implementation fidelity.

Index Terms—Microarchitecture Modeling, Cycle-Accurate Simulation, Hardware/Software Co-Design, Design Methodology.

I. INTRODUCTION

Modern microarchitecture (μarch) innovation extends beyond conventional IP integration; fine-grained design has become equally critical, particularly in domain-specific processors and heterogeneous systems, where detailed μarch decisions significantly impact performance [1], [2]. Rapid exploration of such designs requires efficient evaluation of μarch ideas before committing to error-prone and time-consuming Register-Transfer Level (RTL) implementation. Skipping this pre-RTL evaluation leads to high development costs, including long synthesis-simulation cycles, limited design-space coverage, and costly rework when sub-optimal decisions are dis-

Figure

(a) Lack of fine-grained μ\muarch evaluation tools in conventional workflows.

Figure

(b) Proposed workflow with TPCS enabling agile pre-RTL iteration.

Fig. 1. A typical workflow in fine-grained μ\muarch design. TPCS addresses the bottleneck caused by abstraction gap and models/tools isolation.

covered late [3]–[5]. Therefore, agile μ\muarch iteration demands evaluation methods that are both fast for early exploration and sufficiently faithful to capture fine-grained hardware behavior.

However, existing simulation or evaluation tools fall into two opposing abstraction levels (Fig. 1(a)). This polarization stems from a fundamental mismatch in design philosophies: high-level tools (e.g., GEM5, TLM) prioritize exploration agility over detailed hardware behavior, while RTL tools and hardware description languages (HDLs) prioritize low-level fidelity but incur substantial simulation overhead. As a result, neither supports efficient and accurate pre-RTL μ\muarch evaluation. This mismatch forces prior approaches to trade off between efficiency and fidelity [6]–[9] or rely on complex multi-level workflows [10]–[13]. Consequently, the resulting design misalignment, time overhead, and engineering effort form key bottlenecks in agile μ\muarch iteration.

Addressing these challenges is fundamentally difficult, as they originate from the absence of an execution model bridging high-level programmability and low-level hardware behavior. This motivates a rethinking of how hardware execution is represented and simulated.

The overhead of RTL simulation largely stems from signal-level evaluation, where even inactive computations incur unnecessary work. Prior studies reduce this overhead by tracking signal activity [14], [15], but they remain confined to the

Corresponding author: Hongjun Dai (email: dahogn@sdu.edu.cn)

This work has been submitted to the IEEE for possible publication. Copyright may be transferred without notice, after which this version may no longer be accessible.

signal-level abstraction. We observe that hardware behavior is inherently governed by control logic, which determines the activation of entire computation blocks. Based on this, we reformulate hardware simulation as an execution process based on behavioral descriptions. Inactive paths are naturally skipped via host-native control flow, eliminating the need for explicit activity tracking. This formulation not only improves simulation efficiency, but also provides an executable representation of hardware behavior prior to RTL realization.

In this paper, we propose Transaction-Pruned Cycle Simulation (TPCS), a novel methodology for modeling and simulating deterministic cycle-synchronous hardware designs using native software descriptions. TPCS represents hardware execution as transaction-level function invocations within each cycle, enabling control-flow-driven execution with implicit pruning of inactive logic. This design achieves three key properties (Fig. 1(b)): (1) cycle-level equivalence with RTL at module boundaries, (2) high simulation efficiency through native execution, and (3) structural correspondence that supports automatic generation of synthesizable RTL. Together, these properties enable fast and accurate pre-RTL design evaluation for agile hardware development.

We evaluate TPCS across designs with varying control intensity. TPCS achieves 36×−42×36 \times -42 \times speedups on SMP systems and 3.4×−7.2×3.4 \times -7.2 \times on accelerators against parallel and single-threaded Verilator baselines, respectively. Meanwhile, waveform equivalence is preserved for key registers and module boundaries. In addition, the generated RTL achieves timing and area close to hand-written designs, with relative changes of −4.7%-4.7\% to +2.6%+2.6\% in clock period and −3.3%-3.3\% to +4.0%+4.0\% in standard-cell area. These results demonstrate that TPCS delivers both high simulation performance and implementation-quality hardware.

The main contributions of this paper are as follows:

  • We introduce a new hardware simulation paradigm that leverages host-native control flow to directly drive the control logic of the simulated target hardware.

  • We formalize this idea into TPCS, a novel hardware modeling method that combines native host-language execution, transaction-driven pruning, and systematic generation of synthesizable RTL. The toolchain implementing TPCS is open-source 1^{1} .

  • We demonstrate TPCS on representative cycle-synchronous hardware designs, showing cycle-level waveform equivalence, up to 42×42 \times speedup over parallel Verilator, and generated-RTL quality comparable to hand-written designs.

  • We show that TPCS enables an agile pre-RTL development workflow, allowing design issues to be identified and resolved earlier, thereby reducing iteration time and engineering effort compared to conventional workflows.

References (35)