Skip to Content
ChipsChips
  • Article
  • Open Access

17 September 2026

91 Pages

Novel Microarchitectural Side-Channel Attacks on Open-Source RISC-V Cores

,
,
and
1
Department of Computer Science and Information Systems, Birla Institute of Technology and Science (BITS) Pilani, K. K. Birla Goa Campus, Zuarinagar 403726, Goa, India
2
School of Computer Engineering, Kalinga Institute of Industrial Technology (KIIT) Deemed to be University, Bhubaneswar 751024, Odisha, India
3
Independent Researcher, Cuttack 754001, Odisha, India
4
ENineHQ Technologies, Cuttack 754001, Odisha, India

Abstract

We present a simulation-to-silicon security characterization of microarchitectural side channels on open-source RISC-V cores. Twenty-three attack classes are measured across a six-core corpus that spans the design space from simple in-order pipelines (Rocket, VexiiRiscv) through a single-issue in-order core (CVA6) to a three-point out-of-order width sweep (BOOM Medium/Large/Mega), together with two dual-hart systems-on-chip for cross-hart channels. Six of the classes are novel microarchitectural primitives rooted in RISC-V-specific features that lack x86/ARM counterparts: speculative and enforcement-timing leakage through Physical Memory Protection (PMP), PMP write-any-read-legal (WARL) fingerprinting, page-table-walker/PMP fault-cause fingerprinting, and load-reserved/store-conditional (LR/SC) reservation lifetime and granularity channels, while the remainder are the first systematic cross-privilege and cross-core RISC-V instantiations of coherence, predictor, translation, and functional-unit channels. Every channel is quantified with Welch’s Test Vector Leakage Assessment (TVLA) and paired with a proof of concept whose success rate is reported with Wilson 95% confidence intervals and explicit sample counts. Critically, we move the evaluation beyond deterministic register-transfer-level (RTL) simulation to real silicon: on a Xilinx Zedboard (xc7z020), we capture eighty-four live unit-level channel measurements and run an eleven-experiment side-channel battery on a whole RISC-V core, with a synthesis and dynamic-power model for every attack unit. Eight mitigations are implemented at the RTL and firmware levels; each is evaluated for channel closure (TVLA), portability across cores, robustness to an adaptive attacker, amortized software overhead on a standard workload suite, and, for the first time in this setting, measured silicon area and dynamic-power cost. Six of the eight mitigations cost at most 0.8% look-up-table area, and all eight change dynamic power by under two milliwatts. We further contribute a formal threat-model taxonomy, a statistical-validity treatment of the TVLA methodology, and a design-recommendation checklist for RISC-V implementers.

1. Introduction

RISC-V has reached silicon production—commercial systems-on-chip (SoCs), server accelerators, and safety-critical embedded controllers—requiring that rigorous protections against Spectre [1] and Meltdown [2] be brought to x86 and ARM for its microarchitectural side-channel surface. Two properties make the RISC-V instruction-set architecture (ISA) distinctive. Its implementations are open: full register-transfer-level (RTL) source permits deterministic, cycle-exact simulation and lets mitigations be applied to the hardware and remeasured identically. Its specification also introduces RISC-V-specific mechanisms: Physical Memory Protection (PMP), the write-any-read-legal (WARL) control-and-status-register (CSR) convention, the modular extension/trap model, atomic load-reserved/store-conditional (LR/SC) reservations, and the open TileLink coherence fabric. Their security behavior has no x86/ARM analog and is unaudited.
  • From simulation to silicon.
Deterministic RTL simulation is a precise microscope: every rdcycle sample is exact, repeated runs are bitwise-identical, and all within-condition variance is operand-dependent rather than environmental noise, eliminating the clutter that dominates commercial-hardware measurement and isolating each mechanism. But a channel visible in a noise-free model may not survive on silicon subject to jitter, dynamic voltage/frequency scaling (DVFS), and interconnect contention. We therefore carry the study to hardware: each attack unit is synthesized and measured on a Xilinx Zedboard (xc7z020) field-programmable gate array (FPGA) over a virtual-input/output (VIO) debug link, and a whole RISC-V core is placed on the FPGA and made to leak eleven distinct channels while executing bare-metal code, read out through a program-counter-encoding channel independent of the cache-coherence writeback path. The simulation demonstrates the mechanisms and exactness of silicon, external validity and a hardware-cost model.
  • Corpus.
We evaluate six open-source cores forming a controlled width sweep: Rocket [3] (five-stage, in-order), VexiiRiscv (plugin-composed in-order/lightly speculative), CVA6 [4] (six-stage, single-issue in-order with a scoreboard, fixed-latency floating-point unit), and the out-of-order (OoO) BOOM [5] family at three issue widths: MediumBoomV3, LargeBoomV3, and MegaBoomV3. Two dual-hart SoCs (DualRocket, DualSmallBoom) add the shared last-level cache for cross-hart coherence channels. With the ISA and toolchain fixed, adjacent points differ minimally: Rocket and VexiiRiscv isolate in-order pipeline differences; VexiiRiscv-to-CVA6 varies the front-end and adds a scoreboard for out-of-order writeback; and the three BOOM widths vary only fetch/issue width, reorder-buffer (ROB) depth, and predictor and load-store-unit (LSU) sizing while sharing a microarchitecture and generator. So a channel’s appearance or disappearance can be attributed to a specific structure rather than an incidental implementation difference, supporting both the attack catalog and the cross-core attribution of Section 15.
  • Contributions.
  • Six novel RISC-V-specific channels (Tier A, Section 6). PMP does not gate speculative data forwarding on OoO cores, and its enforcement path carries an operand-dependent timing channel (PMPectre family). WARL makes PMP configuration a cross-implementation fingerprint; the page-table walker (PTW) fingerprints the fault cause on PMP-denied accesses; LR/SC reservations expose lifetime and granularity channels; and cross-core predictor-flush behavior exposes a consistency channel: all from RISC-V specification features, none ported from x86/ARM.
  • Seven cross-privilege and coherence channels, first instantiated on RISC-V (Tier B, Section 7). A TileLink Modified/Exclusive/Shared/Invalid (MESI) covert channel with Advanced Encryption Standard (AES) key recovery; machine-to-supervisor (M→S) residue in the branch-direction predictor, branch-target buffer, return-address stack, and load-store memory-dependence predictor (the Spectre branch-history-injection, branch-target-injection, return-stack-buffer, and speculative-store-bypass family across the RISC-V privilege boundary); a trap-latency fingerprint; and a page-walk-cache channel.
  • Ten known-class channels, given first systematic multi-core RISC-V characterization and silicon confirmation (Tier C, Section 8), including CVA6 and several BOOM integer dividers being non-constant-time; the four distinct divider designs in the corpus, three realized on silicon (per-bit, radix-16 staircase, and serial), leak the same secret at different granularities.
  • Silicon validation (Section 9). Eighty-four live unit-level channel measurements on the Zedboard; an eleven-experiment side-channel battery on a whole RocketTile executing bare-metal code; a whole-core-versus-unit cross-validation; and a twenty-three-build synthesis and baseline-power characterization.
  • Eight mitigations with a complete cost model (Section 11). Each is evaluated for channel closure (TVLA), cross-core portability including the cores on which a naive patch fails or amplifies leakage and why, resistance to an adaptive attacker, amortized software overhead on a standard workload suite, and measured FPGA area and dynamic-power cost. Six of the eight cost at most 0.8% look-up-table (LUT) area, and all eight change dynamic power by under 2 mW; constant-time divide (+1.0%) and the translation walk-flush (+16.4%) are the two larger-area cases.
  • Methodological contributions: a formal threat-model taxonomy (Section 4), a statistical-validity treatment of the TVLA methodology with confidence-interval-bounded non-leakage (Section 5), a threats-to-validity analysis (Section 16), and a design-recommendation checklist for RISC-V implementers.
Figure 1 situates the contributions on a RISC-V SoC threat surface. Throughout, every empirical claim carries its sample count and, for proportions, a Wilson 95% confidence interval; a channel is declared non-leaking only when its interval excludes the leakage threshold.
Figure 1. Contribution and threat-surface map. Attack tiers: [Tier A] novel RISC-V-specific, [Tier B] known primitive first on RISC-V/cross-privilege, [Tier C] known class first systematically characterized here. Every surface is measured on the six-core corpus and, where a unit is isolable, on silicon (Section 9).
  • Organization.
Section 2 gives the corpus and exploited RISC-V mechanisms; Section 3 positions the work against prior studies; Section 4 outlines the threat model; and Section 5 presents the simulation-to-silicon methodology and statistics. Section 6, Section 7 and Section 8 present the three attack tiers; Section 9 the silicon validation; and Section 10 the measurement infrastructure. Section 11, Section 12 and Section 13 give mitigations, performance, and noise robustness; Section 15, Section 16, Section 17, Section 18, Section 19 and Section 20 discuss cross-core attribution, threats to validity, and conclusions, followed by the full leakage matrix and a code-listing appendix.

2. Background

2.1. The Six-Core Corpus and Two Dual-Hart SoCs

Table 1 summarizes the corpus: coverage plus a controlled out-of-order width sweep. MediumBoomV3, LargeBoomV3, and MegaBoomV3 share the BOOM [5] microarchitecture, differing principally in fetch/issue width, reorder-buffer (ROB) depth, and predictor and load-store-unit (LSU) sizing. Rocket [3] anchors the simple in-order end; CVA6 [4] is single-issue in-order (scoreboard for out-of-order writeback) with a fixed-latency floating-point unit (FPU); VexiiRiscv is plugin-composed. All six are generated, patched, simulated, and (where applicable) synthesized through one Chipyard [6] flow, so cross-core differences are attributable to microarchitecture, not tooling (Figure 2). The dual-hart DualRocket and DualSmallBoom instantiate a shared last-level cache (LLC) over the TileLink fabric, the substrate for the cross-hart coherence channel of Section 7.1.
Table 1. The six-core corpus and two dual-hart SoCs. Width is fetch/issue; caches are L1I/L1D. All cores are RV64GC generated through Chipyard. Legend: the tier and verdict colours used across the paper’s tables and figures are defined at first use and applied consistently throughout; “–” marks a field that does not apply.
Figure 2. The corpus as a controlled width sweep. Each card gives a core’s class, issue width (bar length), speculative depth (ROB/IQ entries), and branch predictor. The in-order anchors (Rocket, VexiiRiscv, and the scoreboard-based CVA6) sit to the left of the three-point out-of-order BOOM sweep; holding the ISA and toolchain fixed while widening isolates the microarchitectural cause of each channel’s presence or absence (Section 15). * VexiiRiscv exposes only lightweight speculation; ‡ CVA6 issues in order with a scoreboard and no speculative transient window.

2.2. Physical Memory Protection and the WARL Convention

PMP, specified in the privileged architecture [7], uses machine-mode (M-mode) CSRs (pmpcfg/pmpaddr) to define address ranges and read/write/execute permissions enforced on every access from lower privilege, and, when locked, on M-mode itself. Ranges use top-of-range (TOR), naturally aligned-four-byte (NA4), or naturally aligned-power-of-two (NAPOT) addressing. Configuration fields are write-any-read-legal (WARL): software may write any value, and the hardware reads back a legal, implementation-defined normalization. Figure 3 (figure pass) shows the check datapath. Three properties make PMP an unusually rich channel source relative to an x86 page-table permission bit and motivate Section 6. First, the check sits on the critical access path of every lower-privilege memory operation, so any latency it adds is directly timeable by the constrained code (operand-dependent timing). Second, WARL legalization is implementation-defined: the specification fixes which fields exist but not how out-of-range writes are normalized, so the read-back encodes granularity G, NA4 support, physical-address width, and entry count: a compact fingerprint requiring no timing (NV2). Third, the lock bit binds M-mode itself, so a locked region’s enforcement decision is observable even to the most privileged software, as the whole-core silicon experiment exercises when a fetch into a locked deny region raises mcause=1. Composed with the page-table walker, PMP additionally fingerprints the fault cause (NV3).
Figure 3. PMP-check datapath. The permission check sits on the access path (NV4 enforcement-timing channel), and the WARL read-back of the configuration registers fingerprints the implementation (NV2).

2.3. TileLink Coherence

Chipyard SoCs interconnect over TileLink [8], an open coherence protocol with five channels (A–E) implementing a MESI-family protocol. The AcquireBlock → GrantData → GrantAck sequence installs a cache line; Release and ProbeBlock handle writeback and invalidation. Because the protocol and its timing are fully specified and observable, a receiver can infer a sender’s coherence actions from access latency, yielding the covert channel of Section 7.1. The leak lives in the coherence-state transition, not in cache capacity: a line one hart holds in Modified or Exclusive must be demoted, via a Probe and a writeback, before another hart can read it, a timed, deterministic event on the shared fabric. The channel thus survives private-cache coloring (which changes set mapping but not whether a cross-hart access provokes a transaction); closing it requires partitioning the shared level. Figure 4 (figure pass) gives the channel finite-state machine (FSM).
Figure 4. TileLink MESI coherence FSM (I/S/M states). The spy hart infers a victim’s transitions from the latency of the Acquire/Grant/Probe/Release messages: a locally installed line resolves in the fast hit path; a coherence action costs the transaction latency (N2).

4. Threat-Model and Attacker Taxonomy

We assume a standard microarchitectural attacker who shares hardware with a victim and can execute and time code but cannot architecturally read victim memory. RISC-V’s M/S/U privilege structure makes the privilege boundary crossed by the leak the primary threat-model axis (Figure 6). Table 6 classifies each channel by attacker/victim privilege, shared microarchitectural resource, and deployment scenario; three scenarios recur.
Figure 6. Threat-model taxonomy by the privilege boundary the leak crosses: machine-to-supervisor (S1), cross-hart co-tenancy (S2), same-privilege value oracle (S3), and implementation fingerprinting.
Table 6. Threat-model classification. Priv. columns give attacker/victim privilege; resource is the shared microarchitectural structure; scenario references S1–S3.
  • S1, M-mode firmware to S-mode operating system.
M-mode firmware (e.g., OpenSBI) is a trusted base beneath the supervisor. Predictor and the translation state it trains that survives an mret into S-mode (N3/N7/N6/N9) lets a compromised supervisor infer firmware control flow, a boundary absent where no equivalent firmware layer feeds the same predictor structures.
  • S2, cross-hart co-tenancy over a shared LLC.
Two harts on a multicore RISC-V SoC share the TileLink LLC. A spy hart infers a victim hart’s memory accesses through coherence timing (N2), the classic cross-core threat model on open fabric.
  • S3, sandbox/lower-privilege value oracle.
A user-mode sandbox that invokes a shared functional unit (integer or floating-point divide, K1/K2) or triggers PMP-enforced accesses (NV4) gains an operand-dependent timing oracle for value recovery without any architectural read.

5. Experimental Methodology

5.1. Simulation Infrastructure and RTL-Patch Workflow

All six cores are generated through Chipyard [6] and simulated with Verilator for cycle-exact, deterministic traces. A bare-metal harness reads the cycle counter (rdcycle/mcycle) around a measurement window; repeated runs of a fixed binary are bitwise identical, so intra-condition variance is exactly zero. Two constraints shaped the harness: the 512 KB simulated dynamic random-access memory (DRAM) bounds eviction buffers and respects the linker stack ceiling, and buffer-heavy harnesses need a warm-up interval before first output, sizing the measurement windows accordingly.
Deterministic simulation is the primary microscope. On silicon, environmental noise (interrupts, DVFS transitions, neighbouring-core contention) forces large sample counts and careful statistics to isolate an operand-dependent signal, so silicon results often report a channel’s existence without its mechanism. With within-condition variance exactly zero, a single pair of runs establishes whether a mechanism leaks and by how much, and the width sweep attributes the leak to a structure by toggling one microarchitectural variable at a time; the FPGA then confirms the isolated mechanism survives real variance: simulation serving mechanism and attribution, silicon external validity.
Hardware mitigations are minimal in-place RTL edits to the Chipyard-generated Verilog, re-elaborated and re-simulated under identical stimulus, so channel-closure and overhead are measured against the unmitigated baseline. Each patch is kept small (a mask on replacement-way selection, a flush pulse on a privilege transition, a pad counter on the trap path) so its area/power delta is attributable to the mitigation, not incidental re-synthesis. Before its security effect is assessed, each patch is checked for functional equivalence on non-adversarial workloads: identical architectural results and committed-instruction counts, a changed count being a rejected defense bug. Because defense and attack are evaluated on the same artifact, closure and cost claims refer to one piece of hardware, not a separate model: the open-corpus advantage.
  • Build and measurement pipeline, step by step.
A single attack×core cell is measured in six stages (Figure 7). (1) Elaborate: a Chipyard configuration selects the core and the Flexible Intermediate Representation for RTL (FIRRTL) emits synthesizable Verilog. (2) Compile: Verilator builds a cycle-accurate simulator binary per core. (3) Build the harness: the attack, proof-of-concept, or mitigation driver is cross-compiled to a bare-metal RV64 image linked for the simulated address map (Listing 1). (4) Run: the simulator executes the image, timing the window with the cycle counter (Listing 2) and streaming class-labeled samples. (5) Assess: the stream is reduced to a TVLA t-statistic and, for a proof of concept, a recovery rate with a Wilson interval (Listings 3 and 4). (6) Sweep: steps 3–5 repeat under injected jitter for the masking-point analysis. The FPGA path (Section 5.2) replaces stages 2–4 with Vivado synthesis and an on-board run.
Listing 1. Bare-metal build wrapper: compile an attack driver to an RV64 image and run it on a core’s Verilator simulator. The linker script places code and the eviction region inside the 512 KB simulated DRAM.
Chips 05 00029 i001
Listing 2. Cycle-exact timing window. In the deterministic simulator every reading is exact and repeatable; fence keeps the measured access inside the window.
Chips 05 00029 i002
Listing 3. Welch TVLA t-statistic over two input classes; | t | > 4.5 declares leakage.
Chips 05 00029 i003
Listing 4. Wilson 95% interval for a proof-of-concept recovery proportion (reported for every PoC).
Chips 05 00029 i004
Figure 7. Simulation-to-silicon toolflow. A single Chipyard flow generates RTL for all six cores; mitigations are applied as in-place RTL patches; Verilator gives deterministic TVLA/PoC measurement and Vivado/Zedboard gives silicon confirmation via the program-counter-encoding readout, which the two paths cross-check.

5.2. Silicon Measurement on the Zedboard

To answer the external-validity objection, each attack unit and, separately, a whole core are carried to a Xilinx Zedboard (xc7z020clg484) FPGA. Units are wrapped with a Xilinx virtual-input/output (VIO) core and observed over the FT232H JTAG link, probes addressed by net name at unsigned radix. For whole-core measurement, the core runs bare-metal code from a TileLink program memory and the result is read through a program-counter encoding channel (Listing 5, Figure 8): the program packs an observable into a jump target ( base + value · k ) and the VIO reads the last committed address, independent of the cache writeback path that otherwise complicates whole-core observation.
Listing 5. Program-counter-encoding silicon readout: the bare-metal program packs the attack observable into a jump target so that a virtual-input/output probe reading the last committed address recovers the value, independent of the cache writeback path.
Chips 05 00029 i005
Figure 8. Program-counter-encoding whole-core readout. The executing core packs two measured observables into a jump target; a read-only TileLink-C ROM serves j self at the target so the committed address latches; the VIO reads last_addr over JTAG and the host decodes both observables. The channel is independent of the D-cache writeback path (which yielded zero C-channel writebacks) and was 100% reliable across the eleven-experiment battery.
Silicon logs are cross-checked against the simulation.

5.3. Statistical Methodology

  • Leakage detection (TVLA).
We use non-specific Test Vector Leakage Assessment [19]: for two input classes, Welch’s t-statistic t = ( x ¯ A − x ¯ B ) / s A 2 / n A + s B 2 / n B is computed on the timing distribution, and | t | > 4.5 declares leakage. This community-standard threshold corresponds to two-tailed significance below 10 − 5 at the sample sizes used, and in the deterministic simulator, a crossing reflects a true mean separation rather than noise. Across many attack×core cells, we treat | t | as a screening statistic and report the full matrix, not a single comparison.
  • Non-leakage.
A behavior is declared non-leaking (⌀) only when | t | stays below threshold across the injected-jitter sweep of Section 13 and the paired proof-of-concept recovery falls within the Wilson interval of chance, distinguishing “no evidence of leakage” from “evidence of no exploitable leakage”; we report which applies.
  • Multiple comparisons.
With on the order of a thousand attack×core×dimension cells, testing many inflates the chance of a spurious threshold crossing; we control for this three ways rather than one blanket correction. First, the 4.5 threshold already gives a per-test two-tailed p < 10 − 5 , so even across ∼ 10 3 cells, expected false positives stay well below one. Second, every positive cell must agree with an independent proof of concept whose recovery is bounded by a Wilson interval. Third, measurement-exact within-class variance removes the sampling fluctuation that usually drives multiple-comparison false positives. A channel is reported leaking only when screening statistic, confidence-bounded recovery, and (where measured) silicon confirmation agree.
  • Exploitation success.
Every proof of concept reports bytes/bits recovered out of a stated total with a Wilson 95% confidence interval [24] and its sample count n. Recovery is compared against the chance rate implied by the secret space, so a modest rate is reported as a multiple of chance. Where a proof of concept votes over repeated trials (e.g., D-cache recovery under contention), we report the voted rate and its interval, not a best-of-n figure, reflecting a real repeated-trial attacker rather than a cherry-picked run.

6. Novel RISC-V-Specific Attacks (Tier A)

Six channels are rooted in RISC-V-specific mechanisms, consolidated in Table 7. These channels fingerprint the implementation: because RISC-V leaves PMP, LR/SC, and predictor behavior is implementation-defined, their observable behavior differs sharply across the corpus and itself becomes a side channel.
Table 7. Novel RISC-V-specific channels across the corpus. NV4 reports the warm/cold enforcement-timing gap Δ (cycles); the remainder report the per-core distinguishing observable. Legend: ⌀ marks a channel that does not leak; bold marks the outlier or leak-observable value referred to in the running text.

6.1. Discovery and Design Rationale

The six Tier-A channels follow from a single hypothesis: RISC-V specification deliberately leaves behavior to the implementation in a candidate side channel. Where a closed ISA fixes these choices in hidden microcode, RISC-V writes them down as degrees of freedom: “write-any-read-legal,” “implementation-defined reservation set,” “optional extension,” and “platform-specific PMP granularity.” We enumerated the features with no x86/ARM analog (Physical Memory Protection, the WARL CSR convention, the modular extension and trap model, and the LR/SC atomic reservation) and asked of each: does its configuration read back differently across implementations (a fingerprint), and does its enforcement or bookkeeping sit on a path an unprivileged instruction can time (an oracle)? Every Tier-A channel is an answer.
  • From hypothesis to the six channels.
PMP is the richest seam: simultaneously a configuration interface and an on-critical-path enforcement check. Its WARL fields give NV2, a configuration fingerprint; its enforcement check gives NV4, the PMPectre timing oracle. Composing PMP with the page-table walker (where in a walk the denial is detected) gives NV3, a fault-cause fingerprint. LR/SC, whose reservation lifetime and granularity the specification leaves open, gives NV5 and NV6. Aggregating cross-privilege predictor behavior into a comparative signature (which structures each core fails to flush on mret) gives NV1. The six are consequences of specification flexibility, not bugs: no core violates the specification, yet each is distinguishable and, in five of six cases, exploitable. The open-ISA security question is thus not “did the implementer err?” but “what did the specification leave observable?”
  • Why this had not been done before.
Two things made this enumeration possible here and not on a commercial part. Open RTL let us read the PMP checker, walker, and reservation logic to confirm a suspected timing path rather than infer it from black-box measurements. The controlled corpus supplies the contrast: a fingerprint like NV2 or NV6 is invisible on a single part and becomes a result only when six conformant cores read back six different answers.

6.2. NV4 PMP Enforcement-Timing and the PMPectre Family

  • Mechanism.
On out-of-order cores, a PMP-denied load forwards data speculatively before the enforcement result retires; independently, the PMP check on the access path shows an operand-dependent latency between permitted (warm) and denied (cold) access. Both yield a timing oracle for the PMP allow/deny decision without an architectural read (Listing 6).
Listing 6. PMPectre enforcement-timing gadget: the warm/cold latency of a PMP-guarded access encodes the allow/deny decision; the classifier reads it without triggering an architectural fault (fault count zero across all trials).
Chips 05 00029 i006
  • Measurement.
The warm/cold enforcement gap appears on every out-of-order and in-order speculative core and scales with pipeline depth: Δ = 27 cy on Rocket, 24 on MediumBoom, a maximal 126 on LargeBoom, 55 on MegaBoom, and 7 on the in-order VexiiRiscv, with the fault count zero across all trials. CVA6 is a confirmed non-leaking case ( Δ = − 4 cy, within noise): its fixed-latency access path collapses the gap (Figure 9).
Figure 9. PMPectre speculative-forward mechanism (NV4). A PMP-denied load forwards speculatively before the check retires; the transient secret-dependent access leaves a cache trace the attacker probes, while the architectural fault is squashed; no fault is raised in any trial.
  • Proof of concept.
A warm-versus-cold classifier recovers the PMP allow/deny bit on all five leaking cores (Figure 10). On silicon, the whole-core RocketTile confirms the enforcement decision end-to-end: a fetch into an execute-denied locked PMP region raises an instruction-access fault (mcause=1), enforced even in M-mode, whereas the unlocked region bypasses (Section 9).
Figure 10. PMP enforcement-timing gap (NV4) per core. The warm/cold Δ scales with pipeline depth (maximal at 126 cy on LargeBoom) and collapses to − 4 cy (within noise) on CVA6, whose fixed-latency access path is a confirmed non-leaking case. The architectural fault count is zero on every core.
  • On the strength of the channel.
Framing this as a transient-data recovery attack understates it: that framing reports a modest 25–36% byte rate, barely above chance. The exploitable observable is not a noisy transient byte but the enforcement-timing decision: a warm/cold gap up to 126 cy on LargeBoom that classifies the PMP allow/deny bit cleanly, so the attacker triggers no fault and the oracle is silent to fault-based monitors. It is a reliable single-bit enforcement oracle, and it is this decision, not a forwarded data byte, that the whole-core silicon experiment confirms. The mitigation is therefore a constant-time PMP check, not a speculation barrier: equalizing the check latency closes the oracle regardless of the transient side path’s weakness.
  • Mitigation.
On silicon, this constant-time check costs + 4 LUT ( + 0.58 % ) and no dynamic power (Section 11).

6.3. NV2 PMP-WARL Cross-Implementation Fingerprint

Because PMP configuration fields are WARL, a single sweep that writes probe values and reads the legalized result exposes the implementation’s PMP granularity, address width, and entry count, identifying the core family. The corpus separates cleanly: Rocket and all three BOOM cores read back {granularity G = 0 (4 B), NA4 supported, 32-bit physical, 8 entries}; VexiiRiscv reads { G = 1 (8 B), no NA4, 32-bit, 16 entries}; and CVA6 reads { G = 1 (8 B), no NA4, 56-bit physical, 4 entries}. Being a deterministic-architectural read-back, it is noise-immune. Listing 7 gives the probe (a few CSR writes and reads, no timing) and Figure 11 gives the fingerprint.
Listing 7. PMP-WARL fingerprint probe (NV2): write all-ones to a configuration/address pair and read back the legalized value; the granularity G, NA4 support, and physical-address width the implementation retains identify the core family with no timing measurement.
Chips 05 00029 i007
Figure 11. PMP-WARL fingerprint (NV2). Writing a saturating probe and reading the legalized value back exposes each implementation’s PMP granularity, address width, and entry count; the read-back is distinct per core family and carries no timing distribution.

6.4. NV3 PTW×PMP Fault-Cause Fingerprint

When a page-table walk touches a PMP-denied physical page, the reported trap cause depends on where in the walk the denial is detected: at the fetch of the offending instruction, or at the load micro-operation the walker issues to read the page-table entry. Because RISC-V leaves the ordering of the PMP check relative to the walk stages implementation-defined, the reported mcause differs across the corpus: BOOM reports an instruction-access fault (cause 1), while Rocket, VexiiRiscv, and CVA6 report a load-access fault (cause 5). Architecturally visible and carrying no timing, it composes with the NV2 WARL fingerprint: reading back the granularity, then triggering a denied-walk fault, pins the implementation to one family in two deterministic steps. On the whole RocketTile, a denied walk raises the expected cause on silicon (Section 9), confirming the fingerprint is a property of the executing core, not a simulation artifact (Figure 12).
Figure 12. PTW×PMP fault-cause fingerprint (NV3). Where the walker detects the PMP denial determines the reported trap cause: BOOM reports an instruction-access fault (1), the others a load-access fault (5), fingerprinting the walker/PMP ordering.

6.5. NV5 and NV6 LR/SC Reservation Lifetime and Granularity

RISC-V atomics leave the reservation set by load-reserved (LR) and cleared by store-conditional (SC) implementation-defined in lifetime and granularity, both observable. NV5 (lifetime): a reservation self-clears after ∼64–96 cy on Rocket and VexiiRiscv, ∼64–128 on MediumBoom, ∼128–256 on LargeBoom/MegaBoom, and never on CVA6 (unbounded); timing an SC after a controlled delay recovers the watchdog window and identifies the core. NV6 (granularity): an intervening store to a different address clears the reservation on all cores except CVA6 (coarse: 200/200 SC-fail at every offset), whereas CVA6 clears only on a same-address store (fine: 0/200), singling it out unambiguously. The relevance is twofold. As deterministic fingerprints, both compose with NV2/NV3 to pin down a core in a handful of unprivileged operations. And the reservation is a shared state across contexts on a hart: one that outlives a context switch (the unbounded CVA6 case being extreme) lets one context observe whether another touched the reserved line, since the surviving reservation’s SC outcome depends on the intervening access. Hence, the mitigation is a reservation flush on privilege or context change, not merely a lifetime bound, which narrows the window but leaves the cross-context observability. The reservation semantics were realized on silicon via a reservation-station model with full set/clear behavior (Section 9); a reservation-flush mitigation costs + 2 LUT (Figure 13). Listing 8 gives the lifetime probe.
Listing 8. LR/SC reservation-lifetime probe (NV5): reserve a line, wait a controlled number of cycles, then attempt a store-conditional; the largest delay at which the SC still succeeds is the core’s reservation-watchdog window.
Chips 05 00029 i008
Figure 13. LR/SC reservation lifetime (NV5) and granularity (NV6). The reservation set by LR persists for the core’s watchdog window; a store to a different line clears it on coarse cores but not on CVA6 (fine), so a same-address versus different-address store distinguishes the granularity.

6.6. NV1 Cross-Core Predictor-Flush Inconsistency

Aggregating the M→S predictor-residue channels (Section 7) exposes a comparative channel: which predictor structures retain a cross-privilege state, and how strongly, differs by core and identifies the implementation. The branch-direction residue gap ranges over two orders of magnitude ( Δ = 91 cy on Rocket, ∼1,5xx on the BOOM sweep, 490 on VexiiRiscv, and 134 on CVA6) and Rocket uniquely leaks the return-address stack most strongly while barely leaking the BTB, an inversion the wider BOOM cores do not share. The novelty is the framing: any single M→S residue channel is a known Spectre-family primitive, but the pattern of which structures retain state (direction yes, target weakly, return-stack only on Rocket, memory-dependence only on VexiiRiscv) is a per-implementation signature, letting a defender verify a flush occurs and an attacker select the productive structure before spending effort. That no core presents the flat NV1 signature a full mret flush would produce is itself the finding, a diagnostic for incomplete privilege-transition hygiene developed into a per-core security profile in Section 15.

7. Cross-Privilege and Coherence Attacks (Tier B)

Table 8 summarizes the cross-privilege and coherence channels, whose distinguishing feature is selectivity: several appear on exactly one microarchitecture and are confirmed non-leaking elsewhere, which the corpus attributes to specific structures.
Table 8. Cross-privilege/coherence channels. PoC is bits or bytes recovered/total with the sample noted. Legend: ⌀ marks a channel that does not leak; bold marks the outlier or leak-observable value referred to in the running text.
  • The two boundaries RISC-V uniquely exposes.
Where Tier-A came from the specification’s degrees of freedom, Tier-B comes from a different observation: RISC-V exposes two boundaries that platforms in the prior side-channel literature either lack or hide, and a known primitive replayed across one of them becomes a new result. The first is machine mode to supervisor mode: RISC-V interposes an M-mode firmware layer (OpenSBI and equivalents) beneath the operating system, a trusted base sharing the very predictor structures (branch direction, branch target, return stack, memory-dependence) that the supervisor uses. This raised the question N3/N7/N6/N9 answer: does predictor state that M-mode firmware trains survive the mret into S-mode, where a curious or compromised supervisor can read it? Absent an exposed firmware layer, this boundary does not exist; on RISC-V, each predictor structure behaves differently across it, making the four M→S residue channels a family rather than a single attack. The second boundary is the open coherence fabric: prior last-level-cache covert channels were demonstrated on proprietary interconnects whose timing had to be reverse-engineered, whereas TileLink is fully specified, so its Acquire/Grant/Probe/Release timing is predictable by construction, making the coherence-state transition itself a reliable channel, N2. The trap-latency fingerprint (N4) follows from a third RISC-V fact, the modular ISA: because extensions are optional, whether an opcode traps (and how deep the trap dispatch is) depends on the implementation, so timing an illegal-instruction trap fingerprints the implemented extension set. In each case, the primitive is known and the boundary or fabric RISC-V exposes it across is new; the controlled corpus (Table 8) tells us exactly which structure carries each channel.

7.1. N2 TileLink MESI Covert Channel

On a dual-hart SoC, a spy hart infers a victim’s line accesses from TileLink coherence latency: a locally cached line resolves in 23 cy versus 30 cy when the victim’s access forces a coherence transaction (DualRocket; Figure 14 and Figure 15). The spy times demotion of a line the victim holds in Modified or Exclusive back to Shared or Invalid, forcing a Probe and GrantData round-trip on the TileLink A–E channels: a coherence-state channel, not a capacity one (Listing A7). L1-only coloring therefore cannot close it and leaves a steady-state 2 cy gap; only partitioning the shared level (dual L1+L2) restores isolation (Section 11). An Evict+Time proof of concept recovers all five targeted AES T-table set indices exactly, Flush+Reload recovers three of four bytes, and the D-cache way-eviction is confirmed on silicon (Section 9).
Figure 14. TileLink MESI coherence transitions underlying N2. A line the victim holds in Modified/Exclusive is demoted to Shared/Invalid when the spy (other hart) issues an Acquire, forcing a Probe and writeback; the spy times the resulting GrantData latency. The channel is the coherence-state transition, not a cache-capacity eviction, which is why L1-only coloring leaves a residual 2 cy gap, and dual L1+L2 partitioning is required to close it.
Figure 15. TileLink covert-channel timing (N2). A locally cached line resolves in 23 cy; when the victim forces a coherence transaction, the spy observes the Acquire/GrantData latency (30 cy). The 7 cy gap is the channel.

7.2. N3/N7/N6/N9 M→S Predictor Residue

M-mode predictor state surviving mret lets S-mode infer firmware control flow (scenario S1); each structure behaves differently. N3 (direction). There are leaks on every core, the residue gap ranging from 91 cy (Rocket) to ∼1533 (LargeBoom); the in-order VexiiRiscv recovers best at 60/64 bits (94%). N7 (branch target). There are leaks on all cores ( Δ = 47 –167 cy), best on Rocket and VexiiRiscv (41/64). N6 (return-address stack). There are leaks only on Rocket ( Δ = 133 cy), with confirmed non-leaking on LargeBoom, VexiiRiscv, and CVA6: wider cores overwrite RAS residue before S-mode observes it. N9 (memory-dependence). There are leaks only on VexiiRiscv ( Δ = 100 cy), null elsewhere. A gshare-aware branch-history flush and an RAS-stuffing mitigation close these channels (Section 11, Figure 16).
Figure 16. Machine-to-supervisor predictor-residue channel (N3/N7/N6/N9, scenario S1). Predictor state trained by M-mode firmware survives mret into S-mode, where it is probed; a predictor flush on the privilege change erases it at negligible silicon cost.
Table 9 gives the per-structure, per-core residue; the single-structure selectivity of N6 and N9 is a direct microarchitectural attribution (Section 15); naming the structures a privilege-transition flush must cover on those cores.
Table 9. M→S predictor-residue gap Δ (cycles) and best recovery per structure. ⌀: confirmed non-leaking; the Boom column reports the range over the three widths. The direction and target predictors leak corpus-wide; the return-stack and memory-dependence residues are essentially single-core. §: MediumBoom only (weak, masked at n 256 ); LargeBoom/MegaBoom are null. Legend: ⌀ marks a channel that does not leak; bold marks the outlier or leak-observable value referred to in the running text.

7.3. N5 Page-Walk-Cache Channel

Sv39 walks three levels of page table, caching intermediate (non-leaf) entries; a translation sharing the upper virtual-page-number bits with a prior walk reuses those intermediates and skips the corresponding memory accesses, resolving between the cold-walk and TLB-hit extremes: a finer oracle than K4, leaking how much of the walk two addresses share (upper address bits) rather than a single presence bit. All six cores leak; near/far latencies span 35/52 cy (Rocket) to 59/92 (VexiiRiscv), and a byte-recovery oracle succeeds 64/64 on every core. It composes with K4 (probe for presence, then walk the walk-cache for the shared prefix); both close under the same sfence.vma walk-flush on a context switch (Listing A32), the one comparatively expensive mitigation ( + 255 LUT) because it re-enables a wide valid-clear datapath the baseline had optimized away. Silicon confirms the cold-walk-versus-hit contrast on the whole RocketTile (Section 9, Figure 17).
Figure 17. Sv39 page-table walk (K4/N5). A translation-lookaside-buffer or walk-cache hit shortcuts the three-level walk (4 cy) versus a cold full walk (33 cy on the whole core); a translation sharing upper virtual-page-number bits resolves at an intermediate latency, exposing the walk cache (N5).

7.4. N4 Trap-Latency ISA Fingerprint

Because RISC-V extensions (M, A, F, D, C, and vendor sets) are optional, opcode legality depends on the implementation: an opcode one core executes another trap. The trap path (pipeline flush, vector to mtvec, handler entry, mret) has a characteristic latency, so timing a candidate opcode reveals both whether it is implemented and how deep the dispatch is; sweeping opcodes across the extension boundary fingerprints the implemented ISA subset. It needs no privileged access: unprivileged code times its own illegal-instruction trap through a handler it installs, against a baseline legal instruction (Listing 9). TVLA | t | ranges from 13 (Rocket) to 54 (LargeBoom); on silicon, a legal instruction retires in 2 cy versus a 28 cy illegal-instruction trap dispatch on the whole RocketTile (Section 9). A constant-trap-dispatch mitigation flattens the gap (Figure 18).
Listing 9. Trap-latency fingerprint probe (N4): time an unimplemented-instruction trap against a legal-instruction baseline; the difference fingerprints the implemented ISA subset and trap-dispatch depth.
Chips 05 00029 i009
Figure 18. Trap-dispatch pipeline (N4). A legal instruction retires in 2 cy; an illegal opcode incurs a pipeline flush, vector to mtvec, handler, and mret, for 28 cy on the whole core. The 26 cy gap fingerprints the implemented ISA subset; a fixed-latency trap-vector pipeline removes it.

8. First Systematic RISC-V Characterization of Known-Class Attacks (Tier C)

Table 10 consolidates the ten known-class channels. Beyond confirming each on RISC-V, the corpus yields two findings: a non-constant-time integer divider on CVA6 and several BOOM cores (K2), and a clean in-order immunity to the speculative return-stack attack (K3).
Table 10. Known-class channels. Entries give the leakage ratio or gap and the best proof-of-concept recovery with sample. Legend: ⌀ marks a channel that does not leak; “m.l.” denotes a measurement-limited result; bold marks the outlier or leak-observable value referred to in the running text.
  • K1 floating-point divider fast-path.
The floating-point divide/square-root unit takes a fast path on special operands (zero, one, powers of two, subnormals) and a slow path otherwise, so its latency weakly leaks operand class. The effect is small ( Δ ≤ 16 cy) and the FP divider is near-constant-time on all cores: a negative result establishing the FPU as low-risk, consistent with the energy-proportional FPnew design [78] several cores adopt. On silicon, the unit does show a measurable fast-path skip (normal 20–54 cy versus special-operand 0–3 cy), present at the unit level even where the channel is weak end-to-end.
  • K2 integer-divider value oracle.
The integer divider is a strong operand-dependent value oracle: Rocket recovers 61/64 divisor-magnitude bits exactly (64/64 within one), and CVA6 and the BOOM cores show clean magnitude tiers (e.g., 70/54/38 cy on CVA6). The mechanism is early termination when the high dividend bits are zero, so every divider leaks; only the quantization differs, realized on silicon as four distinct divider microarchitectures (Section 9). A constant-time-divide requirement must therefore be stated at the ISA-implementation level, not assumed of a single core.
  • K3 Spectre-RSB.
A real return-stack-buffer-overflow gadget overflows the return-address stack so a subsequent return mispredicts to an attacker-chosen target, whose transient execution leaves a cache trace. It leaks a secret only on the out-of-order BOOM cores (up to 51/64 bits, 80% on LargeBoom), confirmed non-leaking on the in-order Rocket, VexiiRiscv, and CVA6. The clean in-order null (recovery at chance, not merely reduced) shows the channel requires out-of-order speculation; it pairs with the inverse N6 pattern (Section 15.4), width trading one exposure class for another (Figure 19).
Figure 19. Spectre-RSB overflow mechanism (K3). Overflowing the return-address stack makes a later return mispredict to an attacker-chosen target; its transient execution touches a secret-dependent line the attacker then probes. In-order cores never open the transient window, so the channel is a clean null on Rocket, VexiiRiscv, and CVA6.
  • K4 TLB page-presence oracle.
A load to a mapped page hits the translation-lookaside buffer while an unmapped page forces a full Sv39 walk; the latency gap is a page-presence oracle. It leaks on all six cores, strongest on CVA6 (8.3×), whose fixed-latency access path makes the hit especially cheap relative to the walk, and recovers 64/64 target bits (Listing A17).
  • K5 D-cache Flush+Reload.
The canonical hit/miss channel reproduces across the corpus at up to 14× on silicon (resident 4 cy versus evicted 57 cy on the whole RocketTile). The single-core variant is a textbook Flush+Reload; the cross-hart variant carries the N2 covert channel. Depending only on set-associative caching, it reproduces on RISC-V with a larger ratio than typical x86 reports.
  • K6 unaligned-access address-bit leak.
A load straddling a cache-line boundary at a chosen address bit splits into two accesses and takes measurably longer, revealing that bit (Listing A19). The split-access penalty scales cleanly with the secret address bit, so K6 recovers 64/64 on every core and is among the most noise-tolerant channels on the wide cores ( | t | up to 4386 at n 0 and still above threshold at n 256 on the out-of-order and VexiiRiscv cores, up to 12.8× on VexiiRiscv, though masked by n 256 on the in-order Rocket).
  • K7 branch-predictor pattern training.
Training a branch with a secret-dependent pattern and timing a probe branch recovers the pattern (Listing A20); K7 recovers 64/64 on Rocket, MediumBoom, and VexiiRiscv, with the trained per-program-counter state confirmed isolated and persistent on silicon. Recovery is best where speculative training does not dilute the state (Section 15.4).
  • K8 store-to-load-forwarding stall.
A load that 4 KB-aliases an in-flight store incurs a disambiguation stall (Listing A21); K8 recovers 63–64/64 on most cores, is confirmed on the whole core (forwarded 4 cy versus cold-store path 171 cy), and survives to n 256 .
  • K9 ILP fingerprint.
Contrasting dependent-versus-independent instruction throughput fingerprints the core: a dependent chain runs at one-per-latency while independent work overlaps, so the ratio reflects how much parallelism the pipeline extracts. The ratio is near two on Rocket and the BOOM cores, highest on VexiiRiscv, and it inverts sign on CVA6, whose fixed-latency units make the nominally “independent” workload the slower one; K9 separates the corpus cleanly (Figure 20).
Figure 20. ILP fingerprint (K9): the independent-to-dependent throughput ratio distinguishes the cores: near two on Rocket and the BOOM cores, highest (2.66) on VexiiRiscv, and below one on CVA6, whose fixed-latency units make the independent workload the slower one and invert the channel’s sign. The per-core value is a compact core-identity signature.
  • K10 replacement-policy channel.
Priming the ways of a set and issuing a conflicting access evicts a specific victim way on cores with a deterministic replacement policy; K10 is a cross-hart Evict+Time path (3/3 recovery) whose single-core occupancy variant is at chance, and is null on VexiiRiscv, whose policy exposes no primeable victim: cache organization rather than pipeline width (Section 15.4). The way-eviction is confirmed on silicon; Figure 21 sketches four known-class mechanisms.
Figure 21. Four known-class mechanisms. (a) Flush+Reload distinguishes a resident line (hit, 4 cy ) from an evicted one (miss, 57 cy , whole-core); (b) a load that straddles a cache-line boundary splits into two accesses; (c) branch-predictor two-bit counters train to a secret pattern; (d) the dependent-versus-independent throughput ratio fingerprints the core’s instruction-level parallelism. Legend: bold marks the outlier or leak-observable value referred to in the running text.
  • The D-cache/LSU channel family.
Four known-class channels (K5, K6, K8, K10) share the load-store unit and first-level data cache, exploiting four properties of the same structure: K5 the cache hit/miss latency, K6 the aligner split-access penalty, K8 the store-buffer forwarding path, and K10 the replacement policy. Table 11 lays them side by side with each one’s whole-RocketTile silicon contrast and mitigation. One unit sources four channels, so an implementer can close all four with two mechanisms: a way-partition (K5, K10) and a forwarding/aligner fence (K6, K8).
Table 11. The data-cache/load-store-unit channel family. Silicon contrast is the whole-core RocketTile measurement; all four share one structure.

8.1. Proof-of-Concept Catalog

Figure 22 collects the byte/bit-recovery proofs of concept with Wilson 95% confidence intervals and sample counts against each chance rate. The strong cases (TLB (K4), unaligned (K6), branch-pattern (K7), store-to-load forwarding (K8), the integer-divider value oracle (K2), and the cross-privilege direction predictor on VexiiRiscv (N3)) cluster near full recovery, well outside the chance band; the weaker cases (K1, single-shot cross-hart K5) sit at their measured rate with intervals overlapping or approaching chance, labeled as such.
Figure 22. Proof-of-concept recovery with Wilson 95% intervals ( n = 64 unless noted). K4/K6/K7 full recovery; K8 98%; K2 value oracle 95%; N3 on VexiiRiscv 94%; K3 out-of-order-only 80%; single-shot K5 (K5x) and near-constant K1 near chance and labeled as such.
Table 12 lists every recovery proof of concept with its sample count and Wilson 95% interval on its strongest core, each strong case separated from chance by its entire interval.
Table 12. Proof-of-concept recovery with Wilson 95% confidence intervals. Chance is the rate implied by the secret space; E+T: Evict+Time exact-set recovery.

9. Silicon Validation on the Zedboard FPGA

Every result above is corroborated on real hardware at three levels of silicon evidence: (i) eighty-four unit-level channel measurements, each an attack-specific causal contrast; (ii) an eleven-experiment side-channel battery on a whole RISC-V core; and (iii) a synthesis and dynamic-power characterization across twenty-three builds. This addresses the external-validity concern that a noise-free simulation may overstate a channel. The three levels (Figure 23) agree on one device: how a channel leaks, whether it survives inside a coherent speculating core, and what it costs to close it.
Figure 23. The three-level silicon-evidence hierarchy. Unit microscopy exposes the mechanism, the whole-core battery confirms survival and quantifies amplification, and the synthesis campaign fixes the cost; the three are measured on one device and cross-check one another.

9.1. FPGA Bring-Up

The flow had never produced a live measurement before this campaign. Table 13 lists the five root causes in the order they blocked us. The first was silent: the design targeted the wrong device package, xc7z020clg400, whose pin and clock mapping differs from the Zedboard’s clg484, so the design clock was dead and the virtual-input/output (VIO) debug core never enumerated: the flow reported success at every stage yet produced a bitstream that could not be talked to. Second and third, even with the correct part, the VIO returned nothing until the debug-probe file was regenerated fresh (a stale .ltx lists probe names that no longer match the synthesized nets) and the probes were addressed by net name rather than positional index (the index is not stable across builds). Fourth was a radix error: reading the committed address in the default signed radix decoded the encoded observable to a two’s-complement value. Fifth (Section 9.2), the memory-based read-out never delivered a value because the dirty-line eviction issued no coherence writeback. Only after all five were fixed did the first live reading appear. None is documented in the toolchain.
Table 13. FPGA bring-up: the five root causes that blocked a live measurement, and their fixes. Each was silent (the flow reported success) and reproducible.

9.2. The Program-Counter-Encoding Readout Channel

Extracting a computed value from a whole core on an FPGA is the central enabling problem. The obvious approach (have the core write its result to memory and read that memory over the debug link) depends on the dirty cache line being written back, but instrumentation showed that, in the minimal bare-metal harness, the D-cache produced zero TileLink C-channel writebacks: the result never left the core. We instead turned a side channel into an instrument. The program-counter-encoding readout (Listing 5, Figure 8) has the core pack its two observables into a jump target base + enc · 64 and jump there; a purpose-built read-only TileLink ROM serves an infinite self-loop (j self) at every address, so the committed program counter comes to rest exactly at the encoded value, which the VIO reads directly. The channel depends only on instruction fetch and PC commit (never on the cache, store buffer, or coherence), so it is immune to the writeback problem that defeated the memory path, and it was 100% reliable across all eleven whole-core experiments. Repurposed as a debug read-out, this control-flow side channel generalizes to any core whose fetch path installs instructions from a program memory.

9.3. Unit-Level Causal Microscopy

Each attack’s functional unit is synthesized standalone and driven through a VIO harness, so the leak mechanism is observed directly rather than inferred. Table 14 lists the seven unit classes and each one’s causal contrast on silicon, exposing the mechanism as a when-X-then-Y relationship: the divider’s latency tracks the dividend’s significant-bit count (Figure 24); the PMP grant/deny is a byte-granular boundary; the branch predictor’s per-program-counter entry is isolated and persistent.
Listing 10. Constant-time bit-serial divide: a fixed 64-iteration loop with data-independent control flow for non-zero divisors, replacing the early-terminating divider that leaks the dividend magnitude (K1/K2 mitigation).
Chips 05 00029 i010
Table 14. Unit-level silicon measurements (Zedboard xc7z020). Each row is a distinct synthesized unit; the contrast is the measured causal signature.
Figure 24. Integer-divider latency versus dividend magnitude on silicon (K2): three microarchitectures leak the same secret at three granularities: the Rocket per-bit divider (4→68 cy), the VexiiRiscv radix-16 staircase (17/33/65 cy), and the CVA6 serial divider (1→28 cy). A fixed-latency divider flattens all three.
The single K2 secret-dependent-divide channel is realized by four physically different dividers; Table 15 maps the same software attack onto four distinct hardware signatures. The attacker need not know which divider is present: every one terminates early when the high dividend bits are zero (Figure 25), so operand magnitude is recoverable on all four; only the shape of the latency-versus-magnitude curve differs (smooth per-bit ramp on Rocket, coarse radix-16 staircase on VexiiRiscv, mul-array-assisted ramp on BOOM, fine serial ramp on CVA6). K2 is thus the most portable functional-unit channel in the corpus, and one mitigation, forcing the worst-case iteration count, closes all four.
Table 15. Integer-divider microarchitecture across the corpus (K2). All four terminate early on zero high-order bits, so all four leak operand magnitude; the fixed-latency mitigation flattens each to its worst-case column.
Figure 25. Iterative-divider control FSM (K2). Early termination when the remaining dividend bits are zero makes the iteration count, and hence latency, depend on the operand magnitude; the constant-time mitigation forces a fixed 68-iteration path (Listing 10).
  • Page-table walker (K4/N5).
On silicon the Sv39 walker resolves a translation at one of three latencies the harness drives directly: a translation-lookaside-buffer hit in 3 cycles, a translation sharing an upper prefix with a recent walk served from the walk cache in 7 cycles, and a cold three-level walk in 19 cycles at the unit (33 whole-core). This three-way contrast is the mechanism of both the page-presence oracle (K4, hit versus cold) and the finer walk-cache channel (N5, warm versus cold); measuring all three on one unit shows they are not two channels but two readings of the same structure at different granularities (Figure 26).
Figure 26. Sv39 page-table walk on silicon (K4/N5). Three observable latencies from one structure: TLB hit (3 cy), walk-cache warm on a shared upper prefix (7 cy), and a cold three-level walk (19 cy unit, 33 cy whole-core). K4 reads hit-vs-cold; N5 reads warm-vs-cold.
  • Branch predictor (N3/N7/K7).
The bimodal (BIM) branch-predictor bank on silicon exhibits the three properties an attacker needs, each directly controllable through the VIO. The taken/not-taken state is trainable: driving a program counter’s entry toward taken and reading the prediction confirms the write took effect. It is per-program-counter isolated: training one entry does not perturb a neighbour, so an attacker targets a specific victim branch without collateral aliasing. And it is persistent: the trained state survives until explicitly overwritten, which is what makes the M→S residue channels (N3/N7) possible: the firmware’s training outlives the mret. Confirming isolation and persistence on hardware, not from RTL, makes the residue channels measured rather than assumed.
  • PMP checker (NV2/NV3/NV4).
The PMP checker is the richest single unit on silicon, carrying three channels. The grant/deny decision is byte-granular: sweeping a top-of-range boundary one byte at a time shows the exact address at which a permitted access becomes a fault, the substrate of the enforcement-timing oracle (NV4). The WARL read-back is implementation-defined: a saturating probe read-back for legalized granularity, NA4 support, and address width fingerprints the configuration (NV2). And the lock bit binds machine mode: a fetch into a locked deny region raises an instruction-access fault even from M-mode, which the whole-core battery confirms as mcause=1 (Figure 27).
Figure 27. PMP checker byte-granular top-of-range boundary on silicon. The grant→deny transition is exact to the byte (NV4 enforcement-timing), the configuration read-back is a WARL fingerprint (NV2), and a locked region binds M-mode (whole-core mcause=1).
  • Return-address stack and LR/SC.
The BoomRAS on silicon exposes the full push/pop lifecycle plus the two adversarial operations, overwrite and underflow, that the N6 residue and the K3 gadget rely on: pushing past the stack depth overwrites the oldest entry, and popping an empty stack underflows to a mispredicted target, both observable through the VIO. The LR/SC reservation, realized through the lrsc_resv model (Listing A41), shows the reservation set on a load-reserved and cleared by a store-conditional, a store to the reserved granule, or a watchdog timeout: the three clearing paths whose lifetime and granularity are the NV5/NV6 fingerprints. These structures leak behaviourally, not by latency: the sequence of set/clear/overwrite events leaks, confirmed on silicon rather than argued from RTL.

9.4. Whole-Core RocketTile Side-Channel Battery

Isolated units answer whether the mechanism exists; whether a channel survives inside a complete, coherent core is the separate question. We place the full RocketTile (RV64GC, FPU, Sv39, 32 KB caches; 29,830 LUT, 56% of the device; timing-closed at 25 MHz) on the Zedboard and make it leak eleven distinct channels while executing bare-metal code, read out through the program-counter-encoding channel of Section 5.2 (Table 16, Figure 28). To our knowledge, this is the first report of a broad microarchitectural side-channel suite measured on a whole open-source RISC-V core on an FPGA.
Table 16. Whole-core RocketTile silicon battery (Zedboard, PC-encoding readout). Each row is a channel measured on the executing core.
Figure 28. Whole-core RocketTile silicon battery: benign-versus-attack latency for the nine timing channels (log scale), read out of the executing core through the program-counter-encoding channel. Each exhibits a measurable separation on real hardware; the two fault-based channels (K6 misaligned and NV2/NV4 PMP execute-lock) raise architectural faults instead and are listed in Table 16.
  • The eleven experiments, one by one.
Each row of Table 16 is a distinct channel on the same executing RocketTile: (1) K2 divide 69 cy (64-bit) vs. 33 cy (∼30-bit); (2) N4 trap legal 2 cy vs. illegal-opcode 28 cy; (3) K9 I-cache resident 3 cy vs. refill 21 cy (7×); (4) N3/N7 branch predictable 167 cy vs. mispredict 184 cy; (5) NV2/NV4 PMP execute-locked deny fetch ⇒ mcause=1; (6) K5 D-cache resident 4 cy vs. evicted 57 cy (14×); (7) K8 store-to-load forwarded 4 cy vs. cold-store 171 cy; (8) K10 way-eviction survivor 4 cy vs. victim 16 cy; (9) N6 RAS correct return 11 cy vs. mispredict/underflow 30 cy; (10) K4/N5 walk TLB-hit 4 cy vs. cold Sv39 33 cy; (11) K6 misaligned aligned 2–4 cy vs misaligned ⇒ mcause=4. Nine are timing separations read through the PC-encoding channel, two (PMP, misaligned) architectural faults from mcause; a single bitstream yields all eleven, so the channels coexist as one attack surface.
  • Whole-core-versus-unit cross-validation.
The whole-core miss latencies are systematically larger than the isolated-unit ones because the whole-core miss traverses the full coherent hierarchy (D-cache → TileLink → last-level/DRAM refill), whereas a unit harness hits a local array (K5: 57 cy whole-core vs. 14 cy unit); the hit side agrees to ≈2–4 cy, so each channel is confirmed end-to-end with the signal amplified at whole-core scale and the unit measurement a conservative lower bound (Figure 29).
Figure 29. D-cache leak mechanisms confirmed on silicon. K8: a load whose address matches a buffered store is forwarded in 4 cy versus the cold-store fill path. K10: priming the four ways of a set and issuing a fifth conflicting access evicts a specific victim way (16 cy) while survivors stay resident (4 cy).
  • Silicon-versus-simulation cross-validation.
More informative than a channel merely appearing on silicon is that silicon and simulation agree on the mechanism while disagreeing on the magnitude in the predicted direction (Table 17). The hit/fast path agrees to within two cycles everywhere; the miss/slow path is systematically larger, by the mechanism the simulation predicts. This fast-path agreement is the control that makes the slow-path amplification meaningful: agreeing on the hit and diverging on the miss is the signature of the same channel observed at two scopes (Figure 30).
Table 17. Silicon cross-validation: fast/slow-path latency (cycles) at the isolated unit versus on the whole RocketTile. Fast paths agree to ≤2 cy; slow paths are amplified whole-core because the miss traverses the coherent hierarchy. F: architectural fault (mcause), not a timing contrast.
Figure 30. Whole-core amplification of the miss/slow path. The same channel’s slow path is 2–4× larger inside the coherent core than at the isolated unit, because the whole-core miss traverses the TileLink fabric and last-level refill; the fast path agrees to ≤2 cy. The unit measurement is a conservative lower bound on the whole-core threat.
  • Fault channels.
Two of the eleven whole-core experiments are not timing contrasts but architectural faults read directly from mcause. A fetch into an execute-locked PMP deny region raises an instruction-access fault (mcause=1) even in machine mode, and a misaligned access the core does not handle raises mcause=4. These are deterministic enforcement decisions, not distributions, so they confirm on hardware the property the deterministic Tier-A channels exploit: the PMP lock binds M-mode and the enforcement outcome is architecturally visible; the enforcement logic itself, not a side effect of it, behaves as the fingerprint attacks assume. It also settles that PMPectre’s enforcement decision is real: the decision the timing oracle (NV4) reads out non-architecturally is the same decision that, when the region is locked, raises mcause=1 architecturally.

9.5. Synthesis and Dynamic-Power Characterization

Table 18 gives representative area, timing, and power for the attack units and the two whole cores (post-route Vivado on xc7z020, 53,200 LUT/106,400 FF). The attack units are small (664–2243 LUT, ≤0.047 W dynamic); the whole RocketTile occupies 29,830 LUT (56%) at 0.080 W dynamic, and a whole VexiiRiscv fits at 31,974 LUT (60%) and 0.121 W. The in-order radix-16 divider is the fastest unit at 158 MHz. These figures ground the mitigation cost model (Section 11) and the energy discussion (Section 15).
Table 18. Representative synthesis + power (Vivado post-route, xc7z020). Units at 100 MHz target, whole cores at 25 MHz. Dyn. = dynamic power. Legend: bold marks the outlier or leak-observable value referred to in the running text.
  • Device utilization and timing closure.
Table 19 gives the full device footprint of the two whole cores on the xc7z020 (53,200 LUT, 106,400 FF, 140 BRAM, 220 DSP). Both fit comfortably (RocketTile at 56% of LUTs, VexiiRiscv at 60%), leaving room for the TileLink program memory, read-out ROM, and VIO debug core on the same device. The BRAM Figures (48 and 53 of 140) are dominated by the 32 KB instruction and data caches, the DSP usage by the multiplier and FPU. Both close timing at the 25 MHz target with positive worst-negative-slack (RocketTile at + 8.6 ns), and their maximum frequencies are 32 and 27 MHz, an order of magnitude slower than the isolated units (Figure 31). This does not limit measurement: the channels are cycle-counted, not wall-clock-timed, so a 25 MHz core measures the same cycle contrasts a 1 GHz ASIC would. The slowdown is a real microarchitectural fact: a whole in-order core’s critical path runs through the full fetch-to-writeback pipeline, whereas an isolated divider or predictor is a short combinational island, so the radix-16 divider closes at 158 MHz while the whole VexiiRiscv containing it closes at 27.
Table 19. Whole-core device utilization on the Zedboard xc7z020 (53,200 LUT/106,400 FF/140 BRAM/220 DSP). Both cores fit with headroom for the program memory, read-out ROM, and VIO. Legend: a leading “+” denotes a change relative to the unmitigated baseline.
Figure 31. Maximum frequency per build. Isolated attack units close at 66–158 MHz; the whole cores close at 27–32 MHz because their critical path runs through the full pipeline. Cycle-counted measurement is frequency-independent, so the slow whole-core clock does not affect the reported contrasts.
  • Power characterization.
Figure 32 plots measured post-route dynamic power per build. The isolated units draw 6–47 mW, dominated by the D-cache (47 mW) whose SRAM arrays switch on every access; the whole cores draw 80 mW (RocketTile) and 121 mW (VexiiRiscv). The whole-core figure is the budget for the energy discussion (Section 15) against which a mitigation’s power delta is measured: at 80–121 mW, the ≤ ± 2 mW deltas of every mitigation except the walk-flush are below a few percent, so closing these channels is near-free in energy as well as area. VexiiRiscv draws more than RocketTile despite a similar LUT count because its plugin-composed pipeline keeps more logic toggling per cycle; area and power are not interchangeable proxies.
Figure 32. Measured post-route dynamic power per build (mW). Units draw 6–47 mW; the whole cores draw 80–121 mW. The whole-core budget is what a mitigation’s ≤ ± 2 mW delta is weighed against, making every mitigation except the walk-flush near-free in power (Section 11).

9.6. Whole-Core Versus Surgical Measurement

The campaign’s two-level strategy is itself a finding: a whole-core measurement shows whether a channel survives inside a complete, coherent, speculating core running real code, a surgical unit measuring what the mechanism is and how it differs across implementations. The whole RocketTile (56% of look-up-tables, timing-closed at 25 MHz) carries the eleven-experiment battery of Table 16 on one executing core.
  • Why the whole core amplifies the signal.
Running channels on the whole core shows the attacker-observable separation is larger there, not smaller: the K5 D-cache miss grows from 14 cycles at the unit to 57 on the whole RocketTile (Table 14 versus Table 16), and the same amplification holds for the page walk (unit 19 vs. whole-core 33 cycles) and the I-cache refill. So for memory-hierarchy channels, the isolated-unit number is a conservative lower bound: a defender sizing a mitigation to the unit-level gap under-provisions. It does not hold universally: the floating-point fast-path (K1) is more visible at the isolated unit than end-to-end (Section 14.2), so the lower-bound reading applies to the memory-hierarchy channels an attacker most relies on.
  • Surgical coverage of the leaky attack×core combinations.
A whole BOOM core exceeds the xc7z020, so for the out-of-order cores, we extract the specific unit carrying each leaky channel and measure it standalone; comparing extracted units across cores attributes per-core differences to specific structures. Three cases arise. First, some units are byte-identical across cores: the BOOM MulDiv, PMP checker, and BoomRAS are the same generated Verilog on MediumBoom, LargeBoom, and MegaBoom, so one measurement covers all three and the leakage is a property of the shared design, not a particular width. Second, some units are genuinely distinct and leak at different granularities: the three integer dividers (Rocket per-bit, VexiiRiscv radix-16, CVA6 serial) show the same secret leaking at per-bit, sixteen-bit, and serial resolution (Figure 24). Third, some units resist standalone extraction because they are fused into a monolithic core description or require a memory-subsystem model; for those, the channel rests on its deterministic leak proof, its whole-core-Rocket analog where one exists, and the cores on which the unit does extract. Table 20 summarizes which attack×core combinations are covered at the whole-core level, the surgical-unit level, or by leak-proof-plus-analog.
Table 20. Silicon coverage of the leaky attack families. WC: whole-core RocketTile; U: surgical unit (with per-core md5 sharing noted); A: leak-proof plus a measured analog on another core.
  • Per-core silicon evidence.
Table 21 summarizes the evidence level per core. Rocket, measured at both whole-core and unit level, anchors the battery; the three BOOM widths share the same generated Verilog, so one unit measurement (divider, PMP, RAS, predictor) covers all three, with the whole-core-Rocket battery as the executing-core analog for channels whose BOOM unit does not isolate. VexiiRiscv and CVA6 rest on their distinctive-divider units (VexiiRiscv also the constant-time square-root unit, non-leaking at a flat 55 cycles) plus the deterministic leak proof and Rocket analog.
Table 21. Silicon-evidence level per core. WC: whole-core battery; U: surgical unit; U*: unit shared byte-identically across the BOOM widths; A: analog (executing Rocket) + deterministic leak proof; lim.: whole-core bring-up limit (Section 9.7). ⌀ marks a functional unit that is not applicable or architecturally absent.

9.7. The Whole-Core VexiiRiscv Limit, Precisely Diagnosed

We attempted a second whole core (VexiiRiscv) to extend the battery beyond Rocket. It fits the xc7z020 at 60% of look-up-tables and boots from its reset vector, but executes zero instructions: a bare-metal image of a single j self pins the program counter at 0x10040 with an access counter of thirteen million and no committed instruction, because the fetch-L1 refill never installs the first cache line. We isolated the cause across six rebuilds and a controlling experiment: porting Rocket’s proven, byte-faithful TileLink program-memory (tlmem) module into the VexiiRiscv harness, which also fails to install, localizing the blocker to VexiiRiscv’s own fetch-L1 refill-acceptance logic rather than the memory model or our wrapper. This is an integration limit of a specific core’s front end, not a result about the attacks: every VexiiRiscv channel stands on its unit-level silicon (the DivRadix divider and the FpuSqrt unit) plus its deterministic Verilator leak proof, and the whole-core conclusions are carried by RocketTile. It is a documented next step for the VexiiRiscv front end.

9.8. What Silicon Teaches That Simulation Cannot

The silicon campaign delivers five things a simulation-only study cannot. First, amplification: the whole-core miss latencies are 2–43× larger than the isolated-unit ones (Table 17), so the real threat exceeds the simulation’s mechanism figure. Second, real coherence behaviour: the D-cache writeback that never issued (Section 9.2) is a behaviour no unit model exhibits, and confronting it forced the read-out channel that confirmed the channels are cache-independent. Third, enforcement as fault: the two mcause channels show the PMP lock binding M-mode and the misaligned trap firing as architectural decisions, not timing artifacts, confirming the deterministic Tier-A channels. Fourth, feasibility: a whole RV64GC core with all its attack surface fits one mid-range FPGA and closes timing, so the coexisting attack surface of Table 16 is a property of one deployable core, not a set of separate laboratory setups. Fifth, environmental variance: the board runs with genuine routing delay and refill latency, so a channel recovered on it is recovered under real, not injected, variance: the external-validity statement the campaign exists to make.

10. Measurement Infrastructure, Tooling, and Engineering

The study rests on a purpose-built measurement stack: bare-metal harnesses, a statistical framework, a scripted multi-core build-and-run harness, and an FPGA silicon flow. We document it for reproducibility and because its constraints shaped what could be measured (Table 22).
Table 22. Measurement-infrastructure components.

10.1. Bare-Metal Harness and Its Constraints

Each attack is a self-contained bare-metal program built through a fixed toolchain wrapper and linked for the simulated 512 KB DRAM. Three constraints reproduce the results. First, the linker places a fixed 256 KB stack immediately after the non-initialized data region, so an eviction buffer that pushes the stack ceiling past the DRAM top faults before main; eviction working sets are sized accordingly (≤192 KB). Second, buffer-heavy harnesses (large-footprint eviction sweeps) need over one hundred simulated seconds of warm-up before first output, so a short run is not a hang and measurement windows carry margin. Third, reliable output capture uses line-buffered filtering to a file, not a redirected detached process, and integer-to-ASCII conversion is explicit to avoid raw bytes; both let the batch runner collect results without loss.

10.2. Statistical and Noise Framework

The TVLA driver splits each experiment into two input classes, times the measurement window with the cycle counter, and computes Welch’s t online. The noise framework injects a controlled number of no-operation cycles ( n 0 , n 16 , n 64 , n 256 ) and recomputes | t | at each level, yielding the masking point of Section 13. Deterministic-architectural read-outs (WARL, fault cause, value oracles) carry no timing distribution and are noise-immune by construction, not swept.

10.3. Multi-Core Build-and-Run Scripting

Exercising twenty-three attacks across six cores and two dual-hart SoCs, each with attack, proof-of-concept, mitigation, baseline, mitigated, and noise variants, is an O ( 10 3 ) -run matrix. We drive it with an ordinary Makefile and GNU parallel: one target per attack×core cell, dispatched at a fixed job count (parallel -j), each result logged to a per-cell file. The wide out-of-order simulations are slow and occasionally interrupted, so each run is wrapped in a shell loop that re-launches it until its log is non-empty, under tmux, so a dropped SSH session does not lose a cell. Two lessons recur. A wide out-of-order core on an eviction-heavy sweep can exceed the wall-clock budget, handled by scale-invariant workload shrinking (a shorter run yields the same amortized ratio) rather than weaker measurement; and oversubscribing the host starves every run, so the job count is capped and long-running jobs are niced.

10.4. FPGA Setup and the Whole-Core Readout Channel

Silicon measurement uses a Xilinx Zedboard (xc7z020clg484) driven by Vivado 2020.1 in a container, with a hardware server bridging the FT232H JTAG link. A live measurement required several easily missed setup details: the correct device package (clg484, not the similar clg400, whose pin/clock mapping leaves the virtual-input/output core unenumerated), a freshly generated debug-probe file, addressing probes by net name not positional index, and reading values with unsigned radix. For whole-core measurement, the RocketTile executes from a TileLink program memory; the result is extracted through the program-counter-encoding channel of Listing 5 after the direct cache-writeback path proved a dead end (the dirty-line eviction never issued a coherence writeback in the minimal harness), making the cache- and coherence-independent PC-encoding channel the reliable readout (Figure 33).
Figure 33. FPGA silicon-measurement setup. The whole core executes on the Zedboard; the program-counter-encoding readout is sampled by virtual-input/output probes over JTAG and decoded on the host, independent of the cache-coherence writeback path.

10.5. Engineering Challenges

Three challenges shaped the effort beyond routine bring-up. First, eviction-heavy noise and recovery sweeps on the slow wide out-of-order cores can exceed the wall-clock budget; where a per-core sweep did not complete, the channel is still established by its leak proof, its silicon measurement, and the cores on which the sweep does emit, which we state rather than paper over. Second, whole-core readout required the coherence-independent PC-encoding channel above. Third, extending that readout to a second whole core exposed a core-specific fetch/refill interaction distinct from the memory model: a bounded integration item that does not affect the unit-level silicon or the simulation results for that core.

10.6. Reproducibility

Every number is re-derivable. Simulation is deterministic: a given attack image on a given core produces bitwise-identical cycle counts on every run, so a reported | t | or recovery rate reproduces exactly by rebuilding the image and re-running the simulator. Each attack×core cell is backed by a per-cell log naming the core, the input classes, the sample count, and the resulting statistic; silicon measurements are captured to device-capture logs keyed by unit. Mitigation costs come from Vivado post-route report_utilization and report_power on the same bitstreams whose attack behavior is measured, so a defense’s cost and security effect are read from one artifact. The toolflow is a single Chipyard elaboration per core (Figure 7), fixing the RTL a reader would regenerate.

11. Mitigation Design, Portability, and Silicon Cost

Eight mitigations (two acting on cache partitioning and dividers, the rest on predictors, translation, atomics, forwarding, PMP, and traps) close their channels. We evaluate each along four axes: channel closure (TVLA), cross-core portability, resistance to an adaptive attacker, and cost as both amortized software overhead on a standard suite and measured FPGA area and dynamic power (Figure 34). Table 23 is the silicon cost model.
Figure 34. Measured mitigation area cost on silicon (ΔLUT %, xc7z020, relative to the modified module). Six of eight mitigations cost ≤0.8%; constant-time divide (+1.0%) and the translation walk-flush (+16.4%) are the two larger cases. Dynamic-power deltas are within ±2 mW throughout (Table 23).
Table 23. Mitigation silicon cost (Vivado post-route, xc7z020), baseline vs. mitigated. Each ΔLUT percentage is relative to the baseline of the module the mitigation modifies (the divider, D-cache, PMP checker, predictor, walker, or, for the store-fence and constant-trap, the whole RocketTile), not to a common denominator. Six of eight cost ≤0.8% LUT; all eight are within ±2 mW.
  • Design principle.
Seven of the eight mitigations share one design principle: equalize or erase, off the common path. Two families equalize a data-dependent latency so no timing distribution remains: constant-time divide (Listing 10), constant-time PMP check, and constant-trap dispatch (Listing 11) replace an early-exit or variable-latency path with a fixed-cycle one. Three families erase a state that should not cross a boundary: the predictor-and-reservation flush on privilege change (Listing 12), the LR/SC reservation clear, and the sfence walk-flush (Listing A32) wipe residue at the transition rather than per access. One family partitions a shared resource: the RTL cache way-partition (Listing A25) confines eviction without adding latency. One serializes only the ambiguous case: the store-to-load fence (Listing 13) stalls a load only on a detected 4 KB alias. Because these guards sit off the steady-state path, their amortized cost is near zero (Section 12); only constant-time divide, which touches the common arithmetic path, carries a non-trivial amortized cost and is preferably a fixed-latency hardware divider.
  • Silicon cost, quantified.
The measured deltas quantify the earlier “0% cost” claim: six of the eight mitigations cost at most 0.8% of the modified module’s LUTs, and all eight change dynamic power by at most 2 mW. The two larger-area cases are constant-time divide (+1.0%) and, above all, the K4/N5 walk-flush (+16.4% LUT), which re-enables a wide translation-lookaside-buffer and walk-cache valid-clear datapath the baseline had constant-propagated away; even it adds negligible power. Constant-time divide holds a fixed 68-cycle latency, verified on silicon (Listing 10).
  • Portability and failure modes.
A mitigation validated on one core need not transfer. A naive data-return-zero patch for the PMP speculative channel closes it on BOOM, but on Rocket, the zeroed response desynchronizes the miss-status-holding-register (MSHR) refill accounting and cascades into an invalid L2 coherence state (the writeback path expects the original beat count), and on CVA6, it amplifies the TVLA signal because the zeroing interacts with the predictor training that gates the forward. Table 24 records the works/fails/amplifies outcome per core. A port-agnostic construction masks the architectural value while preserving the coherence beat structure (forwarding a fixed dummy that still advances the MSHR) as the way-partition and constant-time patterns do (Table 23).
Table 24. Mitigation portability for the PMP data-mask patch. ✓: closes; ✗: breaks coherence; ↑: amplifies.
  • Cache-coloring terminology.
We separate two mechanisms prior drafts conflated. The way-partition mitigation is an RTL change: a mask on the replacement-way selection confining a domain to a subset of ways; on silicon, it costs − 5 LUT (within synthesis noise) and closes the D-cache/coherence channel. It differs from software page coloring, an operating-system frame-allocation policy with no hardware cost but page-allocation constraints. Table 23’s “cache-way partition” row is the RTL mechanism.
  • Positioning against prior defenses.
Our defenses are mostly textbook (Table 25); the open-RTL setting’s contribution is reporting their implemented silicon cost against the same core the attack was measured on, where prior work on closed parts could only model or simulate cost. Two contrasts stand out. Against the cache channel, the randomizing designs (CEASER [34], ScatterCache [35], Mirage [36]) add an address-permutation stage; our way-partition reuses the existing replacement selection at − 5 LUT for a working set that fits, so randomization is warranted only when partitioning the ways is too coarse. Against the speculative channels, the invisible-speculation designs (InvisiSpec [61], NDA [63], MuonTrap [65]) buffer or delay speculative state at a reported few-to-tens-of-percent cost; our predictor-flush closes the cross-privilege residue at + 2 LUT and ≈0% amortized, targeting the boundary rather than every speculative access.
Table 25. Our mitigations positioned against prior defenses. Prior costs are as reported in the cited work (often modeled or simulator-measured); our cost is measured on the FPGA against the attacked core.
  • Adaptive attacker.
A repeated-trial adaptive attacker that votes over many measurements can recover a residual a single-shot attacker misses. Against the predictor- and reservation-flush mitigations, which erase state rather than add noise, repeated trials do not help: post-flush recovery stays at chance across the injected-jitter sweep (Section 13). Against the constant-time divide and PMP checks, which remove the mean separation, more samples cannot reconstruct a difference that is not present. The mitigations vulnerable to averaging are precisely the ones we do not rely on.
  • Flush-cost optimization.
The gshare-aware branch-history flush sweeps the predictor table on each privilege switch; its cost scales with the active history length, not the full table. Clearing only the entries reachable from the current global-history register suffices when history is short, cutting per-switch cost on shallow-history workloads, with a conservative full sweep as the safe default for high-frequency interrupt regimes.
  • Representative mitigation code.
Listings 11–13 give the three structural mitigations that dominate the corpus; each sits off the common path, so amortized overhead is near zero (Section 12) though worst-case microbenchmark cost is not.
Listing 11. Constant-latency trap dispatch (N4 mitigation): pad every trap entry to a fixed cycle count so the trap-handler entry latency no longer fingerprints the trapping cause/ISA subset.
Chips 05 00029 i011
Listing 12. Predictor-and-reservation flush on privilege change (N3/N7/N6/N9/K7 mitigation): a single pulse on mret/ trap clears branch-history, BTB-valid, RAS, and the LR/SC reservation; measured +2 LUT on silicon.
Chips 05 00029 i012
Listing 13. Store-to-load disambiguation fence (K8 mitigation): when a load’s address 4 KB-aliases an in-flight store, stall one cycle instead of speculatively forwarding, removing the timing distinction; fires only on the rare alias.
Chips 05 00029 i013

12. Performance Evaluation

A fourteen-microbenchmark “0% overhead” figure alone is insufficient. We report two complementary cost views: silicon area and power (Table 23) bound the hardware cost directly, and amortized software overhead is measured over the Embench suite across all six cores under Verilator (Table 26).
Table 26. Amortized mitigation overhead over the Embench suite. Constant-time divide is measured against a representative ∼0.8%-divide workload; the worst-case column is the isolated-primitive microbenchmark.
  • Why several mitigations are effectively free.
The amortized figures separate a mitigation’s cost on the path it guards from its cost on representative code; the near-zero amortized cost of four mitigations follows from where each guard sits. Constant-trap dispatch (N4), the store-to-load fence (K8), the predictor flush (K3/K7/N3/N7), and the cache-way partition (K5/K10) each fire only on a rare event (a trap, a 4 KB alias, a privilege transition, a footprint exceeding the partition) and add nothing on the steady-state path, so each is expensive exactly when the attack condition is present and free otherwise. The store-to-load fence’s isolated-alias microbenchmark shows +217–777%, yet its amortized cost is within noise because 4 KB aliasing hits a vanishingly small fraction of loads.

12.1. Measurement Methodology

Every amortized figure here is a matched-pair measurement: for a given attack×core cell we build two otherwise-identical bare-metal images (an unmitigated baseline m 0 and a mitigated variant m 1 ) and run each on the same deterministic Verilator model, so the overhead is the exact cycle ratio m 1 / m 0 − 1 with no environmental noise. We average over workloads, not runs. Three workload classes are used. (i) Representative mixed (repbench): a synthetic but realistic instruction mix with a 0.78% divide fraction and a 20% memory fraction, the profile against which the common-path mitigations (constant-time divide) are amortized. (ii) Suite: the Embench members (aha-mont64, crc32, edn, matmult-int, nsichneu, and on VexiiRiscv primecount), a portable cross-core suite of hashing, integer, memory-streaming, and branchy kernels. (iii) Isolated-primitive microbenchmark: a loop triggering the guarded event on every operation (every divide, every 4 KB-aliased load, every trap), the worst case a mitigation can exhibit. The microbenchmark bounds the adversarial worst case, the mixed and suite figures the cost on real code; we report both.

12.2. Amortized Cost of the Off-Path Mitigations

Table 27 gives the amortized overhead of the six off-path mitigations, per core. Five are within measurement noise of zero on realistic code, and one (the store-to-load fence on Rocket) is negative, because serializing the rare 4 KB-aliased load removes a store-to-load-forwarding stall the baseline pays. Where a mitigation does cost something, the cost tracks a microarchitectural fact, not the mitigation: the store-to-load fence costs + 41.6 % on VexiiRiscv because its in-order load-store unit cannot hide the injected stall behind other work, and the aligned-merge defense for K6 costs + 20 – 22 % on the in-order VexiiRiscv/CVA6 for the same reason, versus ≈ 0 on the wide MegaBoom whose out-of-order window absorbs it.
Table 27. Amortized overhead (%) of the off-path mitigations per core, matched m 0 / m 1 pairs. ≈0: within measurement noise; −: attack does not leak on that core (no mitigation applied); neg. values = mitigated code is faster. K6 aligned-merge and the STLF fence are load-path defenses whose cost tracks the core’s ability to hide a stall.
The cache-way partition is the cleanest case: on Rocket, the mitigated workload runs faster (5,409,032 cycles baseline versus 5,391,419 mitigated, − 0.33 % ), because confining a domain to its own ways reduces inter-domain conflict for a footprint that fits. The predictor-flush costs are dominated by the per-switch retraining cycles that Table 28 makes explicit.
Table 28. Per-context-switch retraining cost (cycles) of the predictor flush, which governs the amortized overhead of the entire N3/N7/N6/N9/K3/K7/NV1 family. The wide out-of-order cores pay the most per switch because their deeper predictors take longer to re-warm.
The retraining cost is a clean read of predictor depth: the narrow in-order Rocket re-warms its simple bimodal predictor in 12 cycles, while LargeBoom’s deep TAGE table takes 531, so the flush is nearly free on the simple cores and costs a few percent on the wide ones at aggressive context-switch rates, amortizing toward zero as the quantum grows. This is the rare case where a mitigation is more expensive on the wide out-of-order cores, a direct consequence of predictor capacity.

12.3. Constant-Time Divide Cost

Constant-time divide, the only mitigation touching the common arithmetic path, carries the only non-trivial amortized cost, and the software-versus-hardware choice is the dominant performance decision in the mitigation set. Table 29 gives all three views. The software constant-time divide (Listing A24) converts a fast early-exiting divide into a fixed 64-iteration one on every divide, catastrophic in isolation: 13× to 98× slower on a divide-saturated loop. Amortized over the repbench mix, where divides are 0.78% of instructions, it costs only 6.4–13.7%. The hardware fixed-latency divider, flattening the datapath rather than padding software, cuts the cost to 7.5–8.5% on the out-of-order cores; on VexiiRiscv, whose radix-16 divider already resolves the dividend into only three coarse latency bands, the amortized software cost is the lowest in the corpus at 6.4%.
Table 29. Constant-time divide cost, three views. SW worst-case: isolated divide-saturated microbenchmark. HW fixed-latency: the RTL divider option. Amortized: matched m 0 / m 1 over repbench (0.78% divide). Legend: “–” marks a case that does not apply.
The amortized column rests on direct matched pairs: on Rocket, the mixed workload runs 5,239,719 cycles unmitigated and 5,757,052 mitigated ( + 9.9 % ); on VexiiRiscv, 4,119,059 versus 4,383,732 ( + 6.4 % ); on CVA6, 953,534 versus 1,084,442 ( + 13.7 % , on a scale-invariant short run). CVA6 pays the most because its baseline divide is comparatively cheap, so the constant-time floor is a larger relative penalty; cost is inverse to how slow the unmitigated divider already was. The recommendation: where the RTL can be modified, ship a fixed-latency divider and pay 0% on the one core that already has one and 7.5–8.5% on the rest; fall back to the software pad only on a fixed binary with a known-low divide fraction.

12.4. Translation Walk-Flush Cost Versus Scheduling Quantum

The sfence.vma walk-flush (K4/N5) is the one mitigation whose cost is truly workload-dependent, paid per context switch with an amortized weight set by the scheduling quantum, not the instruction mix. Table 30 gives the per-switch cost and resulting worst-case (tiny-quantum) overhead per core. The per-switch cost is the cycles spent re-warming the translation-lookaside buffer and walk cache after the flush: 318 cycles to re-warm 24 pages on Rocket, and a 97% worst-case on VexiiRiscv, whose combined 51-cycle satp read and 43-cycle sfence make each switch expensive relative to its short quantum.
Table 30. Translation walk-flush (K4/N5): per-switch re-warm cost and worst-case per-switch overhead. The amortized weight falls as 1 / quantum (Figure 35).
The worst-case column is a true upper bound (assuming a context switch after only a handful of memory accesses) but collapses as the quantum grows, since amortized overhead is the per-switch cost divided by the instructions between switches. For Rocket (Figure 35), the 318-cycle re-warm is 58.6% of a 543-cycle quantum but only 0.3% of a 100,000-cycle quantum and 0.03% of a one-million-cycle quantum. At realistic 10 5 – 10 7 -cycle quanta, the walk-flush amortizes to well under 1%; the source measurement of ∼0.1–1.4% at a thousand accesses per switch sits on this curve.
Figure 35. Amortized walk-flush overhead versus scheduling quantum (log-log). The per-switch re-warm cost divided by the quantum falls as 1 / quantum ; at realistic operating-system quanta ( ≥ 10 5 cycles), the overhead is under 1%. The worst-case figures of Table 30 sit at the far left, at a quantum no real scheduler uses.

12.5. Worst-Case Microbenchmarks and Amortized Overhead

Table 31 places every mitigation’s isolated-primitive worst case beside its amortized cost. An isolated divide-saturated microbenchmark drives constant-time divide to + 530 / + 1222 / + 2392 / + 7025 % across cores: real numbers, but worst-case isolated-divide microbenchmarks, not amortized costs; the same mitigation on representative code is 6.4–13.7%. A single overhead figure is therefore misleading: the honest cost is a range from worst-case microbenchmark to amortized workload.
Table 31. Worst-case isolated-primitive microbenchmark versus amortized overhead for each mitigation. The wide gap is the signature of an off-path guard: expensive exactly when the attack condition is forced, free otherwise.
The constant-trap worst case is the most extreme. Table 32 gives the trap-storm microbenchmark per core: forcing a trap on every instruction inflates trap-entry latency from a baseline of 18 cycles to 427 on Rocket ( + 2272 % ) and from 30 to 634 on CVA6 ( + 2013 % ). These are the largest overheads in the study, because a program that traps on every instruction is the attack condition itself, not a workload; the amortized cost (the trap rate times the added latency) rounds to zero for any non-faulting program.
Table 32. Constant-trap-dispatch worst case: trap-entry latency (cycles) under a trap-on-every-instruction storm, baseline→mitigated. These are the largest overheads in the study and correspond to the attack condition, not to any workload; amortized cost is ≈0% on non-faulting code.

12.6. Baseline Suite and Cross-Core Cost Profile

The 15% miss-rate cost commonly cited for cache coloring applies to the software page-coloring policy under a working set exceeding the partition; the RTL way-partition of Section 11 avoids it for footprints that fit. Figure 36 gives the per-core Embench baselines that anchor the amortized figures. No core pays more than single-digit percent for any mitigation on representative code, and the one large cost (software constant-time divide in isolation) is eliminated by the hardware divider option.
Figure 36. Per-core Embench baseline cycle counts (log scale). Out-of-order width reduces the compute-bound matmult workload monotonically across the BOOM sweep; these baselines anchor the amortized mitigation-overhead figures of Table 26.
Table 33 gives the full per-core Embench baselines. Two patterns stand out. First, out-of-order width helps the compute- and memory-bound kernels (matmult, edn, crc32) monotonically across the BOOM sweep (MegaBoom completes matmult in 76,481 cycles versus MediumBoom’s 125,762) because wider issue and deeper reorder extract more instruction-level parallelism. Second, the branchy state machine (nsichneu) does not track width: it is fastest on the wide BOOM cores (4776 on MegaBoom) yet slowest on CVA6 (25,724), because its behavior is dominated by branch-prediction accuracy, not issue width, and CVA6’s simpler predictor mispredicts more, the same structural fact that makes CVA6 distinctive in the branch-residue channels (N3/N7).
Table 33. Per-core Embench baseline cycle counts (Verilator, RV64GC). Out-of-order width reduces compute/memory kernels; the branchy kernel (nsichneu) is governed by predictor accuracy instead.

13. Noise Modeling and TVLA Robustness

Having quantified what each mitigation costs, we now ask the prior question of which channels survive realistic measurement noise even before any mitigation is applied. To test whether a channel survives physical jitter, we sweep injected timing noise at four levels ( n 0 through n 256 nop-jitter cycles) and recompute | t | ; the masking point is the first level at which | t | falls below the 4.5 threshold. The strong timing channels (K4 TLB, K6 unaligned, K5 D-cache) survive well into the sweep, several M→S predictor residues mask by n 64 – n 256 , and the deterministic-architectural channels (PMP WARL read-back NV2, fault-cause NV3, the value-oracle divider read-outs) carry no timing distribution and are noise-immune by construction (Figure 37).
Figure 37. TVLA | t | under injected timing jitter. On the in-order Rocket, the branch-pattern channel (K7) and, on CVA6, the translation channel (K4) fall below the 4.5 threshold as jitter grows, while the CVA6 divider channel (K1) persists; the fragile M→S return-stack residue (N6) masks at the first jitter level. The masking point quantifies each channel’s robustness to physical noise.

13.1. Noise-Injection Methodology

The jitter model perturbs the measurement path, not the channel: at level n k , the harness inserts a uniformly random number of no-operation cycles in [ 0 , k ] between the two rdcycle reads bounding each timed window, so the recorded latency is the true operand-dependent value plus a random offset of mean k / 2 and variance ∼ k 2 / 12 : the software analogue of the timer jitter, interrupt skew, and DVFS transitions an attacker faces on silicon, isolating noise-robustness from every other variable (same secret, core, and code). We sweep n 0 (noise-free), n 16 , n 64 , and n 256 , plus an extended n 1024 for the strong channels, recomputing Welch’s t over the same class partition. Because variance grows as k 2 , the four levels span three orders of magnitude of noise power: masking at n 16 means a few cycles of jitter suffice, survival to n 256 means the channel is usable outside the laboratory (Section 13.4).
Table 34 gives the Rocket masking matrix. On this in-order core, only the two largest-separation channels survive to n 256 : the ILP fingerprint (K9, | t | from 11,808 to 143.7) and the M→S predictor-direction residue (N3, 71.7 to 5.9). The misaligned-access gap (K6, 631 to 3.4), the store-to-load-forwarding stall (K8, 201 to 1.9), and the branch-pattern trainer (K7, 101 to 1.9) start strong but fall below the 4.5 threshold by n 256 ; the divider oracle (K2) masks by n 16 and the return-stack residue (N6) by n 16 . These same misaligned-access and branch-pattern channels survive to n 256 on the wide out-of-order BOOM cores, where the larger load-store-split and mispredict penalties keep | t | above threshold, so the surface an attacker can rely on under jitter grows with issue width rather than shrinking. The masking point, not a single noise-free | t | , separates an exploitable channel from a laboratory artifact.
Table 34. TVLA | t | under injected jitter on Rocket, with masking point (first level below the 4.5 threshold). NV2/NV3 are deterministic read-outs. Bold: survives to n 256 .
Robustness therefore tracks baseline separation rather than mechanism class. The noise-free ordering on Rocket (K9 at 11,808, K8 at 201, K7 at 101) is preserved under jitter only for channels whose separation is large enough to clear the threshold at n 256 ; K7 and K8, despite strong n 0 values, are not. The deterministic read-outs (NV2, NV3, and the value-oracle divider used as a magnitude classifier) sit outside the ranking entirely, worth closing structurally since no jitter touches them. The ranking an attacker should use is the n 256 column, not n 0 .
The FPGA measurements (Section 9), on a real device with physical jitter, confirm the surviving channels are observable outside simulation.

13.2. The Full Per-Core Masking Matrix

The noise campaign sweeps every leaking channel on all six cores; Table 35 is the complete masking matrix, and each cell is the jitter level at which the channel drops below threshold on that core. Three structural facts are immediate: the functional-unit and organization channels (K6, K9, K3) survive to n 256 on essentially every core; the machine-to-supervisor residues (N6, N7, N9) mask early wherever they leak; and the deterministic RISC-V-specific channels (NV2–NV6) are immune to every level.
Table 35. Complete masking-point matrix: the injected-jitter level at which each channel falls below | t | = 4.5 on each core. s: survives to n 256 (robust); n k : masked at that level; imm: deterministic, jitter-immune; ⌀: at/below threshold even at n 0 or borderline; –: no leak on that core; m.l.: measurement-limited.

13.3. Full Per-Core Sweeps

Table 36 and Table 37 give the underlying | t | sweeps for the five cores not in Table 34, exposing the per-core structure the matrix compresses. On the out-of-order BOOM sweep (Table 36), the branch-direction residue (N3) and the ILP fingerprint (K9) strengthen slightly from n 0 to n 16 on some cores before decaying (the signature of a noise-free variance so small that a little jitter sharpens the statistic more than it shifts the mean) and both survive the full sweep with | t | still in the hundreds. The replacement-policy channel (K10) leaks only on MediumBoom under jitter (4.6/6.4/6.6/6.2, surviving all levels) and is borderline-null elsewhere, tracking the replacement policy rather than the pipeline.
Table 36. TVLA | t | under injected jitter, the three BOOM cores ( n 0 / n 16 / n 64 / n 256 ). Bold: survives to n 256 . †: n 0 value measurement-limited (HTIF print desync), sweep valid from n 16 .
Table 37. TVLA | t | under injected jitter, VexiiRiscv and CVA6 ( n 0 / n 16 / n 64 / n 256 ). Bold: survives to n 256 . VexiiRiscv’s radix-16 divider (K2) is uniquely jitter-robust.
The two in-order cores (Table 37) carry a notable result: the VexiiRiscv integer-divider channel (K2) survives to n 256 with | t | still at 69, while the same channel masks by n 16 – n 64 on every other core. Mechanistically, VexiiRiscv’s radix-16 divider produces a coarse three-band latency staircase (17/33/65 cycles) whose gaps are too large for 256 cycles of jitter to smear together, whereas the fine per-bit ramps on the other cores wash out under far less noise. Noise-robustness is thus a property of the functional-unit microarchitecture, not the attack: the same C code is fragile on five cores and robust on the sixth. The unaligned-access channel (K6) tells the same story, surviving to n 256 at | t | = 122 on VexiiRiscv and 41 on CVA6.

13.4. Jitter-Immune Deterministic Channels

The Tier A RISC-V-specific channels are architectural read-outs, not timing distributions, so injected jitter has no purchase on them. Rather than a masking point, they carry an information-delivery rate, which Table 38 reports as the fraction of trials delivering the correct fingerprint at each jitter level: 100% at every level for NV2, NV3, NV5, and NV6 on all cores, because a WARL read-back, a fault cause, or a store-conditional outcome does not depend on when it is sampled. (NV4 is a timing oracle, a large warm/cold gap, and is excluded; its noise-robustness is that of a wide-gap timing channel, not architectural immunity.) The consequence is direct: no amount of jitter affects the deterministic read-outs, which close only structurally (normalizing the WARL read-back, equalizing the fault path, or flushing the reservation), so the paper treats them as first-class targets despite their apparent triviality.
Table 38. Deterministic Tier-A channels: fraction of trials delivering the correct fingerprint under injected jitter (IDACC). Immune by construction: no timing distribution to perturb.

13.5. Decay Dynamics and Cross-Core Divergence

Beyond the masking point, the shape of the | t | decay separates the same two groups: K9, K6, K3 decay gracefully, staying far above threshold, while the small, structural separations of N6, N7, K5 fall through within one or two levels. Figure 38 plots the divider channel (K2): five cores collapse below threshold by n 64 while VexiiRiscv rides above it to n 256 , nearly two orders of magnitude of spread for one attack. Figure 39 plots the opposite case, the ILP fingerprint (K9): every core stays hundreds of multiples above threshold at every level, robust everywhere and least amenable to a noise defense. Physical robustness is thus per-channel and per-core, which a single noise-free | t | discards.
Figure 38. Integer-divider channel (K2) | t | under jitter, per core (log scale). VexiiRiscv’s coarse radix-16 staircase survives to n 256 while every other core masks by n 64 : a two-order-of-magnitude spread in robustness for one attack, set entirely by the divider microarchitecture.
Figure 39. ILP-fingerprint channel (K9) | t | under jitter, per core (log scale). Every core remains two-to-three orders of magnitude above threshold at every level: K9 is robust on the entire corpus and is the channel a jitter defense is least able to neutralize.

13.6. Does Recovery Survive Noise?

A masking point concerns the screening statistic; whether or not byte recovery survives noise, we measured directly for the channels that matter. We ran the cross-hart D-cache Flush+Reload proof of concept under increasing background contention on the dual-hart SoC: recovery held at 4/4 correct through 0, 16, 64, 256, and 1024 background-thrash accesses per trial, and only the coherence covert channel (N2) degraded, its recovery falling from full to zero as contention saturated the shared last level. The experiment doubles as a mitigation check: the flush-on-switch defense collapsed the recovered rate from 4/4 to 0/4, closing the channel under exactly the noisy conditions where it would otherwise be exploited. The robust channels are thus robust in recovery, not merely in | t | : one surviving to n 256 also delivers bytes under comparable noise, a deployable attack rather than a laboratory observation.

13.7. Implications for Noise-Based Defense

Injecting timer or measurement jitter (the cheap, software-deployable countermeasure) neutralizes the fragile residues (N6 at n 16 , N7 and N5 at n 64 , K5 at n 16 ) at essentially no hardware cost, a reasonable first line against an unprivileged adversary limited to those channels. It is not sufficient against the robust channels: K6, K9, K7, and N3 survive to n 256 on most cores, requiring the structural mitigations of Section 11 (aligned-merge, constant-time divide, predictor flush, return-stack stuffing). And it is useless against the deterministic Tier-A channels, which ignore jitter by construction. Defenses should therefore layer to the matrix rather than treat noise injection as a general solution, which the matrix shows fails to touch two-thirds of the threat surface.

14. Confirmed Non-Leaking Behaviors

A study reporting only what leaks tells half the story. Alongside the twenty-three channels, we ran a broader exploratory campaign of roughly one hundred and eighty structure×technique×core probes, a large fraction returning clean nulls, many a security result, where a plausible attack was mounted and the core did not leak because the structure is designed to close the channel, not because the harness was too weak. This section reports those nulls with their causal mechanism: an absence of leakage resting on a design property rather than a measurement floor is as actionable as a confirmed presence, telling an implementer which design choices work.
  • The criterion, and the line we draw.
We report a behavior as non-leaking only when three conditions hold: its TVLA | t | stays below 4.5 across the full injected-jitter sweep, its paired proof of concept recovers at chance with a Wilson interval straddling chance, and an identifiable mechanism explains the absence. This last condition, held strictly, separates a security result from a measurement artifact. Nulls from tooling limits (the Verilator wall-clock on eviction-heavy wide-out-of-order sweeps, the CVA6 host-interface desync, the whole-core VexiiRiscv fetch limit, an eviction set too small to dislodge the victim) are catalogued instead as measurement limitations in Section 16. The deterministic microscope makes the line drawable: with within-condition variance exactly zero, a null with a mechanism is positive evidence of no channel, not of insufficient sampling.

14.1. The Exploratory Campaign and Its Guiding Intuition

The exploratory probes followed a single map the early runs made explicit: leakage magnitude tracks variable-latency-ness, stated as a design law: fixed-latency units are near-constant-power and near-constant-time. It predicted the duds before we measured, and the predictions held: the PMP priority-mux, the integer-divider operand residue, the floating-point-divide power, and the barrel-shifter shift-amount power all returned flat, being fixed-latency, while the one structure the law flagged as leaky (the graded, pre-squash transient divider power) did leak.

14.2. Transient-Execution Discipline

The principal cluster of nulls concerns transient execution and supports a qualified positive statement: these cores squash fault-triggered mis-speculation cleanly, and the in-order cores expose no exploitable transient window. The exception is the out-of-order branch-mispredict path, where the Spectre-RSB gadget (K3) reproduces on all three BOOM widths (Section 8); the nulls below concern fault-shadow squash and in-order execution. Of the four probes (Table 39), the clearest is the PMPectre value-recovery control (N1): with the secret in a PMP-accessible region the faulting-load harness recovers it exactly ( 0 x 0 e → 0 x 0 e ), but the instant the secret is PMP-denied, recovery collapses to null while the fault counter increments every trial: the wrong-path load violating PMP has its dependent chain squashed before the probe-encode load issues its cache access. The same discipline nulls a fetch past a PMP-execute-deny (A2, front-end squash with no speculation past the precise fault) and a SpectreRewind divider-port-contention transient (N12: a cancelled transient divide releases the divider, Δ = 0 on all four cores: 65/65 on Rocket, 90/90 on MediumBoom, 89/89 on MegaBoom, 85/85 on VexiiRiscv). K3 is at chance on all three in-order cores, which have no return-stack-driven speculative window.
Table 39. Transient-execution nulls: mis-speculation leaves no exploitable trace. Each is a genuine security result with a squash mechanism, not a measurement floor.

14.3. Fixed-Latency Structures

Table 40 lists the structures that are constant-time or constant-power because they are fixed-latency. VexiiRiscv’s floating-point square-root unit is the clearest example, a constant 55 cycles for every operand from 1 to 2 54 − 1 with correct results: a non-leaking unit confirmed on silicon. The multipliers are constant-time on all six cores. VexiiRiscv’s integer divider is constant in the divisor (a flat 72 cycles regardless of divisor magnitude, where the Rocket-chip cores and CVA6 leak divisor magnitude roughly two-fold); its dividend-magnitude leak (K2) survives, so the divider is only a partial null, not constant-time. At the power level, the divider’s total completed-divide toggle count is operand-independent (64,930 versus 65,291 for Hamming-weight 8 versus 56, a 0.5% difference), so its exploitable leak is in latency, not total energy. The floating-point-divide, barrel-shifter, and PMP-priority-mux power probes are flat for the same reason. This is why the fixed-latency-divider mitigation (Section 11) is preferred where the datapath can be modified.
Table 40. Fixed-latency structures confirmed non-leaking. Constant timing/power is a design property, not a sampling limit; VexiiRiscv’s square-root unit is the corpus’s hardened functional unit (its divider is constant in the divisor only).

14.4. PMP Enforcement Is Sound Where It Is Not on a Timing Path

PMP is simultaneously the source of our strongest novel channels (NV2–NV4) and a sound enforcement mechanism in every respect that does not sit on a timing path; Table 41 separates the two. The enforcement decision does not leak the protection layout: legal-access latency is flat across match-index, active-entry count, and top-of-range boundary distance (≤1–3 cy jitter, no trend) on every core, because the combinational PMPChecker sits off the load-hit critical path; and the fault latency does not reveal which entry denied an access (identical per core: 70 cy on Rocket, 225 on MediumBoom, 208 on the large BOOM cores). Reconfiguration takes effect immediately: a permit-then-deny with no sfence faults every trial, and up to 56 intervening no-ops never open a stale-PMP window, because the verdict is recomputed combinationally and the mret mode switch serializes the pipeline. PMP thus leaks exactly and only where its check latency is observable (NV4’s miss-path warm/cold gap); its layout, denying-entry identity, and reconfiguration are non-leaking.
Table 41. PMP enforcement soundness: the decision, layout, and reconfiguration do not leak; only the miss-path check latency does (NV4). Genuine nulls with mechanism.

14.5. Cross-Hart Channels That Close by Construction

Two cross-hart channels a cache-coherent multicore might be expected to expose close on their own, each established by a control experiment (the apparent signal was real until the control removed it). For the coherence-state timing channel (N10), the attack configuration showed a hart reading a Modified line in 74 cycles against 60 for an untouched line, an apparent 14-cycle signal; but the control with the other hart idle showed 72 cycles for the same access, so the victim’s Modified state changes the spy’s latency by only 74 − 72 = 2 cycles: noise (DualSmallBoom is flatter still, ≤1 cy), because the Modified-writeback cache-to-cache transfer costs about the same as an L2 fetch. For the cross-hart LR/SC reservation channel (N11), the watchdog fires at roughly 64–96 cycles, comparable to the cross-hart read-for-ownership latency of about 74 cycles, so the signalling window is at best marginal; and it is closed decisively because Rocket clears the reservation on any intervening memory access between the LR and the SC, making a handshake-synchronized cross-hart reservation channel structurally impossible regardless of watchdog timing: positive results only the dual-hart configurations can expose.

14.6. Absent Primitives as a Security Property

Several nulls follow from capabilities the ISA does not give the attacker. The cache-block-management extension (Zicbom) is absent on all six cores: cbo.flush, cbo.clean, and cbo.inval all trap as illegal instructions, so there is no unprivileged architectural cache-flush primitive, and a Flush+Reload attacker must fall back to constructing eviction sets: a materially higher bar than a single clflush. Relatedly, fence.i is occupancy-independent: a fixed flush cost regardless of how many instruction-cache lines a victim populated (22 cycles on Rocket at every occupancy, flat on VexiiRiscv and CVA6 too), so it does not leak a victim’s code footprint. Control-and-status-register reads are flat with no secret-dependent channel, and atomic-memory-operation latency does not vary by operation type (≤2 cy). These are capabilities the attacker lacks, not attacks we failed to make work.

14.7. Per-Core Selective Nulls

Several channels leak on some cores and are secure on others, each secure cell naming the design choice (Table 42). The store-to-load-forwarding channel (K8) is a clean null on MegaBoom ( | t | = 1.4 ) because its wide load-store unit performs full disambiguation natively: the behavior the K8 mitigation adds by hand elsewhere, here for free. The D-cache Flush+Reload (K5) is null on MegaBoom for the same reason, tighter and more aggressive L1/L2 handling. The return-address-stack residue (N6) is secure on VexiiRiscv and the large BOOM cores ( Δ ≈ 0 –1 cy) because their pipelines overwrite or never persist the residue; the memory-dependence residue (N9) is secure on Rocket and every BOOM ( Δ ≤ 11 , within noise) because they lack a persisting standalone predictor of the required form. The PMP miss-path gap (NV4) is null on CVA6 ( Δ = − 4 cy) because its fixed-latency access path has no warm/cold window. These are the negative image of the cross-core analysis (Section 15.4): the axis that opens a channel on one core closes it on another.
Table 42. Per-core selective nulls: a channel that leaks elsewhere is genuinely secure on the listed core, by the named structure. These are the negative image of the width/organization trades of Section 15.4.

14.8. Secure Design Patterns Distilled

The nulls above cluster into a small set of design patterns (Table 43), the common thread being that security in these cores comes from removing a dependence: a fixed-latency unit removes the operand-latency dependence, a precise squash the transient trace, a combinationally recomputed verdict the cached state, a short watchdog the exploitable window, an absent primitive a capability. The same open cores that leak twenty-three channels thus demonstrate, on real measurements, the design choices that close them.
Table 43. Secure design patterns, each producing a measured null in this corpus, stated as implementer guidance.

14.9. The Exploratory Campaign by the Numbers, and the X86 Contrast

The ratio of nulls to leaks is itself a finding. Of the roughly one hundred and eighty structure×technique×core probes beyond the headline attacks, the large majority returned clean nulls; a minority produced the leaks that became the twenty-three channels; and a separate, smaller set were measurement-limited, excluded from both counts and reported in Section 16. The resulting map partitions the microarchitecture along the fixed-versus-variable-latency law of Section 14.1: a sharp, predictable boundary a study reporting only the leaks would have hidden.
The nulls are also where the RISC-V cores diverge most sharply, and favourably, from the x86 literature: the transient-execution attacks that dominate it (Spectre-v1 Flush+Reload, SpectreRewind port-contention, Meltdown-style fault-shadow recovery) are precisely the probes that returned clean nulls here (N1, N12, A2, K3). The channels that do port from x86 are the architecture-independent ones (caching, translation, variable-latency arithmetic), the partition predicted if these open cores’ transient discipline beats the commercial parts the prior attacks targeted. This is a result about these six cores, not a claim that RISC-V is immune to transient execution in general: a future wide out-of-order RISC-V core with aggressive value speculation could reopen these channels. But for the corpus measured, they are real, mechanistic, and a point in the open cores’ favour.
  • A note on the floating-point divider (K1).
One behavior is easy to miscategorize. The floating-point divider is magnitude-near-constant (a sub-percent TVLA signal on random operands), which might suggest a null, but it is not one: on silicon it takes a special-operand fast path (3 cycles for zero, infinity, not-a-number, or subnormal dividends versus 20–54 for normal operands, a 6.7× skip), so it leaks the operand class while not leaking the magnitude. K1 is therefore a weak leak via a fast path, not a secure unit; the only constant floating-point path in the corpus is VexiiRiscv’s square-root unit (Section 14.3).

15. Discussion

15.1. Cross-Core Security Profiles

The controlled corpus attributes each channel to a microarchitectural cause, not an implementation accident, along three axes. Speculation width gates K3 to out-of-order cores and sets the magnitude of the PMP enforcement-timing gap (NV4, largest on LargeBoom), which nonetheless also leaks on the in-order Rocket and VexiiRiscv; the M→S return-stack residue (N6) survives only on narrow in-order Rocket, creating speculative channels while destroying persistence-dependent residue. Predictor sizing sets the direction/target-residue gaps (N3/N7), largest on wide BOOM, though recovery peaks on undiluted in-order VexiiRiscv. Functional-unit design sets the divider signature (K2) (per-bit on Rocket, radix-16 staircase on VexiiRiscv, serial on CVA6) and lets CVA6’s fixed-latency FPU close K1/NV4 and invert the ILP fingerprint (K9). Table 44 summarizes the per-core profiles.
Table 44. Per-core security profiles. ●: leaks; ⌀: confirmed non-leaking.
  • Quantitative reading.
Figure 40 shows the two axes at once: every core leaks across all three tiers, CVA6’s determinism gives it the smallest Tier-A/B footprint, and VexiiRiscv peaks on the novel tier despite its simplicity: simplicity is not safety.
Figure 40. Leaking-channel count per core by novelty tier. Every core in the corpus leaks across all three tiers; the out-of-order BOOM sweep adds the speculative known-class channels, the in-order Vexii peaks on the novel tier, and CVA6’s fixed-latency units suppress several channels.

15.2. Per-Core Security Posture

Reading the corpus by core gives each implementation a posture an integrator can act on. Rocket, the balanced in-order baseline, is immune to the speculative channels (K3, strong NV4) yet uniquely exposed on N6, with the full divider, cache, TLB, and predictor channels present; we anchor the silicon battery on it as representative without being extreme. VexiiRiscv is “simple but not safe”: it peaks on the novel tier, yields the strongest recovery (N3 60/64) and the sole memory-dependence leak (N9) on its undiluted predictor state, yet alone is immune to the replacement-policy channel (K10): simplicity redistributes its surface; it does not shrink it. The BOOM sweep (Medium/Large/Mega) is the speculation-exposed family: it alone leaks K3, shows the largest NV4 gap (126 cy on LargeBoom) and widest predictor-residue gaps, and closes N6, giving the largest Tier-C footprint in Figure 40; within the sweep, the trend is graded, not categorical: more width, more speculative exposure and predictor capacity. CVA6, the fixed-latency outlier, closes K1 and NV4 for the smallest Tier-A/B footprint but inverts K9 and turns its distinctive timing into a fingerprint, trading value-oracle exposure for fingerprintability. The dual-hart SoCs add the cross-hart coherence surface (N2) and cache variants (K5/K10) single-core configurations cannot express.

15.3. Generalization Beyond the Corpus

The corpus is open RTL, but the axes it varies (issue width, retirement order, predictor family and capacity, functional-unit determinism, cache/coherence organization) are those along which commercial cores differ, so the attribution transfers as structural predictions even though cycle counts do not. A commercial out-of-order RISC-V or ARM core with a return-address stack and speculative retirement should expose the K3/NV4 speculation-gated channels and, absent a predictor flush on privilege change, the M→S residue channels (N3/N7); a narrow in-order controller should instead retain RAS residue (N6) while being immune to the speculative ones. The functional-unit channels (K1/K2/K8) depend only on whether the unit is fixed-latency (a property a datasheet or single timing sweep reveals), so the value-oracle risk transfers to any core with an early-terminating divider. The RISC-V-specific channels (NV2–NV6, N4) should transfer to any conformant implementation, since they exploit specification features (WARL, PMP, LR/SC, the modular trap model) every conformant core must resolve one way or another; only their fingerprints differ. What does not generalize is a leak’s sign and magnitude: CVA6’s inverted K9 and NV4 null follow from its particular fixed-latency design, predictable only by knowing that choice. Qualitative which-channel extrapolation thus holds; quantitative values remain core-specific.

15.4. Per-Attack Cross-Core Mechanism Analysis

Each channel’s presence pattern against the axes above attributes it to a cause; for each, we ask not only where it leaks but why there and not elsewhere, and why it is stronger on one core than another. The backbone is Table 45, mapping every channel to the feature that enables it and the one that suppresses it; every per-core pattern is a corollary of one row.
Table 45. Causal feature→channel map. Each channel is enabled by a specific microarchitectural feature and suppressed (or absent) when a competing feature is present. The per-core leakage matrix (Table A1) is the consequence of which features each core has.
The principal corollary is the width trade (Figure 41): moving along the issue-width axis creates speculation-gated K3 while destroying persistence-gated N6, so a core is a point in a trade-off space, not a rung on a ladder. We now walk the channels, each a reading of one row of Table 45.
Figure 41. The width trade. As issue width and out-of-order depth increase (left to right), the speculation-gated channel K3 appears and strengthens while the persistence-gated N6 return-stack residue is overwritten and fades. Security is a trade along this axis, not a scalar; no core is uniformly safest.
  • K2 integer-divide value oracle.
K2 is the only functional-unit channel leaking on all six cores: every corpus divider terminates early on zero high dividend bits (Table 15). Only granularity varies: the Rocket radix-2 unit a near-continuous 4 → 68 -cycle ramp, the VexiiRiscv radix-16 unit only three bands ( 17 / 33 / 65 cy), so a constant-time-divide requirement ported across a product line cannot assume a single divider; the same attack recovers the secret on all four with only a change of quantization.
  • K3 Spectre-RSB.
K3 is null on the three in-order cores (Rocket, VexiiRiscv, CVA6), which never expose the transient window, and present on all three BOOM widths, recovering 42– 51 / 64 bytes against chance in-order: the cleanest speculation-gated channel in the study, stating in-order immunity as a measurement, not an assumption. NV4, often grouped with K3 as “speculative,” instead leaks on in-order Rocket and VexiiRiscv too (Table 46), gated by fixed-latency access, not speculation (see the CVA6 null below).
Table 46. Per-core leakage magnitude for three diagnostic channels. NV4: warm/cold enforcement gap (cy). N3: M→S direction-residue gap (cy). K2: maximum divide latency (cy). ⌀: confirmed non-leaking. Each row’s ordering is a read of one microarchitectural axis. Legend: ⌀ marks a channel that is not applicable or architecturally absent; bold marks the outlier or leak-observable value referred to in the running text.
  • N6 M→S return-stack residue.
N6 inverts the K3 pattern: strong on narrow Rocket ( Δ = 133 cy), weak on 3-wide MediumBoom ( Δ = 34 cy, masked by n 256 ), null on LargeBoom and MegaBoom, because the widest BOOM speculation overwrites the RAS with its own call/return traffic before S-mode reads the M-mode-trained prediction, so the residue fades as width grows. The width that creates K3 attenuates N6: Rocket loses the speculative channels and gains the residue one.
  • N9 memory-dependence residue.
N9 leaks only on VexiiRiscv, whose memory-dependence predictor retains store-to-load aliasing state across the privilege boundary. Isolating a channel to one core is itself a result: it names that predictor as the structure to flush and shows why a portable mitigation must enumerate predictor structures, not assume a common set.
  • NV4 PMP enforcement-timing.
NV4 leaks on five cores but is a clean null on CVA6 ( Δ = − 4 cy): its fixed-latency access path collapses the warm/cold enforcement gap the others expose (up to 126 cy on the widest BOOM). The choice that quiets CVA6 on NV4 and K1 makes it loud on K9: its fixed timing is itself a fingerprint (K9 inverts sign on CVA6). Determinism relocates the leak; it does not remove it.
  • K7/N3 predictor channels: capacity sets strength, dilution sets recovery.
The direction/target-residue channels (K7/N3) separate strength from exploitability: | t | scales with predictor capacity, and is largest on wide BOOM, but recovery peaks on in-order VexiiRiscv, as the inversion below quantifies.
  • K10 replacement-policy channel.
K10 leaks on five cores and is null on VexiiRiscv, tracking cache organization rather than pipeline width: VexiiRiscv exposes no deterministic, primeable victim-way selection, unlike the others’ pseudo-random and pseudo-least-recently used (PLRU) policies. It is the one channel ignoring the order/width axis entirely: replacement policy is an independent design knob with its own leakage (Figure 42).
Figure 42. Why K10 leaks on five cores but not VexiiRiscv. A deterministic replacement policy lets the attacker prime the set and predict which way a conflicting access evicts (top); VexiiRiscv’s policy exposes no primeable victim, so the occupancy channel has nothing to read (bottom). K10 tracks cache policy, an axis orthogonal to pipeline width.
  • Quantitative cross-core magnitudes.
Table 46 gives per-core leakage for the three most instructive channels, each row a clean read of one axis: NV4’s enforcement gap tracks reorder depth (largest on LargeBoom, 126 cy; null on fixed-latency CVA6), N3’s direction-residue gap tracks predictor capacity (91 cy on small-predictor Rocket to ∼1535 on wide BOOM), and K2’s signature tracks divider radix (peak 65–68 cy, but a smooth 64-step ramp versus a 3-band staircase). The same attack is a 126-cycle oracle on one core and silent on the next.
  • Strength versus exploitability.
The magnitudes above are screening strength; byte-recovery orders the cores differently. The direction and target predictors have the largest | t | on wide BOOM (Table 46), yet the strongest recovery is on in-order VexiiRiscv (N3 recovers 60/64 there against fewer on BOOM) because the wide front-end injects speculative training between attacker write and victim read, diluting the state recovery depends on. Width raises the noise-free statistic but lowers the recoverable signal under contention; a defender ranking cores by | t | alone would harden the wrong core first, so every | t | is paired with a recovery figure and a noise sweep (Section 8.1 and Section 13).
  • The cache and load-store channels: present everywhere, amplified by scope.
The cache/LSU family (K4, K5, K6, K8) leaks on every core, depending only on features all have: set-associative caching, a translation cache, an aligner, and a store buffer. Only magnitude varies, by memory-hierarchy scope rather than pipeline: K5’s hit/miss ratio is 14× on the whole RocketTile against a smaller unit-level gap, K4 reaches 8.3× on CVA6, whose fixed-latency hit makes the walk relatively more expensive, and K6 reaches 12.8× on VexiiRiscv. A cross-core review can least afford to skip these because their presence is organization-independent; they are also the noise-robust core of the threat surface (Section 13), so their uniform presence is not a laboratory artifact.
  • Why N9 is a single-core anomaly.
N9’s isolation to VexiiRiscv (Figure 43) is the study’s clearest case of a channel existing only where a structure both exists and persists: the in-order cores lack the standalone predictor, wide BOOM scrubs its trained state before the supervisor reads it (the same dilution that weakens N3) and VexiiRiscv alone sits in the narrow window where it survives.
Figure 43. Why the memory-dependence residue (N9) leaks only on VexiiRiscv. The structure must both exist and persist: absent on the in-order cores, present but scrubbed by speculative traffic on wide BOOM, and surviving only in VexiiRiscv’s narrow speculation window.
  • Coherence and the dual-hart-only channels.
The TileLink covert channel (N2) and cross-hart cache variants (K5/K10) exist only on the dual-hart SoCs, requiring a shared last level over which one hart’s coherence action is visible to another: a per-SoC, not per-core, property, and why the corpus includes DualRocket and DualSmallBoom. The magnitude is set by coherence-transaction latency (23 versus 30 cycles on DualRocket), a small gap yet exactly recoverable (5/5 AES sets) because the transaction is deterministic. As with K10, these channels track organization (here the SoC’s sharing topology), not any single core’s pipeline, and a review scoped to one core misses them entirely.

15.5. Risc-V-Specific Structural Risks

Three specification choices recur as risk sources: WARL configuration makes control-register state a read-back fingerprint (NV2/NV3); implementation-defined LR/SC reservation semantics expose lifetime and granularity (NV5/NV6); and the open, fully specified coherence and trap models make timing predictable enough to serve as channels (N2/N4). None is a bug; each is where specification flexibility becomes an observable.

15.6. Attacker Practicality

Recovery data says what an attacker actually gets, not merely that a channel exists. The value-oracle and address-bit channels are most practical: K2, K4, K6, and K8 recover their targets at 61–64/64 with a handful of measurements, the observable a large, secret-monotone latency gap needing little averaging. The cross-privilege residue channels are practical but conditional: N3 recovers 60/64 on VexiiRiscv and N7 41/64 on Rocket, but only before the predictor state is overwritten, so the attacker must probe promptly after the mret: realistic for a supervisor controlling scheduling, marginal for an unprivileged one. The speculative channels (K3, NV4) demand the most (an out-of-order core, a trained misprediction, a cache read-out), yielding 42–51/64 on BOOM and nothing in-order. The coherence channel (N2) needs two co-tenant harts and a shared last level, the classic cloud model, and delivers exact AES-set recovery (5/5). Two qualifiers matter. First, the channels that survive jitter (Section 13) are the ones worth an attacker’s effort on a real part; a defender facing an unprivileged adversary can deprioritize the noise-fragile residues. Second, the deterministic read-outs (NV2/NV3) cost essentially nothing (a few CSR accesses) and return an implementation fingerprint that makes every subsequent timing attack easier by fixing which core is present. Fingerprinting is a force multiplier, so we treat the deterministic channels as first-class despite their carrying no timing distribution.

15.7. Design Recommendations

Implementers should equalize PMP-check and trap-dispatch latency; flush predictor and reservation state on privilege change; prefer fixed-latency functional units where feasible; and, where partitioning is used, apply the way-mask at the replacement policy rather than relying on software coloring. The silicon cost model (Table 23) shows these are affordable, and the practicality ordering says which to apply first: close the low-effort, high-yield value-oracle and fingerprint channels (K2, K4, K6, K8, NV2/NV3) before the conditional or speculation-gated ones. Table 47 is the checklist, ordered by Section 15.6 for top-down work.
Table 47. Hardening checklist, ordered by attacker practicality (close the top rows first). Cost is the measured silicon figure of Table 23.

15.8. Security–Energy Trade-Offs in Constrained Deployments

RISC-V’s growth into low-power domains (edge nodes, mobile ad hoc networks, sensor arrays) makes a mitigation’s power cost, not only its area, a first-class concern: defense overhead becomes battery drain. All eight mitigations move dynamic power by at most ±2 mW (Table 23); against a whole-core budget of 80–120 mW (Table 18), that is under a few percent and below the estimate’s run-to-run variation, so for seven of them, power is not the deciding factor and selection should follow the threat model. The near-zero-power mitigations (predictor flush, reservation flush, cache-way partition, STLF fence) are deployable even under tight energy constraints. The exception is not the walk-flush (large area but only + 2 mW) but the one mitigation touching the common execution path, constant-time divide: in a divide-heavy signal-processing workload, its amortized cost (6.4–13.7%) is a measurable energy increase, so the fixed-latency-divider hardware option, at 0 % amortized, is energy-preferred there. For mobile ad hoc networks, Gallina and Rossi’s probabilistic energy-aware model [79] frames trading mitigation coverage against an energy budget; under it, the flush mitigations gain an advantage, their cost paid per privilege transition so it scales with the scheduling quantum and can be traded against latency by lengthening it, a knob a battery-constrained scheduler already controls. The frontier is thus dominated by one decision (hardware versus software constant-time divide), not the eight mitigations collectively, simplifying the integrator’s search.

16. Threats to Validity

Before turning this attribution into implementer guidance, we set out the limits of the evidence behind it.
Internal validity: deterministic simulation removes measurement noise, so a positive | t | reflects a true mean separation; functional-equivalence checks guard against mitigation patches altering architectural behavior. External validity: simulation may miss DVFS, thermal, or contention effects; we mitigate by carrying eighty-four unit channels and an eleven-experiment whole-core battery to a real FPGA (Section 9) and by the injected-jitter sweep (Section 13). Construct validity: TVLA measures timing distinguishability, corroborated with independent proof-of-concept recovery so a | t | signal ties to exploitable information. Statistical-conclusion validity: we report sample counts and Wilson intervals on every proof of concept, treat | t | as a screening statistic across the matrix, and declare non-leakage only when the jitter sweep and confidence-bounded recovery agree.
FPGA-as-proxy validity: an FPGA is not an ASIC, but two facts bound the concern that silicon confirmation is itself simulation. First, the FPGA runs parallel hardware with real clocking, routing delay, and memory-refill latency, exhibiting environmental variance the pure simulator lacks, and the predicted channels are recovered on the board under it. Second, the whole-core silicon numbers are larger than the isolated-unit and simulation numbers wherever a channel traverses the memory hierarchy (a D-cache miss is 57 cy whole-core versus 14 cy at the unit), because the real coherent refill path exceeds a local array read. The FPGA thus does not flatter the attacker; if anything, it under-reports relative to a deeper-hierarchy ASIC, so the reported separations are conservative. The residual threat, a specific ASIC’s DVFS or thermal controller injecting enough jitter to mask a marginal channel, is what the masking-point analysis quantifies per channel, so a defender can read which channels are robust (K6, K9, K7, N3 to n 256 ) and which are fragile (N6, N7) without assuming a particular deployment.

17. Limitations

The corpus is six open-source cores plus two dual-hart SoCs; commercial implementations may differ and are not accessible for RTL study. FPGA power is a post-route estimate, not an application-specific integrated circuit (ASIC) measurement. Whole-core silicon readout is demonstrated on RocketTile; extending the same PC-encoding battery to the VexiiRiscv fetch path is a direct next step.

18. Future Work

Four directions follow. First, porting the program-counter-encoding readout from RocketTile to the VexiiRiscv and CVA6 fetch paths would extend whole-core confirmation across the in-order/out-of-order boundary and to a second predictor family; the one open item, the VexiiRiscv fetch-refill interaction, is bounded and characterized, not open-ended. Second, the cross-core attribution is qualitative; sweeping a single generator parameter continuously (ROB depth, predictor table size, cache associativity) would turn the six discrete points into a response curve fitting a channel’s strength to a structural parameter, converting attribution into prediction. Third, the mitigations are measured in isolation; composing all eight on one core and measuring their joint area, power, and performance would establish whether the near-free costs stay additive or interact: the question an implementer shipping a hardened core faces. Fourth, the methodology generalizes beyond timing: the same apply-and-remeasure loop could assess power side channels on the open RTL via a gate-level activity model, extending the discipline to the power axis the foundational work [14,21] targets. Each direction reuses the corpus and toolflow already built, so the marginal cost is measurement, not infrastructure.

19. Responsible Disclosure and Ethics

The cores studied are open-source projects, not deployed products with an affected user base, and every channel is measured on hardware the authors control (simulators and a lab FPGA), so no third-party system was put at risk. The contribution is defensive: each channel is paired with a concrete, silicon-measured mitigation, and the checklist (Section 15) tells implementers how to close it before a core reaches production. The RISC-V-specific findings (PMP, WARL, LR/SC, trap model) concern specification features rather than a single vendor’s bug, so the recommendations are directed at the implementer community and specification maintainers. We publish mechanisms and fixes together so the defensive information travels with the offensive; releasing the attack surface without the measured, low-cost mitigations would be the less responsible choice.

20. Conclusions

We characterized twenty-three microarchitectural side channels across six open-source RISC-V cores and two dual-hart SoCs: six novel RISC-V-specific primitives, seven cross-privilege and coherence channels, and ten known-class channels given their first systematic multi-core RISC-V treatment. The study runs from deterministic RTL simulation to real silicon: eighty-four unit-level measurements and an eleven-experiment side-channel battery on a whole RocketTile on a Zedboard FPGA, with a synthesis and dynamic-power model. Eight mitigations close their channels; six cost at most 0.8% look-up-table area, and all eight change dynamic power by under two milliwatts. The controlled width sweep turns the study into an instrument attributing each channel to a microarchitectural cause, and the resulting per-core profiles and checklist give RISC-V implementers an actionable basis for hardening.
Table 48 consolidates the study on one page (per channel, its novelty tier, strongest measured result, silicon evidence, and mitigation cost), a synthesis a practitioner can act on, every value contextualized in the body.
Table 48. C summary of all channels. Tier per Section 3.7; best result is the strongest recovery/gap/ratio measured; Silicon: WC = whole-core RocketTile, U = surgical unit, sim = deterministic simulation; Mit.: measured silicon cost (LUT) or the mechanism where area is not the metric.

Author Contributions

Conceptualization, J.M. and S.K.S.; methodology, J.M.; software, J.M., S.M. and A.P.; validation, J.M., S.M. and A.P.; formal analysis, J.M.; investigation, J.M. and S.M.; resources, S.K.S.; data curation, A.P.; writing—original draft preparation, J.M.; writing—review and editing, S.K.S., S.M. and A.P.; visualization, J.M.; supervision, S.K.S.; project administration, J.M. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The data and code that support this study will be made available upon request from the corresponding author.

Conflicts of Interest

Author Aman Pathak was employed by the company ENineHQ Technologies. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Abbreviations

The following abbreviations and symbols are used in this manuscript:
AESAdvanced Encryption StandardMSHRmiss-status holding register
ASCIIAmer. Std. Code for Info. InterchangeNA4nat.-aligned 4-byte (PMP)
ASICapplication-specific integrated circuitNAPOTnat.-aligned power-of-2 (PMP)
ASLRaddress-space layout randomizationOoOout-of-order
BHBbranch-history bufferOSoperating system
BHIbranch-history injectionPAphysical address
BHTbranch-history tablePCprogram counter
BIMbimodal branch predictorPHTpattern history table
BPUbranch prediction unitPLRUpseudo least-recently used
BRAMblock RAMPMPPhysical Memory Protection
BTBbranch target bufferPoCproof of concept
BTIbranch target injectionPTEpage-table entry
CIconfidence intervalPTWpage-table walker
CSFcontext-sensitive fencingRASreturn-address stack
CSRcontrol-and-status registerRSBreturn-stack buffer
CTconstant-timeROBreorder buffer
DRAMdynamic random-access memoryRTLregister-transfer level
DSPdigital-signal-processing sliceRV64GC64-bit RISC-V, G+C extensions
DVFSdynamic voltage/frequency scalingSGXIntel Software Guard Extensions
FFflip-flop (register)SoCsystem-on-chip
FIRRTLFlexible Intermediate Rep. for RTLROMread-only memory
FPfloating-pointSRAMstatic random-access memory
FPGAfield-programmable gate arraySSBspeculative store bypass
FPUfloating-point unitSTLFstore-to-load forwarding
FSMfinite-state machineSv3939-bit RISC-V page-table scheme
FT232HFTDI USB-to-JTAG bridgeSWsoftware
FUfunctional unitTAGEtagged geometric-history pred.
HTIFhost–target interfaceTLBtranslation lookaside buffer
HWhardwareTOCTOUtime-of-check-to-time-of-use
ILPinstruction-level parallelismTORtop-of-range (PMP mode)
IOin-order (issue)TVLATest Vector Leakage Assessment
IQissue queueVAvirtual address
ISAinstruction-set architectureVIO(Xilinx) virtual input/output
JTAGJoint Test Action GroupVPNvirtual page number
LLClast-level cacheWARL write-any-read-legal (CSR field)
LR/SCload-reserved/store-conditionalWBwriteback
LSUload-store unitWNSworst negative slack
LUTlook-up table (FPGA logic) | t | Welch’s t-statistic magnitude
MDPmemory-dependence predictor ⌀ confirmed non-leaking behavior
MESI Modified/Exclusive/Shared/Invalid NDAnonspeculative data access

Appendix A. Full Attack×Core Leakage Matrix

Table A1 is the complete leakage matrix underlying the study. ●: leaks (TVLA | t | > 4.5 and/or a positive proof of concept above chance); ⌀: confirmed non-leaking under the criterion of Section 5.3; †: cross-hart channel measured on the dual-hart SoCs; m.l.: measurement-limited on that core (channel established by leak proof, silicon, and the emitting cores).
Table A1. Complete attack×core leakage matrix. Rk = Rocket, Md = MediumBoom, Lg = LargeBoom, Mg = MegaBoom, Vx = VexiiRiscv, C6 = CVA6. NV1 is the cross-core aggregate of the N3/N7/N6/N9 residue rows and therefore has no independent per-cell pattern of its own; it is omitted here. Legend: ● marks a channel that leaks and ⌀ a channel that does not leak; “m.l.” denotes a measurement-limited result. †: cross-hart channel measured on the dual-hart SoCs.

Appendix B. Complete Code Listings

This appendix collects, in one place and with detailed inline comments, the code behind every result in the paper: the attack harness for each of the twenty-three channels (Appendix B.1), every mitigation (Appendix B.2), the proof-of-concept recovery drivers (Appendix B.3), and the Chisel/Verilog RTL and Vivado/Zedboard infrastructure that made the silicon measurements possible (Appendix B.4). The C harnesses are bare-metal RV64 and use the cycle-timing macro of Listing 2; the RTL excerpts are the minimal in-place edits applied to the Chipyard-generated design. Constants in comments (e.g., 23 vs. 30 cy) are the measured contrasts reported in the body.

Appendix B.1. Attack Harnesses

Appendix B.1.1. Tier a Novel RISC-V-Specific Channels

Listing A1 is deliberately not a single attack but an aggregator: it runs the four Tier-B machine-to-supervisor residue probes (probe_direction, probe_target, probe_retstack, probe_memdep, whose bodies are Listings A8, A12, A11, and A13) and packs their four latency gaps into a single flush_sig_t vector. The novelty is what the vector encodes rather than any one field. Because the RISC-V privileged specification does not mandate flushing predictor state on mret, each implementation retains a different subset of structures across the boundary, so the four-tuple is a stable per-core fingerprint. The finding is a negative one: a core that correctly scrubbed all predictor state on every privilege transition would return the zero vector, so any non-zero signature is direct, quantitative evidence of incomplete privilege-transition hygiene; the aggregator is simultaneously an attacker’s fingerprinting tool and a defender’s audit. The comment on the return line captures a clear contrast in the corpus: narrow in-order Rocket carries a large return-address-stack gap but almost no branch-target gap, while the wide BOOM cores show the inverse because their aggressive speculation overwrites the return-address stack before the supervisor can read it (Section 15.4). Note also that every constituent probe times only the attacker’s own branches after the boundary, so the entire fingerprint is collected from unprivileged code with no faults and no special instructions, which is why we treat it as a low-cost precursor that an adversary runs once to select the productive structure before mounting the more expensive per-structure recovery.
Listing A1. NV1 cross-core predictor-flush inconsistency: run the four M→S residue probes and pack the per-structure gaps into a signature vector; because cores flush different structures on mret, the vector identifies the implementation.
Chips 05 00029 i014
Listing A2. NV2 PMP-WARL fingerprint: write a saturating probe to a config/address pair and read back the legalized value; the retained granularity, NA4 support and PA width identify the core family with no timing.
Chips 05 00029 i015
The WARL (write-any-read-legal) convention is the mechanism that turns Listing A2 into a channel. The RISC-V specification permits software to write any value to a PMP configuration or address register and requires the hardware only to read back a legal, implementation-defined normalization of that value. The harness exploits this directly: it writes all-ones to pmpaddr0 and an NA4-mode probe to pmpcfg0, then reads both back. What survives the write is the implementation talking. The number of low-order zero bits the hardware forces into the read-back address reveals the PMP granularity G (a core with 8-byte granularity clears one more bit than a 4-byte core); whether the NA4 mode bit reads back set reveals NA4 support; and the position of the highest bit the hardware retains reveals the physical-address width. Packing these into {G, NA4, PAW, N} yields the family signature that separates the corpus cleanly: Rocket/BOOM at 4-byte/NA4/8-entry, VexiiRiscv at 8-byte/16-entry, CVA6 at 8-byte/56-bit/4-entry. The insight that makes this qualitatively different from a timing channel is that it carries no timing distribution at all: the value is architectural and deterministic, so it cannot be masked by injected jitter, DVFS, or averaging (Section 13). A defender cannot close NV2 with a noise countermeasure; the only remedies are to normalize the WARL read-back across a product line or to accept that the core family is identifiable. This is why the paper treats deterministic read-outs as first-class channels despite their triviality; their reliability is exactly what makes them a force multiplier for every timing attack that follows.
Listing A3. NV3 PTW×PMP fault-cause fingerprint: force a page-table walk into a PMP-denied page and read mcause; BOOM reports instruction-access (1), the others load-access (5).
Chips 05 00029 i016
Listing A3 composes two RISC-V-specific structures (the page-table walker and PMP) to produce a fingerprint from a fault code. The harness maps a translation whose target physical page falls inside a PMP deny region and then touches that virtual address; the resulting walk necessarily strikes the denied page, and the trap handler (installed by install_trap_handler) records the mcause the core reports. The value is not fixed by the specification because the specification does not fix where in the walk the PMP check is applied: a core that checks PMP at instruction fetch reports an instruction-access fault (cause 1), while a core that checks it on the walker’s load micro-operation reports a load-access fault (cause 5). That single bit of ordering information splits the corpus (BOOM reports 1, the others report 5), so the fault code alone names the microarchitecture family. Two insights matter here. First, NV3 is composable with NV2: a probe that first reads the WARL granularity and then triggers a denied walk narrows the implementation in two deterministic, fault-cheap steps, and the two agree by construction on the family boundary. Second, the channel is confirmed on the whole RocketTile in silicon, where a fetch into a locked deny region raises the expected cause even against machine mode; this establishes that the fingerprint is a property of the executing enforcement logic, not an artifact of the simulator’s trap model, which is precisely the objection a fault-based fingerprint invites.
Listing A4. NV4 PMPectre enforcement-timing: the warm/cold latency of a PMP-guarded access encodes the allow/deny decision; the classifier reads it with zero architectural faults across all trials.
Chips 05 00029 i017
Listing A4 is the PMPectre enforcement-timing oracle, and its structure encodes the reframing that Section 6.2 argues for. The inner nv4_probe times a single guarded access; because the PMP check sits on the access path, a permitted (warm) access and a denied (cold) access resolve at measurably different latencies. The outer nv4_bit performs the allow/deny classification by contrasting a warm reference against a cold enforcement measurement, with flush_pmp_pipeline returning the check to its cold state between the two. The subtle and important property is what the code does not do: it never reads a speculatively forwarded data byte and never raises a fault. The architectural fault count is zero across every trial, so the oracle is invisible to any fault-based monitor: an intrusion detector watching for access violations sees nothing. This is why we characterize NV4 as a reliable single-bit enforcement oracle rather than as a weak transient-data recovery: the exploitable signal is the enforcement decision itself, whose warm/cold gap scales with pipeline depth (27 cycles on Rocket up to 126 on LargeBoom) and collapses only on CVA6’s fixed-latency access path, the one confirmed non-leaking case. The mitigation follows directly from the code: because the leak is the latency difference between the two paths, equalizing the check latency (Listing A31) closes the oracle regardless of how weak any transient-data side path may be, which is why a constant-time check is the right fix and a speculation barrier is not.
Listing A5. NV5 LR/SC reservation-lifetime probe: reserve a line, wait a controlled number of cycles, then attempt an SC; the largest delay at which the SC still succeeds is the reservation-watchdog window.
Chips 05 00029 i018
Listing A5 measures the lifetime of an LR/SC reservation, a quantity the RISC-V specification leaves implementation-defined. The harness sets a reservation with lr.d, spins for a controlled number of no-ops, and then attempts an sc.d; the store-conditional succeeds only if the reservation is still live after the delay. A single call answers one yes/no question, but sweeping delay in a binary search over its range recovers the exact watchdog window at which the reservation self-clears: roughly 64–96 cycles on Rocket and VexiiRiscv, 128–256 on the wider BOOM cores, and unbounded on CVA6, which never self-clears. The volatile on the spin counter is load-bearing: without it, the compiler would fold the delay loop away and the sweep would collapse. The insight is that reservation lifetime is a deterministic core signature that doubles as a leak vector: because the reservation is an architectural state shared across contexts on a hart, a reservation that outlives a context switch (the unbounded CVA6 case being the extreme) lets one context observe whether another touched the reserved line, since the surviving reservation’s SC outcome depends on the intervening access. This is why the mitigation is a reservation flush on privilege change rather than merely a tighter lifetime bound: shortening the window narrows the exposure but does not remove the cross-context observability an unflushed reservation provides.
Listing A6. NV6 LR/SC reservation-granularity probe: reserve one line, store to a DIFFERENT line, then SC; a coarse core clears the reservation (SC fails at every offset), CVA6 clears only on a same-line store.
Chips 05 00029 i019
Listing A6 isolates the granularity of the reservation: the size of the memory region an intervening store must touch to invalidate it. The harness reserves the line at p, stores to a different line at offset off, and then attempts the SC; whether the unrelated store cleared the reservation reveals how coarsely the core tracks it. A coarse core clears on any store within a wide granule, so the SC fails at every tested offset (200/200); CVA6 tracks at fine granularity and clears only on a same-line store, so its SC never fails on the unrelated store (0/200). The off parameter is the experimental knob: sweeping it maps the exact granule boundary. NV6 is the clearest single-core discriminator in the study because the coarse-versus-fine behavior is binary and unambiguous; it singles out CVA6 with no overlap. Read together with NV5, the pair shows that the implementation-defined latitude the specification grants LR/SC (it fixes the semantics of atomicity but not the lifetime or granularity of the underlying reservation) is precisely the latitude that becomes observable: two cores that are both specification-conformant are nonetheless distinguishable in a handful of unprivileged atomic operations. The implication for implementers is that any specification degree of freedom that is architecturally visible, even one as innocuous as reservation granularity, is a candidate fingerprint, and the only way to erase it is to fix the behavior, not to hide it.

Appendix B.1.2. Tier B Cross-Privilege and Coherence Channels

Listing A7 is the receiver half of the TileLink covert channel, and its brevity hides the mechanism that distinguishes it from an ordinary cache attack. The loop first evicts the target from the receiver’s private L1 by walking a conflict buffer evbuf; the timed access to shared then either hits the receiver’s own re-fetched copy or forces a coherence transaction, depending on whether the sender (the other hart) currently holds the line. The measured contrast, 23 cycles cached versus 30 cycles when a coherence Acquire fires, is small precisely because it is not a capacity miss to DRAM but a coherence-state transition on the shared fabric: the line moves from the sender’s Modified or Exclusive state down to Shared or Invalid, and the receiver times the resulting Probe and GrantData round-trip. That distinction is central to the N2 result. It explains why private-cache coloring leaves a residual two-cycle gap (coloring changes which set a line maps to but not whether a cross-hart access provokes a transaction) and why closing the channel requires partitioning the shared last level rather than the private one (Listing A25). The same primitive, wrapped in the AES-set loop of Listing A37, yields exact T-table set recovery, which is the escalation from covert channel to key-recovery side channel.
Listing A7. N2 TileLink MESI covert channel (Evict+Time): the receiver times an access to infer whether the sender forced a coherence transaction on the shared last-level cache.
Chips 05 00029 i020
Listing A8. N3 M→S branch-direction residue: M-mode firmware trains a branch to a fixed direction; after mret, S-mode times the same branch and a misprediction reveals the trained state.
Chips 05 00029 i021
Listing A8 is written as two functions to make the privilege crossing explicit: m_train_direction runs in machine mode and biases the shared direction predictor by repeatedly resolving a branch one way, and s_probe_direction runs in supervisor mode after the mret and times the same static branch. If the predictor state trained by firmware survives the transition, the supervisor’s branch is predicted correctly and resolves fast; if it has been scrubbed, the branch mispredicts and resolves slow. The gap therefore encodes a bit of firmware control flow directly into a supervisor-visible timing. The notable feature is the two-orders-of-magnitude spread across the corpus (91 cycles on Rocket up to roughly 1535 on the wide BOOM cores), which is not because BOOM leaks “more” in any exploitable sense but because its deeper misprediction-recovery penalty inflates the raw gap. This is the clearest illustration of why raw | t | must be read alongside recovery and noise: the largest gap (BOOM) is not the easiest to exploit, and in fact the strongest byte-recovery is on the in-order VexiiRiscv (60/64), whose predictor state is not diluted by the speculative training the wide front-end injects between the attacker’s write and the victim’s read (Section 15.4). The mitigation is to flush the branch history on the privilege edge (Listings A26 and A27), which erases the residue rather than perturbing its timing.
Listing A9. N4 trap-latency ISA fingerprint: time an unimplemented-instruction trap against a legal-instruction baseline; the difference fingerprints the implemented ISA subset and trap-dispatch depth.
Chips 05 00029 i022
Listing A9 fingerprints the implemented ISA subset through trap latency. The .word 0x0000200B directive emits a raw 32-bit word chosen to be an unimplemented opcode; executing it forces a trap, and a handler that records rdcycle on entry into g_entry lets the harness measure the trap-dispatch cost. Subtracting the cost of a legal baseline instruction isolates the dispatch latency itself: the pipeline flush, the vector to mtvec, the handler entry, and the return. Because RISC-V extensions are optional, whether a given encoding traps at all depends on the implementation, and how deep the trap pipeline is varies with the microarchitecture (13 on Rocket up to 54 on LargeBoom in | t | ). The insight that makes this more than a curiosity is that the fingerprint requires no privilege: unprivileged code can install its own illegal-instruction handler and time its own trap, so an attacker sandboxed at the lowest privilege still learns which ISA extensions and which core are present. That knowledge feeds every other attack: knowing the core family tells the attacker which divider signature to expect (K2), whether the speculative channels are available (K3/NV4), and which predictor structures retain residue (NV1). This is why the paper groups the fingerprinting channels with the directly exploitable ones rather than treating them as benign.
Listing A10. N5 page-walk-cache channel: prime a walk that shares upper virtual-page-number bits with the target, then time the target; a shared prefix reuses cached intermediate PTEs and resolves faster than a cold walk.
Chips 05 00029 i023
Listing A10 exploits the page-walk cache: the structure that caches intermediate (non-leaf) page-table entries so repeated walks sharing an upper prefix need not re-read the top levels. The harness first touches prime_va to install those intermediates, then flushes only the leaf translation for target_va with flush_leaf_tlb so the walk re-runs but can still reuse the cached upper levels, and finally times the target access. A target that shares many upper virtual-page-number bits with the prime resolves faster because more of its walk is served from the cache. This is why N5 is a strictly finer oracle than the K4 TLB-presence channel (Listing A17): K4 distinguishes mapped from unmapped, a single bit, whereas N5 distinguishes how many upper bits two addresses share, leaking a prefix rather than a presence bit. The two compose naturally (a probe uses K4 to establish presence and then N5 to recover the shared prefix), and both are closed by the same sfence.vma walk-flush (Listing A32). That shared mitigation is the one comparatively expensive hardware change in the study ( + 255 LUT), because re-enabling the wide valid-clear datapath the baseline had optimized away is more logical than the off-path guards the other mitigations add: a concrete case where the leak and its fix both live in the same intermediate-caching structure.
Listing A11. N6 M→S return-address-stack residue: M-mode executes a call whose return target the RAS records; S-mode times a return and a misprediction reveals the residue. Leaks only on Rocket.
Chips 05 00029 i024
Listing A11 probes the return-address stack across the privilege boundary, and its interest is entirely in where it leaks. Machine mode executes a matched call/return so the RAS records and consumes a prediction; supervisor mode then executes its own return and times it, and a residual prediction from firmware makes the supervisor’s return resolve fast. The comment records the decisive result: the channel is present only on Rocket (a 133-cycle gap) and is a clean null on every BOOM. This is the exact inverse of the K3 speculative pattern, and the pair is the most direct cross-core attribution in the paper. The mechanism is state persistence: the narrow in-order Rocket leaves the RAS untouched between the mret and the supervisor’s return, so the residue survives, whereas the wide BOOM cores issue enough speculative call/return traffic in that window to overwrite the RAS before the supervisor can observe it. The same issue width that creates the K3 speculative channel therefore destroys the N6 residue channel, which is why the paper insists a core is never uniformly “more” or “less” leaky: width trades one exposure class for another, and a security argument that ranks cores on a single axis will mispredict N6 on exactly the cores it gets right for K3.
Listing A12. N7 M→S branch-target-buffer residue: M-mode trains an indirect branch target; S-mode times an indirect branch at the same PC and a BTB hit/miss reveals the residue.
Chips 05 00029 i025
Listing A12 is the branch-target-buffer analogue of N3: machine mode trains an indirect branch to a specific target by calling through a function pointer many times, and supervisor mode times an indirect call at the same program counter. A BTB entry that survives the transition makes the supervisor’s indirect branch predicted and fast; a scrubbed BTB makes it mispredict and slow. Where N3 leaks the direction a firmware branch took, N7 leaks the target a firmware indirect branch jumped to, which is strictly more information: a recovered target can disclose a firmware code address and defeat address-space layout randomization in the machine-mode image. N7 leaks on every core (gaps 47–167 cycles), with the strongest byte-recovery on Rocket and VexiiRiscv (41/64); like N3, its raw gap is largest on the wide cores but its recovery is best where speculative traffic does not dilute the trained entry. It shares the predictor-flush mitigation with N3 and K7, and the fact that one flush pulse (Listing A26) closes direction, target, return-stack, and memory-dependence residues together is what makes the privilege-transition flush an efficient, low-cost defense.
Listing A13. N9 M→S memory-dependence residue: M-mode trains a store/load aliasing pattern into the memory-dependence predictor; S-mode times a load and the retained prediction reveals the residue. Leaks only on VexiiRiscv.
Chips 05 00029 i026
Listing A13 targets the memory-dependence predictor, the structure that predicts whether a load may bypass an older store of unknown address. Machine mode trains a store-then-load aliasing pattern; supervisor mode issues the same pattern and times the load, which is fast if the predictor still carries the trained disambiguation. N9 is the study’s single-core anomaly: it leaks only on VexiiRiscv and is null everywhere else. The attribution is precise and is the reason the channel is worth reporting despite its narrowness: the in-order Rocket and CVA6 pipelines lack a standalone predictor of the form the attack needs, and the wide BOOM cores scrub whatever state exists through speculative memory traffic before the supervisor reads it, leaving VexiiRiscv’s lightly speculative predictor as the one structure that both exists and persists. Isolating a channel to a single core is itself a result: it names the exact structure a portable mitigation must enumerate, and it demonstrates why a defense cannot assume a common set of predictor structures across even a small corpus: a flush list tuned to BOOM would silently omit the VexiiRiscv memory-dependence predictor and leave N9 open.

Appendix B.1.3. Tier C Known-Class Channels

Listing A14 times a floating-point divide to detect the unit’s fast-path for special operands (zero, one, powers of two, and subnormals), which skip the full iterative computation. The volatile on q and the empty asm consumer prevent the compiler from hoisting or eliminating the divide, keeping it inside the timed window. K1 is deliberately included as a largely negative result: the end-to-end gap is small ( ≤ 16 cycles) and the FP divider is near-constant-time on all six cores. That negative matters because the floating-point unit is the natural place to look for a value oracle in cryptographic code, and establishing it as low-risk narrows the divider threat to the integer unit (K2). The comment records a nuance the whole-core measurement exposes: at the isolated-unit level on silicon, the fast path is real and pronounced (normal 20–54 cycles versus special-operand 0–3), so the channel exists in the hardware even though pipeline effects wash most of it out end-to-end: a reminder that a unit-level leak and an exploitable whole-core leak are different claims, and the paper is careful to report which it is measuring.
Listing A14. K1 floating-point divider fast-path: special operands (0, 1, powers of two, subnormals) take a short path; timing the divide weakly leaks the operand class.
Chips 05 00029 i027
Listing A15. K2 integer-divider value oracle: latency tracks the significant-bit count of the dividend because the divider terminates early on zero high bits; timing a divide recovers operand magnitude.
Chips 05 00029 i028
Listing A15 is the integer-divider value oracle, and it is almost identical in form to K1 but far stronger in effect. The divider terminates its iteration as soon as the remaining high dividend bits are zero, so the latency is a near-monotone function of the operand’s significant-bit count; timing one divide therefore recovers the dividend’s magnitude. The reason K2 is the paper’s most portable functional-unit channel is that every divider in the corpus shares this early-exit behavior; only the granularity of the leak differs, from Rocket’s smooth 4-to-68-cycle per-bit ramp to VexiiRiscv’s coarse three-band radix-16 staircase. The same three lines of C recover the secret on all four dividers with only a change of quantization, which is exactly why a constant-time-divide requirement cannot be stated for “the divider” but must be imposed at the level of every divider an ISA implementation ships. The mapping from a measured latency back to a bit count is the calibrated inversion of Listing A38, and the mitigation is to remove the early exit (Listings A24 and A40) so the latency no longer depends on the operand at all.
Listing A16. K3 Spectre-RSB overflow gadget: overflow the return stack so a later return mispredicts to an attacker target, whose transient execution touches a secret-dependent line the attacker then probes. OoO only.
Chips 05 00029 i029
Listing A16 is the one Tier-C harness that depends on transient execution. The recursion overfills the return-address stack; when the recursion unwinds, the return-stack predictor is exhausted and the processor speculatively mispredicts a return to an attacker-influenced target. The speculative window runs transient_gadget, which reads the secret and uses it to index a probe array, leaving a cache footprint that the attacker recovers afterward with a Flush+Reload sweep (Listing A18). The comments carry the gadget inline rather than the code because the leak is architectural-invisible: nothing the gadget does commits. K3 is the cleanest speculation-gated result in the study: it recovers 42–51/64 bytes on the out-of-order BOOM cores and sits at the chance rate, with its Wilson interval straddling chance, on all three in-order cores. That the in-order null is clean (recovery genuinely at chance rather than merely reduced) is what lets the paper state in-order immunity to the speculative return-stack attack as a positive measurement, a claim that is difficult to make on a closed commercial part where one can never be certain a channel is absent rather than below the detection floor. The mitigation stuffs the return stack with benign targets on a privilege change (Listing A28) so no attacker-controlled entry can steer a speculative return.
Listing A17. K4 TLB page-presence oracle: a mapped page hits the TLB, an unmapped page forces a page-table walk; the latency gap (up to 8.3× on CVA6) reveals page presence.
Chips 05 00029 i030
Listing A17 is the TLB page-presence oracle and is about as simple as a channel gets: time a single byte load and compare against a threshold. A mapped page hits the TLB and resolves quickly; an unmapped page forces a full Sv39 walk and resolves slowly, so the thresholded latency is the presence bit. K4 leaks on all six cores and recovers 64/64 target bits, and it is strongest on CVA6 (an 8.3× gap) precisely because CVA6’s fixed-latency access path makes the TLB-hit case especially cheap relative to the walk. The same determinism that quiets CVA6 on the enforcement and FP channels makes it loud here. The single decision the harness embodies is the choice of WALK_THRESH: it must sit between the hit and walk distributions, and the noise sweep of Section 13 is what justifies that a fixed threshold survives realistic jitter. K4 pairs with the finer walk-cache oracle N5 (Listing A10) and shares its sfence.vma mitigation; that one channel this trivial recovers full bytes on every core is a useful reminder that architectural simplicity buys no safety when the underlying structure caches an address-dependent state.
Listing A18. K5 D-cache Flush+Reload: flush the target line, let the victim (optionally) touch it, then time a reload; a hit means the victim accessed it; 14× hit/miss ratio on silicon.
Chips 05 00029 i031
Listing A18 is the canonical Flush+Reload primitive: evict the target line with clflush_line (implemented on these bare-metal cores as a fence.i plus a conflict-buffer sweep, since RISC-V has no unprivileged flush instruction), let the victim optionally touch the line, then time a reload. A hit means the victim accessed the line; a miss means it did not. K5 is the most architecture-independent channel in the paper because it depends only on set-associative caching, and its reproduction on RISC-V with a larger ratio than typical x86 reports (up to 14× on the whole RocketTile, where a resident line is 4 cycles and an evicted one is 57) is itself a finding: the gap is larger whole-core than at the isolated unit (14 cycles) because the real miss traverses the coherent D-cache, TileLink fabric, and last-level refill, whereas the unit harness hits a local array. That amplification means the isolated-unit number is a conservative lower bound on the real threat, and a defender who sizes a mitigation to the unit gap under-provisions against the whole-core reality. The same flush_reload function is the read-out for the K3 transient gadget and, wrapped in the voting loop of Listing A39, the recovery primitive under contention.
Listing A19 turns a chosen address bit into a timing signal by forcing a load to straddle a cache-line boundary. The pointer base + (1<<bit) - 1 sits one byte below a power-of-two boundary, so an 8-byte load through it crosses the boundary (and splits into two accesses) exactly when the addressing arithmetic pushes it across, which the harness arranges to depend on the target bit. A split load is materially slower than an aligned one, so the thresholded latency reveals the bit. K6 is one of the strongest and most noise-robust channels in the study on the wide cores: on the out-of-order and VexiiRiscv cores its | t | starts as high as 4386 and still clears the 4.5 threshold at n 256 under the heaviest injected jitter (up to 12.8× on VexiiRiscv), recovering 64/64 on every core, though on the in-order Rocket it masks by n 256 . The robustness has a clean cause: the split-access penalty scales with the secret bit and is large relative to the timing noise on the wide load-store units, so it degrades gracefully as jitter grows, which is why the noise sweep of Section 13 ranks K6 among the channels an attacker can rely on outside the laboratory on those cores. Its mitigation is an aligner fence that equalizes the split and non-split paths.
Listing A19. K6 misaligned-access address-bit oracle: a load that crosses a cache-line boundary at a chosen bit position splits into two accesses and takes longer, revealing that address bit.
Chips 05 00029 i032
Listing A20. K7 branch-predictor pattern trainer: drive a branch with a secret-dependent pattern, then time a probe branch whose misprediction reveals the trained 2-bit-counter state.
Chips 05 00029 i033
Listing A20 trains the branch predictor with a secret-dependent pattern and then reads it back by timing a probe branch whose misprediction exposes the trained two-bit-counter state. The training loop resolves branch_under_test according to successive bits of pattern, biasing the counters; the probe then measures whether the predictor has learned the pattern. K7 recovers 64/64 on Rocket, MediumBoom, and VexiiRiscv, and the trained per-program-counter entry is confirmed isolated and persistent on silicon. The instructive subtlety is the divergence between raw strength and exploitability: the noise-free | t | of the predictor channels scales with predictor capacity and is therefore largest on the wide BOOM cores, yet byte-recovery is best on the in-order VexiiRiscv, because BOOM’s front-end injects speculative training between the attacker’s write and the victim’s read that dilutes the signal. Reporting only the noise-free | t | would rank the cores in the wrong order for an attacker who must recover bits under contention: a concrete case where the paper’s insistence on pairing | t | with recovery and a noise sweep changes the conclusion. K7 shares the predictor-flush mitigation with N3 and N7.
Listing A21. K8 store-to-load-forwarding 4K-aliasing gadget: a store and a later load that share the low 12 address bits but differ above alias in the store buffer, stalling the load and leaking the aliasing bit.
Chips 05 00029 i034
Listing A21 exploits store-to-load forwarding under 4 KB aliasing. The store writes page-offset zero; the load address is constructed so that it shares the low twelve bits with the store (the granularity at which the core’s memory-disambiguation logic compares addresses) but differs in the upper bits exactly when the target bit is set. When the low bits collide, the load appears to alias the in-flight store and the core conservatively stalls it to preserve ordering, even though the full addresses differ; that disambiguation stall is the timing signal. K8 recovers 63–64/64 on most cores and is confirmed on the whole RocketTile (a forwarded load is 4 cycles against a 171-cycle cold-store path). It survives to the heaviest jitter level, making it, with K6 and K9, one of the channels that remain exploitable under realistic noise. The mitigation is a targeted fence that serializes a load only on a detected 4 KB alias (Listing A29); because true aliasing is a rare addressing coincidence in real code, the fence almost never fires and its amortized cost is within measurement noise even though the isolated-alias microbenchmark, which forces the alias on every load, shows a large slowdown.
Listing A22. K9 ILP fingerprint: contrast the throughput of a dependent chain against an independent bag of the same operations; the ratio exposes issue width and inverts sign on CVA6’s fixed-latency units.
Chips 05 00029 i035
Listing A22 fingerprints the core by contrasting two loops built from the same multiplies in different dependency structures. The first loop is a dependent chain (each multiply–add feeds the next), so it runs at one operation per functional-unit latency regardless of how wide the core is. The second loop spreads the same work across four independent accumulators, so a wider core issues more of them per cycle. Their ratio is therefore a direct read of issue width: greater than 100 on a wide out-of-order core, and the ratio grows across the BOOM sweep. The notable twist is the sign inversion on CVA6: its fixed-latency functional units make the nominally “independent” loop the slower one, pushing the ratio below 100, so the very determinism that silences CVA6 on the K1 and NV4 timing channels makes it loud and distinctive here. K9 is thus a case study in the paper’s recurring theme that removing a timing difference relocates rather than eliminates a fingerprint: an implementer who flattens functional-unit latency to close value oracles trades them for a distinctive throughput signature.
Listing A23. K10 replacement-policy channel: prime the ways of a set, let the victim access it, and issue a conflicting access; a deterministic policy evicts a specific victim way the attacker can observe.
Chips 05 00029 i036
Listing A23 attacks the cache replacement policy rather than its capacity. The harness primes every way of a target set, lets the victim optionally access the set, then issues one conflicting access that forces an eviction; on a core with a deterministic replacement policy, the evicted way is predictable, so timing a subsequent access to a specific way reveals whether the victim disturbed the set. The distinguishing feature of K10 is its presence pattern: it leaks on five cores and is a clean null on VexiiRiscv, whose replacement policy does not expose a primeable, deterministic victim way. Unlike almost every other channel in the study, K10 tracks cache organization rather than pipeline width or order (it is the one channel whose presence does not follow the in-order/out-of-order axis at all), which is a reminder that the replacement policy is an independent design knob with its own leakage consequences that a width-focused security review would miss. K10 is realized both as a single-core occupancy probe (weak) and as the cross-hart Evict+Time path that recovers 3/3, and the way-eviction is confirmed on silicon (survivor 4 cycles versus evicted victim 16). It shares the RTL way-partition mitigation with K5 and N2 (Listing A25), so one metadata change closes three distinct cache channels.

Appendix B.2. Mitigation Implementations

The mitigations fall into four families that recur throughout the study. Equalize defenses remove a data-dependent latency so no timing distribution remains (M1 constant-time divide, M7 constant-trap, M8 constant-PMP); erase defenses wipe state that should not cross a boundary (M3/M4 predictor flush, M5 RAS stuffing, M9 walk-flush); partition confines a shared resource without adding latency (M2 way-partition); and serialize stalls only the one ambiguous case (M6 store-to-load fence). The design principle that makes seven of the eight near-free is that every equalize, erase, and partition guard sits off the common execution path (a flush fires only on a rare privilege transition, a partition adds no per-access latency, a fence fires only on a rare alias), so their amortized cost rounds to zero even where their worst-case microbenchmark cost is large. Only constant-time divide touches the common arithmetic path, which is why it is the sole software mitigation with a non-trivial amortized cost and why the fixed-latency-divider hardware option (Listing A40) is preferred where available.
Listing A24. M1 constant-time bit-serial divide (K1/K2): a fixed 64-iteration loop with data-independent control flow for non-zero divisors, replacing the early-terminating divider that leaks dividend magnitude.
Chips 05 00029 i037
Listing A24 is the software constant-time divide that closes K1 and K2. The single design rule is that the loop always runs 64 iterations and does the same work each iteration regardless of the operands: there is no early exit on zero high bits, which was the leak. The subtraction is made data-independent by computing a comparison flag ge and conditionally subtracting a masked value rather than branching, so no operand-dependent branch or memory access remains inside the loop. The one residual data-dependent construct, the ternary ge ? b : 0, compiles to a conditional-move or a mask-and rather than a branch on the RISC-V targets we use, which is what preserves constant time; on a target that lowered it to a branch the author would replace it with an explicit mask (r -= b & (-ge)). The cost is real because this guard is on the common arithmetic path: 6.4–13.7% amortized on cores without a fixed-latency divider. That is precisely why the paper recommends the RTL fixed-latency divider (Listing A40) instead wherever the hardware can be modified: it achieves the same constant time at 0% amortized cost by flattening the datapath rather than padding the software.
Listing A25. M2 RTL cache way-partition (K5/K10/N2): a domain mask on the replacement-way selection confines eviction to a subset of ways; measured cost −5 LUT on silicon.
Chips 05 00029 i038
Listing A25 is the RTL way-partition, the single change that closes K5, K10, and N2. It intercepts the one line of the D-cache that selects a replacement victim (the baseline picks any way from the LFSR) and masks the candidate with a per-domain dom_mask so a domain can only evict within the ways it owns. The fall-back branch matters for correctness: when the masked candidate is empty (the LFSR picked a way outside the domain), the code selects any way within the domain rather than stalling, so the partition never deadlocks the replacement logic. The result is that this measures at − 5 LUT on silicon (within synthesis noise, effectively free) because it reuses the existing replacement-selection logic and adds only a mask, in contrast to the randomizing cache defenses (CEASER, ScatterCache) that insert a whole address-permutation stage. This is the practical benefit of the open-RTL setting: the defense’s cost is the implemented silicon delta against the very core the attack was measured on, not a model, and here that delta is essentially zero.
Listing A26. M3 predictor-and-reservation flush on privilege change (N3/N7/N6/N9/K7/NV5/NV6): one pulse on mret/trap clears branch history, BTB-valid, RAS and the LR/SC reservation; +2 LUT.
Chips 05 00029 i039
Listing A26 closes the most channels of any mitigation in the paper: a single pulse on the privilege-change edge that simultaneously clears the branch history, the branch-target-buffer valid bits, the return-stack pointer, and the LR/SC reservation valid bit. One four-line always block therefore closes seven channels at once (N3, N7, N6, N9, K7, NV5, and NV6) because all of them are residue channels whose common cause is state surviving a privilege transition. The condition mret_wb | trap_taken is the entire cost model: the clear fires only on a privilege edge, so at realistic context-switch rates, its per-switch cost is amortized over millions of intervening instructions, and the measured overhead is ≈0% amortized at + 2 LUT. Zeroing the pointers rather than walking and rewriting the arrays is deliberate: invalidating the RAS pointer and the BTB valid bits discards the state in one cycle without a table sweep, which is what keeps the hardware cost to a couple of LUTs. The software view (Listing A27) shows the alternative when the flush must be driven from firmware rather than baked into the RTL.
Listing A27. M4 gshare-aware branch-history flush (software view): clears only the entries reachable from the active global history, so the cost scales with history length rather than the full table.
Chips 05 00029 i040
Listing A27 is the software counterpart of the RTL flush, for platforms that cannot patch the core but can run trusted firmware at the privilege boundary. Its one optimization addresses the cost of the 612-cycle full-table flush: rather than clearing every branch-history-table entry, it clears only the 2^depth entries reachable from the currently active global history, so on a shallow-history workload, the cost scales with the history actually in use rather than with the full table. The conservative full sweep remains the default when active_ghist_depth returns zero (unknown depth) or under high-frequency interrupts where the safe bound is preferable. The trailing ras_stuff call composes the return-stack defense into the same routine, so a single firmware hook on mret covers both the direction/target predictors and the return stack, the software mirror of the one-pulse RTL flush.
Listing A28. M5 return-stack-buffer stuffing (K3/N6): overwrite the RAS with benign return targets on a privilege change so no stale or attacker-controlled entry can steer a speculative return.
Chips 05 00029 i041
Listing A28 is return-stack-buffer stuffing, the software defense for K3 and N6. It executes RAS_DEPTH benign jal pushes to in-line targets, overwriting every entry of the return stack with a known-safe address so that no stale or attacker-planted entry can steer a later speculative return. Each jal ra, 1f immediately followed by its label pushes one benign return address, so RAS_DEPTH of them cycle the whole stack through attacker-irrelevant targets; after the loop, the RAS holds only benign addresses. Because the stuffing runs at the privilege boundary rather than per instruction, its cost amortizes exactly like the predictor flush. It directly counters the K3 gadget (Listing A16), which relies on a mispredicted return to open its transient window: if every RAS entry points somewhere safe, the misprediction lands on a benign target and no secret-dependent gadget runs.
Listing A29. M6 store-to-load disambiguation fence (K8): when a load 4 KB-aliases an in-flight store, stall one cycle instead of speculatively forwarding; fires only on the rare alias.
Chips 05 00029 i042
Listing A29 is the store-to-load fence for K8, and it is the clearest illustration of the “serialize only the ambiguous case” family. The signal alias4k is true only when a load matches an in-flight store on the low twelve bits (the 4 KB aliasing window) and ~full_addr_match restricts the stall to the case where the full addresses actually differ, i.e. the genuinely ambiguous forward. The load is stalled one cycle in exactly that case and forwarded normally otherwise, so the timing distinction the attack relies on disappears while ordinary loads are untouched. Because true 4 KB aliasing is a rare addressing coincidence in real code, fwd_stall almost never asserts and the amortized cost is within measurement noise, even though the isolated-alias microbenchmark, which forces the alias on every load, shows a large slowdown. This gap between worst-case and amortized cost is the recurring signature of an off-path guard, and the two-condition predicate is what keeps the guard off the path for all but the attack’s own access pattern.
Listing A30. M7 constant-latency trap dispatch (N4): pad every trap entry to a fixed cycle count so the trap-handler entry latency no longer fingerprints the trapping cause/ISA subset.
Chips 05 00029 i043
Listing A30 closes the N4 trap-latency fingerprint by padding every trap entry to a fixed cycle count. On a trap, the counter loads TRAP_FIXED and dispatch is withheld until it reaches zero, so the handler always begins after the same number of cycles regardless of which cause raised the trap or how deep the natural dispatch would have been. The counter approach is chosen over redesigning the dispatch pipeline because it adds a fixed latency without touching the surrounding logic, which keeps the change small and auditable. Its cost is ≈0% amortized despite a larger LUT figure ( + 238 ) than the flush guards, because the pad fires only on the trap-vector path: a program that raises no illegal-instruction trap never traverses it, so its steady-state cycle count is unchanged and the overhead is the trap rate times the added latency, which, for any workload that is not deliberately faulting, rounds to zero. TRAP_FIXED must be chosen to cover the worst-case natural dispatch across the implemented causes, which is why this defense’s area cost is dominated by the wide comparator rather than by the counter itself.
Listing A31. M8 constant-time PMP check (NV4): force the permit and deny paths to the same latency so the enforcement decision no longer carries a warm/cold timing gap; +4 LUT.
Chips 05 00029 i044
Listing A31 closes the NV4 enforcement-timing oracle by the same padding idea applied to the PMP check: both the permit and the deny paths wait for the counter, so the warm/cold gap that classified the allow/deny bit collapses. The essential detail is that the pad applies to both outcomes, not just the slow one: equalizing the two paths is what removes the mean separation, and it is why an averaging or repeated-trial attacker gains nothing, since there is no residual difference to average. This directly implements the argument in the NV4 attack commentary (Listing A4): because the exploitable signal is the latency difference between permit and deny, equalizing it closes the oracle regardless of how weak any transient-data side path is, which is why a constant-time check is the correct fix rather than a speculation barrier. At + 4 LUT and no dynamic power, it is among the cheapest defenses in the study.
Listing A32. M9 sfence-based TLB/walk-cache flush (K4/N5): a full sfence.vma on a context switch clears the translation state so no page-presence or walk-cache residue crosses the boundary.
Chips 05 00029 i045
Listing A32 closes the TLB-presence (K4) and walk-cache (N5) channels with a single sfence.vma zero, zero on a context switch, which invalidates all address-space translations so no presence or shared-prefix residue survives to the next context. The “memory” clobber is required to stop the compiler from moving loads across the fence. This is the one comparatively expensive mitigation in the study: not in software cost, which is a single instruction, but in the + 255 LUT, it costs when the corresponding hardware valid-clear datapath is re-enabled: the baseline had constant-propagated away the wide TLB and walk-cache valid-clear logic, and closing the channel means bringing it back. Even so its dynamic-power delta is only + 2 mW, and on realistic scheduling quanta (where context switches are infrequent relative to compute), the amortized runtime cost is far below the worst-case per-switch figure. The contrast with the − 5 LUT way-partition is instructive: not every channel closes for free, and the walk-cache is the one structure whose defense genuinely reintroduces logic the baseline had optimized out.
Listing A33. PMP region configuration helper used by the NV2/NV4 harnesses and mitigations: a TOR region with R/W/X and the lock bit written through the WARL pmpcfg register.
Chips 05 00029 i046
Listing A33 is the shared PMP-configuration helper the NV2 and NV4 harnesses and the constant-time-PMP mitigation all build on. It writes a top-of-range (TOR) region with the chosen read/write/execute permissions and, optionally, the lock bit PMP_L. Two details carry weight. First, the address is written as top>>2 because pmpaddr encodes addresses in units of four bytes: getting this shift wrong is the most common bug in PMP setup and silently mis-sizes the region. Second, the lock bit does more than prevent reconfiguration: once set, it binds the region against machine mode itself, which is exactly the property the whole-core silicon experiment exercises when a fetch into a locked deny region raises mcause=1 even in M-mode. The comment flags that the read-back of pmpcfg0 after this write is itself the NV2 fingerprint, so the same helper that configures a protection region is also the front half of the fingerprinting attack, a compact reminder that, on RISC-V, the configuration interface and the side channel are the same registers.

Appendix B.3. Proof-of-Concept Recovery Drivers

The drivers below convert a raw channel probe into a reported result: a leakage verdict (TVLA), a recovery proportion with a confidence interval (Wilson), or a recovered secret (the byte-recovery, AES, magnitude, and voting drivers). They are what make the paper’s numbers reproducible: each attaches a sample count and an interval to a channel rather than a single anecdotal timing.
Listing A34. TVLA driver: partition samples into two input classes, accumulate mean/variance online, and computeWelch’s t; | t | = 4.5 declares leakage.
Chips 05 00029 i047
Listing A34 is the leakage-detection core. It accumulates the two input classes’ timing distributions online with Welford’s algorithm (upd maintains a running mean and sum-of-squares in one pass), so the driver never stores the raw samples and can run indefinitely inside the bare-metal harness. welch_t then forms the unequal-variance t-statistic; a magnitude above 4.5 declares leakage, the community-standard TVLA threshold, which corresponds to a two-tailed p < 10 − 5 at the sample sizes used. The reason Welford rather than a naive two-pass mean matters here is numerical: on a deterministic simulator, the within-class variance can be extremely small, and the naive sum-of-squares would lose precision exactly when the signal is cleanest. The comment records the usage contract (classify each trial into class A or B by its known input and feed the measured latency), and it is this same driver, run across every attack×core cell, that produces the screening statistic the paper treats as one leg of a three-way agreement (screening, recovery, and where measured, silicon).
Listing A35. Wilson 95% confidence interval reported for every proof-of-concept recovery proportion k/n.
Chips 05 00029 i048
Listing A35 computes the Wilson score interval attached to every recovery proportion in the paper. The Wilson interval is chosen deliberately over the more familiar normal (Wald) interval because it behaves correctly near the boundaries: at recovery rates close to 100%, where several of our proofs of concept sit (64/64), the Wald interval would extend past 1.0 or collapse to zero width, both of which would misstate the evidence. The Wilson form keeps the interval inside [ 0 , 1 ] and asymmetric near the edges, so a 64/64 result is reported as [ 94.3 , 100 ] rather than as a meaningless point. This is the statistical discipline that lets the paper distinguish “no evidence of leakage” from “evidence of no exploitable leakage”: a channel is declared non-leaking only when its recovery interval excludes the chance rate from the wrong side, and a weak channel like single-shot K5 is reported at its measured rate with an interval that visibly reaches toward chance rather than being rounded up to a clean claim.
Listing A36. Generic byte-recovery PoC (K4/K5/K6/K7/K8): for each of the 64 secret bytes, threshold a channel probe into a recovered bit and tally exact matches against the known plaintext.
Chips 05 00029 i049
Listing A36 is the generic byte-recovery harness that turns any of the Tier-C timing oracles into a concrete recovery number. For each of the 64 secret bytes, it recovers eight bits by thresholding a channel probe, assembles the guessed byte, and counts exact byte matches against the known plaintext. Two design choices make the reported number conservative. First, the success criterion is exact-byte equality, not per-bit accuracy: a harness that reported per-bit hit rate would inflate the result, because 7-of-8 correct bits is a failed byte, and requiring the whole byte is the conservative measure an attacker actually needs. Second, the oracle is passed in as channel_probe, so the same recovery loop drives K4, K5, K6, K7, and K8 without change, which is why the recovery figures across those channels are directly comparable: they differ only in the physical oracle, not in the scoring. The returned count feeds wilson to produce the interval reported in the proof-of-concept table.
Listing A37. N2 AES T-table Evict+Time PoC: for each candidate set index, evict it, let the victim run one AES, and time a reload; the slowest reloads mark the accessed T-table lines (5/5 exact set recovery).
Chips 05 00029 i050
Listing A37 escalates the N2 coherence primitive into a key-recovery proof of concept against an AES T-table implementation. For each of the sixteen candidate cache sets, it evicts the set, runs one victim encryption, and times a reload; a slow reload means the victim’s key-dependent table lookup touched that set. Taking the argmax over the sixteen timings recovers the T-table set index the victim accessed, which is the classic first-round key-byte leak. The reason this works reliably enough for 5/5 exact set recovery is that the underlying N2 channel times a coherence-state transition rather than a capacity miss (Listing A7), so the eviction is deterministic and the victim’s access produces a clean, repeatable slowdown on exactly the accessed set. This driver is the concrete answer to whether the TileLink covert channel is more than a laboratory curiosity: wrapped around a real AES it yields key-relevant recovery, which is why the threat model lists the cross-hart shared last-level cache (scenario S2) as a first-class deployment concern.
Listing A38. K2 divider-magnitude recovery: map the measured divide latency onto the divider’s known latency ramp to recover the dividend’s significant-bit count (61/64 exact on Rocket).
Chips 05 00029 i051
Listing A38 converts a raw K2 divide-timing measurement into recovered operand bits. It times one divide with intdiv_probe (Listing A15) and inverts the divider’s calibrated latency ramp (the per-core curve of Figure 24) to read off the dividend’s significant-bit count. The calibration is central: because each core’s divider has a different ramp shape (Rocket’s near-linear per-bit slope, VexiiRiscv’s coarse radix-16 staircase), the lookup calib_lat_to_bits is per-core, and the same measured latency decodes to different bit counts on different cores. This is the recovery side of the paper’s “one attack, four signatures” point: the C attack is identical everywhere, but the decoding table is core-specific, and once calibrated, it recovers 61/64 divisor-magnitude bits exactly on Rocket. The dependence on a calibration table also explains why the fingerprinting channels (N4, NV2) are a force multiplier: knowing the core selects the right ramp before the first recovery measurement.
Listing A39. K5 voted recovery under contention: repeat the Flush+Reload trial and majority-vote each bit, reporting the voted rate and its Wilson interval rather than a best-of-n figure.
Chips 05 00029 i052
Listing A39 is the recovery driver for a channel too noisy to read in a single shot, such as the D-cache Flush+Reload under cross-hart contention. It repeats the trial rounds times and majority-votes the per-round outcomes. The important methodological point is what the paper does with the result: it reports the voted rate and its Wilson interval, not a best-of-n figure. A best-of-n report would cherry-pick the luckiest run and overstate what a real attacker obtains; voting reflects what a genuine repeated-trial adversary actually recovers under the same noise. This is why the weak channels in the proof-of-concept table (single-shot K5, K1) are reported at their measured voted rate with intervals that reach toward chance rather than being promoted to full-recovery claims: the voting driver is the mechanism that keeps the noisy channels from being overstated, and it is the counterpart to the adaptive-attacker analysis, which asks whether repeated trials can defeat a given mitigation.

Appendix B.4. Chisel/Verilog RTL and FPGA Infrastructure

This final group is the hardware that separates the study from a simulation-only paper. Two problems had to be solved to measure a whole executing core on the Zedboard. The first was getting a result out: a computed value inside the core has to reach a JTAG-readable probe, and the obvious path (write it to memory and read the memory over the debug link) depends on a coherence writeback that, in the minimal harness, never fired. The solution is the program-counter-encoding channel: the core packs its observables into a jump target, and a purpose-built read-only ROM (Listing A43) serves an infinite self-loop at every address so the committed program counter latches at the encoded value, which a Xilinx VIO then reads (Listings A44 and A45). The second problem was bring-up: the flow had never produced a live reading until the device package, probe file, probe names, and value radix were all corrected (Listings A48 and A49). The RTL below is the minimal scaffolding (program memory, readout ROM, VIO, and the Chisel sources of the mitigations) that made the eleven-experiment whole-core battery possible. Everything here is additive: it wraps the unmodified Chipyard-generated core rather than altering it, so the silicon measurement is of the same design the simulation characterizes.
Listing A40. Constant-time divider core (M1 in RTL): the iterative datapath is forced to run the full 64 iterations by removing the early-termination guard, flattening the operand-dependent latency (K1/K2).
Chips 05 00029 i053
Listing A40 is the RTL realization of the constant-time divide and the reason the paper can claim a 0%-amortized hardware option for K2. The single change from the leaking baseline is the deletion of the early-termination guard (shown commented at the top): the baseline transitioned to DONE as soon as the remaining dividend bits were zero, and that data-dependent exit was the entire leak. Forcing the state machine to run all 64 iterations regardless of the operands flattens the latency at the datapath level, so unlike the software constant-time divide (Listing A24), there is no per-operation software overhead: the fixed-latency behavior is free because the hardware simply always takes the worst-case path it was already capable of. This is the divider whose flattened latency is confirmed on silicon, and it is the concrete artifact behind the recommendation that a product line facing K2 ship a fixed-latency divider rather than pad every divide in firmware.
Listing A41. LR/SC reservation module (lrsc_resv.v) built to realize NV5/NV6 on silicon: sets a reservation on LR, clears it on SC, on a store to the reserved granule, or on a watchdog timeout.
Chips 05 00029 i054
Listing A41 is the lrsc_resv.v module written to realize the LR/SC reservation on silicon so that NV5 and NV6 could be exercised as hardware rather than only in simulation. It makes the two implementation-defined quantities the attacks probe into explicit, tunable parameters: GRAN is the granularity (the number of low address bits ignored in the same comparison, so a larger GRAN is a coarser reservation), and WATCHDOG is the lifetime after which the reservation self-clears. Setting these two parameters reproduces the full spread of corpus behaviors: from CVA6’s fine granularity and unbounded lifetime to the coarse, watchdog-bounded reservations of the other cores. Exposing them as parameters is itself the insight the appendix is meant to convey: NV5 and NV6 are not bugs to be patched but points in a two-dimensional design space the specification leaves open, and the module lets an implementer see exactly which point they have chosen and what it discloses. The same valid bit is what the M3 flush (Listing A26) clears on a privilege change.
Listing A42. Whole-core wrapper (Chisel): attach a TileLink-C BRAM program memory and a debug ROM to a RocketTile so it boots bare-metal from the reset vector on the Zedboard.
Chips 05 00029 i055
Listing A42 is the Chisel wrapper that turns a bare RocketTile into something that boots on an FPGA with nothing else attached. It instantiates the tile, a 256 KB TileLink RAM at 0x80000000 holding the bare-metal image, and the read-out ROM, and wires the tile’s master port through TileLink fragmenters to both. The LazyModule/:= diplomatic-connection style is Chipyard’s mechanism for negotiating bus widths and address maps at elaboration time, which is why the wrapper is only a handful of lines: the crossbar, the address decoding, and the beat-size adaptation are all synthesized from these declarations. The design choice that matters is that everything hangs off the tile’s existing master node with no modification to the tile itself: the core under measurement is byte-identical to the simulated one, so a channel seen on this bitstream is a property of the same RTL the rest of the paper characterizes, not of an FPGA-specific variant. This wrapper is what fits at 56% of the xc7z020 and closes timing at 25 MHz, leaving room for the program memory and debug logic.
Listing A43. Read-only TileLink-C ROM that serves j self at every address (Chisel): the PCencoding program jumps to base+enc*64; this ROM lets the committed address latch so the VIO can read it, independent of the cache writeback path.
Chips 05 00029 i056
Listing A43 is the small but essential piece that makes the whole-core read-out work. It is a TileLink manager that answers every Get with the same data (the encoding of the RV64 instruction jal x0, 0, an unconditional jump to self) so that whatever address the core fetches from within the ROM’s range, it fetches an infinite self-loop and its program counter comes to rest there. The PC-encoding program (Listing A45) jumps to BASE + enc*64; because the ROM serves j self at that target, the committed program counter latches at exactly the encoded value, which the VIO reads. The reason this indirection is necessary rather than simply writing enc to memory is stated in the subsection intro: the D-cache writeback path produced zero coherence writebacks in the minimal harness, so a memory-based read-out never delivered a value. The PC-encoding channel sidesteps the cache and coherence subsystem entirely (it depends only on instruction fetch and PC commit, which every core does), and it was 100% reliable across all eleven whole-core experiments. It is, in effect, a deliberately constructed side channel used as a debug instrument.
Listing A44. VIO instrumentation (Chisel BlackBox): expose the last committed PC so the host reads the encoded observable over JTAG; last_addr is the readout channel of the battery.
Chips 05 00029 i057
Listing A44 is the observation half of the read-out. A register lastAddr latches the tile’s committed program counter whenever a commit is valid, and that register drives the input probe of a Xilinx VIO black box, which the JTAG debug bridge samples on the host. The VIO is declared as a Chisel BlackBox because the primitive itself is a Xilinx IP the synthesis tool supplies; Chisel only needs its port signature to wire it in. The single design decision here is to latch the committed PC rather than the fetched or speculative one, so that the value the host reads corresponds to an instruction that actually retired. The PC-encoding jump has committed by the time the core is spinning, so lastAddr holds the encoded observable stably for the VIO to read at leisure. Together with the ROM, this forms a two-part instrument: the ROM stops the PC at the encoded value, and this register plus VIO exports it, with neither depending on the memory or coherence subsystem.
Listing A45. PC-encoding readout program (RV64 bare metal): measure two observables, pack them into a jump target, and jump so the committed PC (read by the VIO) encodes both values.
Chips 05 00029 i058
Listing A45 is the bare-metal program that drives the read-out. It takes two measured observables in a0 and a1 (for the K5 row of the battery, for instance, the resident and evicted access latencies), masks each to a byte, packs them into a sixteen-bit code enc, multiplies by the 64-byte jump stride, adds the ROM base, and jumps to the resulting target. The final jr is what commits the encoded value into the program counter; the ROM then holds the core there. The host arithmetic in the trailing comment inverts the packing to recover both observables from the single last_addr the VIO reports. Two bytes per read-out is a deliberate budget: it lets one JTAG sample carry a benign/attack pair (the two sides of a contrast) so each battery experiment is a single reading rather than two, which is why the eleven experiments fit comfortably on one bitstream. The 64-byte stride is chosen to exceed a cache line so that adjacent encodings cannot alias in the fetch path, keeping the committed address unambiguous.
Listing A46. Rocket way-partition patch in Chisel (source of the M2 Verilog): mask the PLRU/replacement victim with a per-domain way set inside the D-cache metadata array.
Chips 05 00029 i059
Listing A46 is the Chisel source from which the M2 way-partition Verilog (Listing A25) is generated, shown to make the connection between the mitigation as written and the mitigation as measured explicit. It adds a domainWays register vector (one owned-way mask per protection domain), converts the baseline replacement victim to one-hot, masks it, and writes back either an in-domain candidate or, when the masked set is empty, any way the domain owns. The single replaced line is flagged in the trailing comment (was: replaceWay), underscoring that the whole defense is one substituted victim expression. Presenting the Chisel alongside the Verilog is the point: the paper’s cost figures come from synthesizing this exact source into the same RocketTile the attack runs on, so the − 5 LUT result is not a model of a defense but a measurement of this code, which is the methodological advantage of an open generator that the paper repeatedly leans on.
Listing A47. Predictor/reservation flush hook in Chisel (source of the M3 Verilog): assert a clear on the privilege-change edge into the BPU and LR/SC reservation.
Chips 05 00029 i060
Listing A47 is the Chisel hook behind the M3 flush. On the privilege-change edge it asserts the flush inputs of the branch predictor, the branch-target buffer, the return-address stack, and the D-cache’s LR/SC reservation in a single when block. Showing it in Chisel exposes how the flush composes across pre-existing module boundaries: each of bpd, btb, ras, and dcache already had a flush or reset port for functional reasons (pipeline squashes, misprediction recovery), and the mitigation reuses those ports rather than adding new clear logic, which is why the synthesized cost is only + 2 LUT, almost all of it the fan-out of the privChange signal. This is the RTL-level explanation for a claim the performance section makes at the workload level: closing the seven residue channels is cheap because the hardware to erase the state already exists, and the mitigation only has to trigger it on one additional edge.
Listing A48. Vivado build (TCL): synthesize, implement, and write the bitstream for the whole-core harness on the correct Zedboard part (xc7z020clg484: the clg484 package fix was essential).
Chips 05 00029 i061
Listing A48 is the Vivado batch flow that takes the generated Verilog to a bitstream, and it encodes two hard-won bring-up lessons. The first is the device string xc7z020clg484: an earlier flow targeted the superficially similar clg400 package, whose different pin and clock mapping left the design with a dead clock and a VIO that never enumerated, so no reading was ever possible. The correct package is not a detail but the difference between a working and a non-working measurement, which is why it is called out in the caption. The second is the pairing of report_utilization and report_power immediately after routing: these are the exact post-route reports the mitigation cost model is read from, so running them in the same script that produces the bitstream guarantees that a defense’s area and power figures refer to the same placed-and-routed design whose security effect is measured. The final write_debug_probes regenerates the .ltx probe file; a stale probe file was another cause of the VIO reading nothing, because the probe names in the file must match the synthesized nets.
Listing A49. On-board measurement (Vivado TCL): program the bitstream, poll for the VIO, set unsigned radix, and read the readout probe by net name over JTAG.
Chips 05 00029 i062
Listing A49 is the on-board measurement script, and its brevity belies how many bring-up failures each line encodes. After programming the bitstream and its matching probe file, the while loop polls until the VIO enumerates, because the debug core is not immediately visible after configuration and a non-blocking read would return nothing. Mistaking that transient for a hardware failure was an early dead end. Fetching the probe by net name (last_addr) rather than by positional index is essential because the index is not stable across builds, and setting the radix to UNSIGNED is what makes the committed address decode to the value the host arithmetic expects rather than a two’s-complement reading. Only after all four (correct package, fresh probe file, name-addressed probe, unsigned radix) were right did the flow produce its first live reading; the script is short precisely because the difficulty was in discovering these settings, not in expressing them. This is the command that produces every number in the whole-core silicon battery.
Listing A50. Bare-metal build wrapper and linker placement: cross-compile an attack driver to an RV64GC image and place code and the eviction region inside the 512 KB simulated/BRAM memory.
Chips 05 00029 i063
Listing A50 closes the appendix with the build wrapper that ties the two measurement worlds together. It cross-compiles an attack driver to a static, freestanding RV64GC image with -nostartfiles and a custom linker script, then objcopies it to a raw binary for BRAM initialization. The key property is stated in the first comment: the same image runs on the Verilator simulator and on the FPGA. Because the linker places code at 0x80000000 (the address the whole-core wrapper’s program memory answers) and reserves the eviction buffer as a NOLOAD region sized to fit inside the 512 KB memory, an attack harness built once is exercised identically in deterministic simulation and on silicon. That single-image discipline is what makes the simulation-to-silicon comparison a genuine cross-check rather than a comparison of two different programs: when the paper reports that a whole-core miss is 57 cycles against the simulator’s mechanism prediction, both numbers come from this one binary. The linker comment also records the two constraints that shaped every harness (code at the fixed base and the eviction region bounded to 192 KB so the stack ceiling is never breached), which are the reproducibility details Section 10 enumerates and which this wrapper enforces mechanically.

References

  1. Kocher, P.; Horn, J.; Fogh, A.; Genkin, D.; Gruss, D.; Haas, W.; Hamburg, M.; Lipp, M.; Mangard, S.; Prescher, T.; et al. Spectre Attacks: Exploiting Speculative Execution. In Proceedings of the IEEE Symposium on Security and Privacy (S&P), San Francisco, CA, USA, 19–22 May 2019; pp. 1–19. [Google Scholar] [CrossRef] [Scilit]
  2. Lipp, M.; Schwarz, M.; Gruss, D.; Prescher, T.; Haas, W.; Fogh, A.; Horn, J.; Mangard, S.; Kocher, P.; Genkin, D.; et al. Meltdown: Reading Kernel Memory from User Space. In Proceedings of the 27th USENIX Security Symposium, Baltimore, MD, USA, 15–17 August 2018; pp. 973–990. Available online: https://www.usenix.org/conference/usenixsecurity18/presentation/lipp (accessed on 1 August 2026).
  3. Asanović, K.; Avizienis, R.; Bachrach, J.; Beamer, S.; Biancolin, D.; Celio, C.; Cook, H.; Dabbelt, D.; Hauser, J.; Izraelevitz, A.; et al. The Rocket Chip Generator; Technical Report UCB/EECS-2016-17; University of California: Berkeley, CA, USA, 2016; Available online: https://www2.eecs.berkeley.edu/Pubs/TechRpts/2016/EECS-2016-17.html (accessed on 1 August 2026).
  4. Zaruba, F.; Benini, L. The Cost of Application-Class Processing: Energy and Performance Analysis of a Linux-Ready 1.7-GHz 64-Bit RISC-V Core in 22-nm FDSOI Technology. IEEE Trans. VLSI Syst. 2019, 27, 2629–2640. [Google Scholar] [CrossRef] [Scilit]
  5. Celio, C.; Patterson, D.A.; Asanović, K. The Berkeley Out-of-Order Machine (BOOM): An Industry-Competitive, Synthesizable, Parameterized RISC-V Processor; Technical Report UCB/EECS-2015-167; University of California: Berkeley, CA, USA, 2015; Available online: https://www2.eecs.berkeley.edu/Pubs/TechRpts/2015/EECS-2015-167.html (accessed on 1 August 2026).
  6. Amid, A.; Biancolin, D.; Gonzalez, A.; Grubb, D.; Karandikar, S.; Liew, H.; Magyar, A.; Mao, H.; Ou, A.; Pemberton, N.; et al. Chipyard: Integrated Design, Simulation, and Implementation Framework for Custom SoCs. IEEE Micro 2020, 40, 10–21. [Google Scholar] [CrossRef] [Scilit]
  7. Waterman, A.; Asanović, K.; Hauser, J. (Eds.) The RISC-V Instruction Set Manual, Volume II: Privileged Architecture, document version 20211203; RISC-V International: Zurich, Switzerland, 2021; Available online: https://riscv.org/technical/specifications/ (accessed on 1 August 2026).
  8. SiFive. TileLink Specification; Version 1.9.3. Available online: https://www.sifive.com/document-file/tilelink-spec-1.9.3 (accessed on 1 August 2026).
  9. Liu, F.; Yarom, Y.; Ge, Q.; Heiser, G.; Lee, R.B. Last-Level Cache Side-Channel Attacks Are Practical. In Proceedings of the IEEE Symposium on Security and Privacy (S&P), San Jose, CA, USA, 18–20 May 2015; pp. 605–622. [Google Scholar] [CrossRef] [Scilit]
  10. Maisuradze, G.; Rossow, C. ret2spec: Speculative Execution Using Return Stack Buffers. In Proceedings of the ACM Conference on Computer and Communications Security (CCS), Toronto, Canada, 15–19 October 2018; pp. 2109–2122. [Google Scholar] [CrossRef] [Scilit]
  11. Gras, B.; Razavi, K.; Bos, H.; Giuffrida, C. Translation Leak-aside Buffer: Defeating Cache Side-Channel Protections with TLB Attacks. In Proceedings of the 27th USENIX Security Symposium, Baltimore, MD, USA, 15–17 August 2018; pp. 955–972. Available online: https://www.usenix.org/conference/usenixsecurity18/presentation/gras (accessed on 1 August 2026).
  12. Yarom, Y.; Falkner, K. FLUSH+RELOAD: A High Resolution, Low Noise, L3 Cache Side-Channel Attack. In Proceedings of the 23rd USENIX Security Symposium, San Diego, CA, USA, 20–22 August 2014; pp. 719–732. Available online: https://www.usenix.org/conference/usenixsecurity14/technical-sessions/presentation/yarom (accessed on 1 August 2026).
  13. Kocher, P.C. Timing Attacks on Implementations of Diffie-Hellman, RSA, DSS, and Other Systems. In Advances in Cryptology—CRYPTO; LNCS; Springer: Berlin/Heidelberg, Germany, 1996; Volume 1109, pp. 104–113. [Google Scholar] [CrossRef] [Scilit]
  14. Kocher, P.; Jaffe, J.; Jun, B. Differential Power Analysis. In Advances in Cryptology—CRYPTO; LNCS; Springer: Berlin/Heidelberg, Germany, 1999; Volume 1666, pp. 388–397. [Google Scholar] [CrossRef] [Scilit]
  15. Bernstein, D.J. Cache-Timing Attacks on AES. Technical Report, 2005. Available online: https://cr.yp.to/antiforgery/cachetiming-20050414.pdf (accessed on 1 August 2026).
  16. Percival, C. Cache Missing for Fun and Profit. In Proceedings of the BSDCan, Ottawa, Canada, 13–14 May 2005; Available online: https://www.daemonology.net/papers/htt.pdf (accessed on 1 August 2026).
  17. Osvik, D.A.; Shamir, A.; Tromer, E. Cache Attacks and Countermeasures: The Case of AES. In Topics in Cryptology—CT-RSA; LNCS; Springer: Berlin/Heidelberg, Germany, 2006; Volume 3860, pp. 1–20. [Google Scholar] [CrossRef] [Scilit]
  18. Tromer, E.; Osvik, D.A.; Shamir, A. Efficient Cache Attacks on AES, and Countermeasures. J. Cryptol. 2010, 23, 37–71. [Google Scholar] [CrossRef] [Scilit]
  19. Goodwill, G.; Jun, B.; Jaffe, J.; Rohatgi, P. A Testing Methodology for Side-Channel Resistance Validation. In Proceedings of the NIST Non-Invasive Attack Testing Workshop, Nara, Japan, 26–27 September 2011; Available online: https://csrc.nist.gov/csrc/media/events/non-invasive-attack-testing-workshop/documents/08_goodwill.pdf (accessed on 1 August 2026).
  20. ISO/IEC 17825:2016; Information Technology—Security Techniques—Testing Methods for the Mitigation of Non-Invasive Attack Classes Against Cryptographic Modules. International Organization for Standardization: Geneva, Switzerland, 2016.
  21. Mangard, S.; Oswald, E.; Popp, T. Power Analysis Attacks: Revealing the Secrets of Smart Cards; Springer: New York, NY, USA, 2007. [Google Scholar] [CrossRef] [Scilit]
  22. Standaert, F.-X.; Malkin, T.G.; Yung, M. A Unified Framework for the Analysis of Side-Channel Key Recovery Attacks. In Advances in Cryptology—EUROCRYPT; LNCS; Springer: Berlin/Heidelberg, Germany, 2009; Volume 5479, pp. 443–461. [Google Scholar] [CrossRef] [Scilit]
  23. Welch, B.L. The Generalization of ‘Student’s’ Problem When Several Different Population Variances Are Involved. Biometrika 1947, 34, 28–35. [Google Scholar] [CrossRef] [Scilit]
  24. Wilson, E.B. Probable Inference, the Law of Succession, and Statistical Inference. J. Am. Stat. Assoc. 1927, 22, 209–212. [Google Scholar] [CrossRef]
  25. Gruss, D.; Maurice, C.; Wagner, K.; Mangard, S. Flush+Flush: A Fast and Stealthy Cache Attack. In Proceedings of the Conference on Detection of Intrusions and Malware, and Vulnerability Assessment (DIMVA); LNCS; Springer: Berlin/Heidelberg, Germany, 2016; Volume 9721, pp. 279–299. [Google Scholar] [CrossRef] [Scilit]
  26. Irazoqui, G.; Eisenbarth, T.; Sunar, B. S$A: A Shared Cache Attack That Works Across Cores and Defies VM Sandboxing. In Proceedings of the IEEE Symposium on Security and Privacy (S&P), San Jose, CA, USA, 18–20 May 2015; pp. 591–604. [Google Scholar] [CrossRef] [Scilit]
  27. Disselkoen, C.; Kohlbrenner, D.; Porter, L.; Tullsen, D. Prime+Abort: A Timer-Free High-Precision L3 Cache Attack Using Intel TSX. In Proceedings of the 26th USENIX Security Symposium, Vancouver, BC, Canada, 16–18 August 2017; pp. 51–67. Available online: https://www.usenix.org/conference/usenixsecurity17/technical-sessions/presentation/disselkoen (accessed on 1 August 2026).
  28. Gruss, D.; Spreitzer, R.; Mangard, S. Cache Template Attacks: Automating Attacks on Inclusive Last-Level Caches. In Proceedings of the 24th USENIX Security Symposium, Washington, DC, USA, 12–14 August 2015; pp. 897–912. Available online: https://www.usenix.org/conference/usenixsecurity15/technical-sessions/presentation/gruss (accessed on 1 August 2026).
  29. Gruss, D.; Maurice, C.; Fogh, A.; Lipp, M.; Mangard, S. Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLR. In Proceedings of the ACM Conference on Computer and Communications Security (CCS), Vienna, Austria, 24–28 October 2016; pp. 368–379. [Google Scholar] [CrossRef] [Scilit]
  30. Lipp, M.; Gruss, D.; Spreitzer, R.; Maurice, C.; Mangard, S. ARMageddon: Cache Attacks on Mobile Devices. In Proceedings of the 25th USENIX Security Symposium, Austin, TX, USA, 10–12 August 2016; pp. 549–564. Available online: https://www.usenix.org/conference/usenixsecurity16/technical-sessions/presentation/lipp (accessed on 1 August 2026).
  31. Liu, F.; Ge, Q.; Yarom, Y.; Mckeen, F.; Rozas, C.; Heiser, G.; Lee, R.B. CATalyst: Defeating Last-Level Cache Side Channel Attacks in Cloud Computing. In Proceedings of the IEEE International Symposium on High Performance Computer Architecture (HPCA), Barcelona, Spain, 12–16 March 2016; pp. 406–418. [Google Scholar] [CrossRef] [Scilit]
  32. Kiriansky, V.; Lebedev, I.; Amarasinghe, S.; Devadas, S.; Emer, J. DAWG: A Defense Against Cache Timing Attacks in Speculative Execution Processors. In Proceedings of the 51st IEEE/ACM International Symposium on Microarchitecture (MICRO), Fukuoka City, Japan, 20–24 October 2018; pp. 974–987. [Google Scholar] [CrossRef] [Scilit]
  33. He, Z.; Lee, R.B. How Secure Is Your Cache Against Side-Channel Attacks? In Proceedings of the 50th IEEE/ACM International Symposium on Microarchitecture (MICRO), Cambridge, MA, USA, 14–18 October 2017; pp. 341–353. [Google Scholar] [CrossRef] [Scilit]
  34. Qureshi, M.K. CEASER: Mitigating Conflict-Based Cache Attacks via Encrypted-Address and Remapping. In Proceedings of the 51st IEEE/ACM International Symposium on Microarchitecture (MICRO), Fukuoka, Japan, 20–24 October 2018; pp. 775–787. [Google Scholar] [CrossRef] [Scilit]
  35. Werner, M.; Unterluggauer, T.; Giner, L.; Schwarz, M.; Gruss, D.; Mangard, S. ScatterCache: Thwarting Cache Attacks via Cache Set Randomization. In Proceedings of the 28th USENIX Security Symposium, Santa Clara, CA, USA, 14–16 August 2019; pp. 675–692. Available online: https://www.usenix.org/conference/usenixsecurity19/presentation/werner (accessed on 1 August 2026).
  36. Saileshwar, G.; Qureshi, M.K. MIRAGE: Mitigating Conflict-Based Cache Attacks with a Practical Fully-Associative Design. In Proceedings of the 30th USENIX Security Symposium, Virtual, 11–13 August 2021; pp. 1379–1396. Available online: https://www.usenix.org/conference/usenixsecurity21/presentation/saileshwar (accessed on 1 August 2026).
  37. Purnal, A.; Giner, L.; Gruss, D.; Verbauwhede, I. Systematic Analysis of Randomization-based Protected Cache Architectures. In Proceedings of the IEEE Symposium on Security and Privacy (S&P), Virtual, 23–27 May 2021; pp. 987–1002. [Google Scholar] [CrossRef] [Scilit]
  38. Koschel, J.; Giuffrida, C.; Bos, H.; Razavi, K. TagBleed: Breaking KASLR on the Isolated Kernel Address Space Using Tagged TLBs. In Proceedings of the IEEE European Symposium on Security and Privacy (EuroS&P), Virtual, 7–11 September 2020; pp. 309–321. [Google Scholar] [CrossRef] [Scilit]
  39. Van Schaik, S.; Giuffrida, C.; Bos, H.; Razavi, K. Malicious Management Unit: Why Stopping Cache Attacks in Software Is Harder Than You Think. In Proceedings of the 27th USENIX Security Symposium, Baltimore, MD, USA, 15–17 August 2018; pp. 937–954. Available online: https://www.usenix.org/conference/usenixsecurity18/presentation/van-schaik (accessed on 1 August 2026).
  40. Gras, B.; Razavi, K.; Bosman, E.; Bos, H.; Giuffrida, C. ASLR on the Line: Practical Cache Attacks on the MMU. In Proceedings of the Network and Distributed System Security Symposium (NDSS), San Diego, CA, USA, 26 February–1 March 2017; Available online: https://www.ndss-symposium.org/ndss2017/ndss-2017-programme/aslrcache-practical-cache-attacks-mmu/ (accessed on 1 August 2026).
  41. Evtyushkin, D.; Ponomarev, D.; Abu-Ghazaleh, N. Jump over ASLR: Attacking Branch Predictors to Bypass ASLR. In Proceedings of the IEEE/ACM International Symposium on Microarchitecture (MICRO), Taipei, Taiwan, 15–19 October 2016; pp. 1–13. [Google Scholar] [CrossRef] [Scilit]
  42. Barberis, E.; Frigo, P.; Muench, M.; Bos, H.; Giuffrida, C. Branch History Injection: On the Effectiveness of Hardware Mitigations Against Cross-Privilege Spectre-v2 Attacks. In Proceedings of the 31st USENIX Security Symposium, Boston, MA, USA, 10–12 August 2022; pp. 971–988. Available online: https://www.usenix.org/conference/usenixsecurity22/presentation/barberis (accessed on 1 August 2026).
  43. Koruyeh, E.M.; Khasawneh, K.N.; Song, C.; Abu-Ghazaleh, N. Spectre Returns! Speculation Attacks Using the Return Stack Buffer. In Proceedings of the 12th USENIX Workshop on Offensive Technologies (WOOT), Baltimore, MD, USA, 13–14 August 2018; Available online: https://www.usenix.org/conference/woot18/presentation/koruyeh (accessed on 1 August 2026).
  44. Horn, J. Speculative Execution, Variant 4: Speculative Store Bypass. Google Project Zero, Issue 1528, 2018. Available online: https://bugs.chromium.org/p/project-zero/issues/detail?id=1528 (accessed on 1 August 2026).
  45. Kiriansky, V.; Waldspurger, C. Speculative Buffer Overflows: Attacks and Defenses. arXiv 2018, arXiv:1807.03757. [Google Scholar] [CrossRef] [Scilit]
  46. Wikner, J.; Razavi, K. Retbleed: Arbitrary Speculative Code Execution with Return Instructions. In Proceedings of the 31st USENIX Security Symposium, Boston, MA, USA, 10–12 August 2022; pp. 3825–3842. Available online: https://www.usenix.org/conference/usenixsecurity22/presentation/wikner (accessed on 1 August 2026).
  47. Van Bulck, J.; Moghimi, D.; Schwarz, M.; Lipp, M.; Minkin, M.; Genkin, D.; Yarom, Y.; Sunar, B.; Gruss, D.; Piessens, F. LVI: Hijacking Transient Execution through Microarchitectural Load Value Injection. In Proceedings of the IEEE Symposium on Security and Privacy (S&P), Virtual, 18–21 May 2020; pp. 54–72. [Google Scholar] [CrossRef] [Scilit]
  48. Van Schaik, S.; Milburn, A.; Österlund, S.; Frigo, P.; Maisuradze, G.; Razavi, K.; Bos, H.; Giuffrida, C. RIDL: Rogue In-Flight Data Load. In Proceedings of the IEEE Symposium on Security and Privacy (S&P), San Francisco, CA, USA, 20–22 May 2019; pp. 88–105. [Google Scholar] [CrossRef] [Scilit]
  49. Schwarz, M.; Lipp, M.; Moghimi, D.; Van Bulck, J.; Stecklina, J.; Prescher, T.; Gruss, D. ZombieLoad: Cross-Privilege-Boundary Data Sampling. In Proceedings of the ACM Conference on Computer and Communications Security (CCS), London, UK, 11–15 November 2019; pp. 753–768. [Google Scholar] [CrossRef] [Scilit]
  50. Canella, C.; Genkin, D.; Giner, L.; Gruss, D.; Lipp, M.; Minkin, M.; Moghimi, D.; Piessens, F.; Schwarz, M.; Sunar, B.; et al. Fallout: Leaking Data on Meltdown-Resistant CPUs. In Proceedings of the ACM Conference on Computer and Communications Security (CCS), London, UK, 11–15 November 2019; pp. 769–784. [Google Scholar] [CrossRef] [Scilit]
  51. Moghimi, D.; Lipp, M.; Sunar, B.; Schwarz, M. Medusa: Microarchitectural Data Leakage via Automated Attack Synthesis. In Proceedings of the 29th USENIX Security Symposium, Virtual, 12–14 August 2020; pp. 1427–1444. Available online: https://www.usenix.org/conference/usenixsecurity20/presentation/moghimi-medusa (accessed on 1 August 2026).
  52. Ragab, H.; Milburn, A.; Razavi, K.; Bos, H.; Giuffrida, C. CrossTalk: Speculative Data Leaks Across Cores Are Real. In Proceedings of the IEEE Symposium on Security and Privacy (S&P), Virtual, 24–27 May 2021; pp. 1852–1867. [Google Scholar] [CrossRef] [Scilit]
  53. Van Bulck, J.; Minkin, M.; Weisse, O.; Genkin, D.; Kasikci, B.; Piessens, F.; Silberstein, M.; Wenisch, T.F.; Yarom, Y.; Strackx, R. Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution. In Proceedings of the 27th USENIX Security Symposium, Baltimore, MD, USA, 15–17 August 2018; pp. 991–1008. Available online: https://www.usenix.org/conference/usenixsecurity18/presentation/bulck (accessed on 1 August 2026).
  54. Chen, G.; Chen, S.; Xiao, Y.; Zhang, Y.; Lin, Z.; Lai, T.-H. SgxPectre: Stealing Intel Secrets from SGX Enclaves via Speculative Execution. In Proceedings of the IEEE European Symposium on Security and Privacy (EuroS&P), Stockholm, Sweden, 17–19 June 2019; pp. 142–157. [Google Scholar] [CrossRef] [Scilit]
  55. Schwarz, M.; Schwarzl, M.; Lipp, M.; Masters, J.; Gruss, D. NetSpectre: Read Arbitrary Memory over Network. In Proceedings of the European Symposium on Research in Computer Security (ESORICS); LNCS; Springer: Cham, Switzerland, 2019; Volume 11735, pp. 279–299. [Google Scholar] [CrossRef] [Scilit]
  56. Canella, C.; Van Bulck, J.; Schwarz, M.; Lipp, M.; von Berg, B.; Ortner, P.; Piessens, F.; Evtyushkin, D.; Gruss, D. A Systematic Evaluation of Transient Execution Attacks and Defenses. In Proceedings of the 28th USENIX Security Symposium, Santa Clara, CA, USA, 14–16 August 2019; pp. 249–266. Available online: https://www.usenix.org/conference/usenixsecurity19/presentation/canella (accessed on 1 August 2026).
  57. Evtyushkin, D.; Riley, R.; Abu-Ghazaleh, N.; Ponomarev, D. BranchScope: A New Side-Channel Attack on Directional Branch Predictor. In Proceedings of the ACM International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS), Williamsburg, VA, USA, 24–28 March 2018; pp. 693–707. [Google Scholar] [CrossRef] [Scilit]
  58. Lee, S.; Shih, M.-W.; Gera, P.; Kim, T.; Kim, H.; Peinado, M. Inferring Fine-Grained Control Flow Inside SGX Enclaves with Branch Shadowing. In Proceedings of the 26th USENIX Security Symposium, Vancouver, BC, Canada, 16–18 August 2017; pp. 557–574. Available online: https://www.usenix.org/conference/usenixsecurity17/technical-sessions/presentation/lee-sangho (accessed on 1 August 2026).
  59. Bhattacharyya, A.; Sandulescu, A.; Neugschwandtner, M.; Sorniotti, A.; Falsafi, B.; Payer, M.; Kurmus, A. SMoTherSpectre: Exploiting Speculative Execution through Port Contention. In Proceedings of the ACM Conference on Computer and Communications Security (CCS), London, UK, 11–15 November 2019; pp. 785–800. [Google Scholar] [CrossRef] [Scilit]
  60. Aciıçmez, O.; Koç, Ç.K.; Seifert, J.-P. Predicting Secret Keys via Branch Prediction. In Topics in Cryptology—CT-RSA; LNCS; Springer: Berlin/Heidelberg, Germany, 2007; Volume 4377, pp. 225–242. [Google Scholar] [CrossRef] [Scilit]
  61. Yan, M.; Choi, J.; Skarlatos, D.; Morrison, A.; Fletcher, C.; Torrellas, J. InvisiSpec: Making Speculative Execution Invisible in the Cache Hierarchy. In Proceedings of the IEEE/ACM International Symposium on Microarchitecture (MICRO), Fukuoka City, Japan, 20–24 October 2018; pp. 428–441. [Google Scholar] [CrossRef] [Scilit]
  62. Taram, M.; Venkat, A.; Tullsen, D. Context-Sensitive Fencing: Securing Speculative Execution via Microcode Customization. In Proceedings of the ACM International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS), Providence, RI, USA, 13–17 April 2019; pp. 395–410. [Google Scholar] [CrossRef] [Scilit]
  63. Weisse, O.; Neal, I.; Loughlin, K.; Wenisch, T.F.; Kasikci, B. NDA: Preventing Speculative Execution Attacks at Their Source. In Proceedings of the 52nd IEEE/ACM International Symposium on Microarchitecture (MICRO), Columbus, OH, USA, 12–16 October 2019; pp. 572–586. [Google Scholar] [CrossRef] [Scilit]
  64. Sakalis, C.; Kaxiras, S.; Ros, A.; Jimborean, A.; Själander, M. Efficient Invisible Speculative Execution through Selective Delay and Value Prediction. In Proceedings of the 46th International Symposium on Computer Architecture (ISCA), Phoenix, AZ, USA, 22–26 June 2019; pp. 723–735. [Google Scholar] [CrossRef] [Scilit]
  65. Ainsworth, S.; Jones, T.M. MuonTrap: Preventing Cross-Domain Spectre-Like Attacks by Capturing Speculative State. In Proceedings of the 47th International Symposium on Computer Architecture (ISCA), Virtual, 30 May–3 June 2020; pp. 132–144. [Google Scholar] [CrossRef] [Scilit]
  66. Yarom, Y.; Genkin, D.; Heninger, N. CacheBleed: A Timing Attack on OpenSSL Constant-Time RSA. J. Cryptogr. Eng. 2017, 7, 99–112. [Google Scholar] [CrossRef] [Scilit]
  67. Aldaya, A.C.; Brumley, B.B.; ul Hassan, S.; Pereida García, C.; Tuveri, N. Port Contention for Fun and Profit. In Proceedings of the IEEE Symposium on Security and Privacy (S&P), San Francisco, CA, USA, 20–22 May 2019; pp. 870–887. [Google Scholar] [CrossRef] [Scilit]
  68. Gras, B.; Giuffrida, C.; Kurth, M.; Bos, H.; Razavi, K. ABSynthe: Automatic Blackbox Side-Channel Synthesis on Commodity Microarchitectures. In Proceedings of the Network and Distributed System Security Symposium (NDSS), San Diego, CA, USA, 23–26 February 2020. [Google Scholar] [CrossRef] [Scilit]
  69. Lee, D.; Kohlbrenner, D.; Shinde, S.; Asanović, K.; Song, D. Keystone: An Open Framework for Architecting Trusted Execution Environments. In Proceedings of the 15th European Conference on Computer Systems (EuroSys), Virtual, 27–30 April 2020; pp. 38:1–38:16. [Google Scholar] [CrossRef] [Scilit]
  70. Bourgeat, T.; Lebedev, I.; Wright, A.; Zhang, S.; Arvind; Devadas, S. MI6: Secure Enclaves in a Speculative Out-of-Order Processor. In Proceedings of the IEEE/ACM International Symposium on Microarchitecture (MICRO), Columbus, OH, USA, 12–16 October 2019; pp. 42–56. [Google Scholar] [CrossRef] [Scilit]
  71. Gonzalez, A.; Korpan, B.; Zhao, J.; Younis, E.; Asanović, K. Replicating and Mitigating Spectre Attacks on an Open Source RISC-V Microarchitecture. In Proceedings of the Workshop on Computer Architecture Research with RISC-V (CARRV), Phoenix, AZ, USA, 22 June 2019; Available online: https://carrv.github.io/2019/ (accessed on 1 August 2026).
  72. Dessouky, G.; Gens, D.; Haney, P.; Persyn, G.; Kanuparthi, A.K.; Khattri, H.; Fung, J.M.; Sadeghi, A.-R.; Rajendran, J. HardFails: Insights into Software-Exploitable Hardware Bugs. In Proceedings of the 28th USENIX Security Symposium, Santa Clara, CA, USA, 14–16 August 2019; pp. 213–230. Available online: https://www.usenix.org/conference/usenixsecurity19/presentation/dessouky (accessed on 1 August 2026).
  73. Martinoli, V.; Teglia, Y.; Bouagoun, A.; Leveugle, R. Recovering Information on the CVA6 RISC-V CPU with a Baremetal Micro-Architectural Covert Channel. In Proceedings of the IEEE International Symposium on On-Line Testing and Robust System Design (IOLTS), Torino, Italy, 12–14 September 2022; pp. 1–6. [Google Scholar] [CrossRef] [Scilit]
  74. Xiong, W.; Szefer, J. Survey of Transient Execution Attacks and Their Mitigations. ACM Comput. Surv. 2021, 54, 1–36. [Google Scholar] [CrossRef] [Scilit]
  75. Papon, C. SpinalHDL and the VexRiscv/VexiiRiscv Cores. Open-Source Project. 2021. Available online: https://github.com/SpinalHDL/VexiiRiscv (accessed on 1 August 2026).
  76. Costan, V.; Devadas, S. Intel SGX Explained. IACR Cryptology ePrint Archive 2016, Report 2016/086. Available online: https://eprint.iacr.org/2016/086 (accessed on 1 August 2026).
  77. Deng, S.; Xiong, W.; Szefer, J. Analysis of Secure Caches Using a Three-Step Model for Timing-Based Attacks. J. Hardw. Syst. Secur. 2019, 3, 397–425. [Google Scholar] [CrossRef] [Scilit]
  78. Mach, S.; Schuiki, F.; Zaruba, F.; Benini, L. FPnew: An Open-Source Multiformat Floating-Point Unit Architecture for Energy-Proportional Transprecision Computing. IEEE Trans. VLSI Syst. 2021, 29, 774–787. [Google Scholar] [CrossRef] [Scilit]
  79. Gallina, L.; Hamadou, S.; Marin, A.; Rossi, S. A Probabilistic Energy-Aware Model for Mobile Ad-Hoc Networks. In Analytical and Stochastic Modeling Techniques and Applications (ASMTA); LNCS; Springer: Berlin/Heidelberg, Germany, 2011; Volume 6751, pp. 316–330. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.