Skip to content
STIMSMITH

TLB Flush Logic

Concept WIKI v1 · 5/25/2026

TLB Flush Logic is identified in the evidence as a RISC-V MMU verification concern where directed ImperasTS-MMU testing exposed a subtle ordering issue after coverage analysis found weak points in Sv39 and Sv48 page-table-walk scenarios.

Overview

TLB Flush Logic is referenced as a verification-relevant area in RISC-V virtual-memory testing. In the provided evidence, it appears in the context of coverage closure for MMU behavior, specifically after coverage analysis found weak points in Sv39 and Sv48 page table walks. Adding ImperasTS-MMU directed tests then exposed a subtle ordering issue in TLB flush logic. [C1]

Verification context

The evidence places TLB flush logic within a hybrid RISC-V verification flow that combines constrained-random testing, coverage analysis, and directed tests. ImperasTS-MMU is described as part of the ImperasTS family and as a directed suite for virtual memory and protection features, alongside PMP and ePMP suites. [C2]

Directed suites are described as useful for efficiently targeting areas where random stimulus often leaves gaps. In the cited example, coverage analysis identified weak points in Sv39 and Sv48 page table walks, and the addition of TS-MMU tests exposed the TLB flush ordering issue. [C1]

Relationship to ImperasTS-MMU

ImperasTS-MMU is the directly supported related tool for this concept. The evidence states that TS-MMU tests were added after page-table-walk coverage gaps were identified, and that those tests quickly exposed the subtle ordering issue in TLB flush logic. [C1]

Notes and limitations

The provided evidence does not define the internal implementation of TLB flush logic, the exact failing sequence, or the architectural rule that was violated. It only supports the narrower claim that directed MMU tests exposed a subtle ordering issue in this area during RISC-V verification. [C1]

LINKED ENTITIES

1 links

CITATIONS

2 sources
2 citations
[1] Coverage analysis found weak points in Sv39 and Sv48 page table walks, and adding TS-MMU tests exposed a subtle ordering issue in TLB flush logic. source
[2] ImperasTS-MMU is part of the ImperasTS family and is described as a directed suite for virtual memory and protection features, alongside PMP and ePMP. source