Power-Aware Simulation and Formal Equivalence for Unmodified SystemC and SystemVerilog RTL

By Mayur Kubavat

Abstract

Modern systems-on-chip specify power gating, domain isolation, and state retention in external IEEE Std 1801 Unified Power Format (.upf) Tcl scripts so that RTL modules stay portable across simulation, synthesis, and formal sign-off. C++17 verification environments built on SystemC, Verilator, and UVM-SystemC have no runtime for those scripts: prior SystemC power libraries either estimate transaction-level energy without corrupting hardware state or embed custom C++ macros inside RTL modules, breaking synthesis and formal equivalence. Forcing signals from external observers also violates IEEE 1666-2023 scheduler and single-writer invariants, while synthesizable SystemC integers and Verilator models use two-state types that drop Verilog 'X values and mask missing isolation cells. We present systemc-lp, a C++17 IEEE 1801 engine built on a UPF-agnostic, +256-line policy interface in the SystemC 3.0.3 kernel. Keeping power intent out of RTL lets one unmodified design and .upf specification drive bypassed functional runs when UPF is disabled; cycle-accurate simulation with process gating, four-state 'X/'Z and two-state CORRUPT_JITTER corruption, and header-only UVM/TLM/FC4SC adapters when active; and word-level Btor2 and SystemVerilog formal proofs in svcc and InFormal. Across the open Accellera C++17 verification stack (969/969 SystemC kernel tests, ASan+UBSan clean) and an APB PMU-timer subsystem, disabling UPF stays within 5% of unhooked SystemC, formal proofs finish within 70 ms, and cross-checking all three tools uncovered three bugs in systemc-lp alongside six RTL, UPF, and firmware-sequencing defects missed by directed simulation.

Index Terms — low-power verification, IEEE 1801 UPF, power aware simulation, SystemC, Verilator, UVM-SystemC, formal equivalence checking, self-composition.

To read the full article, click here

×
Semiconductor IP