Overview
Memory Concurrency Testing is presented in the TestRIG work as a future testing capability for memory-model testing. The source specifically states that TestRIG should support memory-model testing as part of its future development direction. TestRIG is described as an open-source RISC-V testing framework effort that aims to simplify verification through instrumentation of open implementations. [c1]
Proposed mechanism
The proposed mechanism is to inject RVFI-DII instruction streams with specified timestamps into multiple cores that share memory. According to the evidence, this should allow precise stimulation of concurrency behaviors. [c2]
Verification requirements
The evidence states that this capability would require a more advanced verification engine. Such an engine would need to test RVFI traces not only for equivalence, but also against higher-level memory-model semantics, with Axe cited in the source as an example. [c3]
Role in TestRIG
Memory Concurrency Testing is listed under the "Future of TestRIG" discussion. In that same context, the source notes that TestRIG-compatible implementations and verification engines have been collected in an open-source TestRIG repository, and that TestRIG is expected to contribute toward a standardized RISC-V testing framework. [c4]