Skip to content
STIMSMITH

SOURCE ARCHIVE

SHA256: e617669655c28b2d4627d1d02428586b7d1a5c0680c5efcf547299c3c9080d96
TYPE: application/pdf
SIZE: 4650.0 KB
FETCHED: 7/6/2026, 10:26:27 AM
EXTRACTOR: mistral
CHARS: 7,242

EXTRACTED CONTENT

7,242 chars

img-0.jpeg

RISC-V Core & SoC Verification: A New Normal in Verification Techniques

Verification Futures Reading 2024 Adnan Hamid

A Look At RISC-V

  • Open Instruction Set Architecture (ISA) gaining significant traction in multiple applications
  • Significant verification challenges
    • Arm spends $150M per year on 10¹⁵ verification cycles per core
    • Hard for RISC-V development group to achieve this same quality
    • Lots of applications expands verification requirements
    • Requires automation, reuse and new thinking
  • RISC-V International developing certification committee to certify devices against architectural compliance tests

img-1.jpeg

© Breker Verification Systems, Inc. All rights reserved.

2

Meeting RISC-V Verification Challenges

BREKER

  • Reuse & automation to meet quality expectation
    • Automated test generation key
  • RISC-V special requirements
    • Custom instruction verification
    • Compliance assurance
    • Broad range of architectures
  • Different processors have different needs
    • Embedded cores
    • Processor clusters
    • Application processors

Suggested RISC-V verification “stack”

img-2.jpeg

© Breker Verification Systems, Inc. All rights reserved.

3

Different Challenges for Core vs SoC Verification

img-3.jpeg

img-4.jpeg

RISC-V Core Verification Challenges

tbl-0.md

RISC-V SoC Verification Challenges

tbl-1.md

© Breker Verification Systems, Inc. All rights reserved.

4

Breker Background:

Test Suite Synthesis for RISC-V Cores & SoCs

BREKER

  • Breker is a key, longstanding part of the verification ecosystem for processors and SoCs based on x86 and Arm architectures
  • Breker has become part of the verification ecosystem for processors and SoCs based on RISC-V architectures
    • Working with multiple RISC-V developers and users/integrators
  • RISC-V has room to grow if we solve the verification barrier
    • We are experienced in x86 and Arm verification, now are sharing this experience with RISC-V teams through automated tests

img-5.jpeg

The Breker SystemVIP Library

  • Core Integrity FastApps
  • RISC-V System Integrity TrekApp
  • ARM System Integrity TrekApp
  • Cache Coherency TrekApp 2.0
  • Firmware-First TrekApp
  • Power Management TrekApp
  • Security TrekApp
  • Networking TrekApp

img-6.jpeg

© Breker Verification Systems, Inc. All rights reserved.

Constrained Random vs AI Planning Algorithm Synthesis

BREKER

img-7.jpeg

img-8.jpeg

© Breker Verification Systems, Inc. All rights reserved.

Crossing RISC-V Core Verification Components

BREKER

img-9.jpeg

© Breker Verification Systems, Inc. All rights reserved.

7

Concurrent Test Execution

BREKER

img-10.jpeg

img-11.jpeg

img-12.jpeg

© Breker Verification Systems, Inc. All rights reserved.

8

Core-Integrity Challenges

img-13.jpeg

tbl-2.md

© Breker Verification Systems, Inc. All rights reserved.

9

RV64 Core Instruction Generation

BREKER

img-14.jpeg

© Breker Verification Systems, Inc. All rights reserved.

Instruction Coverage Analysis

BREKER™

img-15.jpeg

27/103 reachable opcode have been exercised

img-16.jpeg

Atomics, loads and stores not reachable in register only test

© Breker Verification Systems, Inc. All rights reserved.

RV64 Core Load/Store

BREKER

img-17.jpeg

Locality of write adds

© Breker Verification Systems, Inc. All rights reserved.

RV64 Core Exception Testing

BREKER

img-18.jpeg

© Breker Verification Systems, Inc. All rights reserved.

13

Page Based Virtual Memory Tests

BREKER

img-19.jpeg

© Breker Verification Systems, Inc. All rights reserved.

14

RV64 Core Page Based MMU Tests

BREKER™

img-20.jpeg

Swap MMU PTE's and Check memory access

© Breker Verification Systems, Inc. All rights reserved.

15

Core-Integrity: Single Core, 4 Threads

Tests utilizes processor's available resources/software threads

img-21.jpeg

© Breker Verification Systems, Inc. All rights reserved.

16

Testing a Custom Instruction

BREKER

  • RISC-V ISA custom instructions pose a particularly difficult verification challenge
  • Custom instructions need to be tested with the processor tests, not as an afterthought
  • Breker solution allows custom instruction tests to be easily added into test graph
  • Breker synthesis combines these tests with the app to ensure full custom processor testing

img-22.jpeg

© Breker Verification Systems, Inc. All rights reserved.

SoC-Integrity Challenges

BREKER

tbl-3.md

Breker RISC-V SoC-Integrity SystemVIP

img-23.jpeg

  • End-to-End use cases
  • Early Firmware Testing
  • Performance-Power Profiling

© Breker Verification Systems, Inc. All rights reserved.

18

RISC-V SoC Integrity TrekApp

BREKER

img-24.jpeg

© Breker Verification Systems, Inc. All rights reserved.

19

RV64 MultiCore MoesiStates

BREKER™

img-25.jpeg

Planned Cache State Transitions

© Breker Verification Systems, Inc. All rights reserved.

20

Atomics Testing

[LOGO]

BREKER™

Check result is aggregate of synchronized atomic operations

img-26.jpeg

© Breker Verification Systems, Inc. All rights reserved.

21

Dekker Memory Ordering

BREKER™

img-27.jpeg

© Breker Verification Systems, Inc. All rights reserved.

22

False-Share Memory Stress Tests

BREKER™

img-28.jpeg

int trek_microloop_write_check8( void * addrs[], int count, trek_sint8_t pattern) { int errorCount = 0; int ii; for ( ii = 0; ii < count; ++ii) { trek_write(pattern, addrs[i]); } for ( ii = 0; ii < count; ++ii) { if (trek_reads(addrs[i]) != pattern) { ++errorCount; trek_runtime_error("trek_microloop_write_check8", addrs[i], pattern, trek_reads(addrs[i])); }; } return errorCount;

for ( int ii = 0; ii < 1000; ++ii ) { errorCount += trek_microloop_write_check8(addrs, 4, 184); }

Each core has free running loop

© Breker Verification Systems, Inc. All rights reserved.

23

High Coverage and Bug Hunting

BREKER

Recent examples of bugs discovered in real designs

  • RISC-V spec misunderstanding between core vendor and user
  • Coherent Mesh Network (CMN) programming issues
  • Misconfigured ARM CMN pin to enable coherent traffic
  • DDR model unable to handle AXI "wrap" transactions.
  • Common cache line access reveals deadlock
  • Custom instruction bugs discovered by stress tests
  • Results mismatch with ultrawide address strides
  • Incorrect exception for guest virtual address[63:38] = 0x1ffffff
  • Bad mcause value for guest physical address[63:31] != 0x0

SystemVIP Test Suite Synthesis Coverage Comparison

Typical directed coherency coverage

img-29.jpeg

... vs. Breker automated coherency tests

img-30.jpeg

© Breker Verification Systems, Inc. All rights reserved.

Thanks for Listening! Any Questions?