Imperas Leads The RISC-V Processor Verification Ecosystem

By Tiera Oliver

Associate Editor

Embedded Computing Design

February 01, 2021

News

Imperas Leads The RISC-V Processor Verification Ecosystem

Verification IP extended with Floating-Point architectural validation test suites based on golden reference model and coverage-based development

Imperas Software Ltd announced the latest addition to the Imperas RISC-V Verification IP (VIP) solutions with the Floating-Point architectural validation test suites covering the RISC-V Specifications for 32bit Single-Precision (32F), 64bit Single-Precision (64F), and 64bit Double-Precision (64D). Per the company, these tests extend the current Imperas range of tests for ratified and near-ratified specifications tests, and complement the de facto industry adoption of the Imperas RISC-V verification reference model.

According to the company, processor verification is the focus of any development team. Design bugs that are caught early help projects complete on schedule and provide timely solutions to the target market. The impact of late-stage bugs and associated costs can be significant. One often-quoted example is the Intel Floating Point bug discovered in deployed devices by end-users in 1994. The total economic impact of this issue was reported at the time as a pre-tax charge of $475m.

The latest RISC-V verification ‘step-and-compare’ methodology can be used to verify an RTL processor implementation against the Imperas golden reference model encapsulated within a SystemVerilog UVM environment. This covers asynchronous events and offers a seamless, time-saving transition to debug analysis when an issue is found. More details on test benches with Imperas RISC-V verification reference models are available at https://www.imperas.com/riscv.

The ratified RISC-V specification defines the following standard extensions:

  • 32F: 32bit Single-Precision Floating-Point (IEEE 754-2008 arithmetic standard)
  • 32D: 64bit Single-Precision Floating-Point (IEEE 754-2008 arithmetic standard)
  • 64F: 64bit Single-Precision Floating-Point (IEEE 754-2008 arithmetic standard)
  • 64D: 64bit Double-Precision Floating-Point (IEEE 754-2008 arithmetic standard)

To help developers ensure their processor designs meet the RISC-V specifications, Imperas has developed an instruction stream test generator for directed-tests and is now making many architectural validation test suites available.

Suites totaling over 3.5 million instructions now available for free as open-source include:

  • New Test suites for RV32F, RV64F, and RV64D ratified specifications
  • Test suites for RV32/64IMC ratified specifications
  • Test suite for RISC-V Vectors

               Configured: spec:0.8, xlen:32, elen:32, vlen:256, slen:256, FP:IEEE754
               Contact Imperas for spec version 0.9, 1.0 draft and other configs of xlen, elen, vlen, slen

  • Test suite for RV32/64K Crypto (scalar) 0.8.0 draft specification
  • Test suite for RV32/64B Bit Manipulation 0.93 draft specification

The Imperas test suites are for ISA architectural compliance validation and are not comprehensive, complete, full hardware design verification test suites that prove that hardware is bug-free.

Coverage is a key aspect for any verification plan, as it helps measure the progress toward the quality targets for design completion and tape-out milestones. To support instruction and architectural functional coverage, the Imperas RISC-V golden reference model has been further enhanced with built-in monitors to provide coverage metrics without the need for post-simulation processing or other delays with log file analysis.

The free riscvOVPsimPlus RISC-V reference model and simulator, which has been widely adopted across the RISC-V verification ecosystem, supports the RISC-V ratified specifications for RV32/64 IMAFDC plus also the 'near-ratified' ISA extensions for Vector “V”, Hypervisor simulation “H”, Bit Manipulation “B”, and Crypto (Scalar) “K” extensions.

To support the SystemVerilog encapsulation of the reference model, the Imperas RISC-V Processor Verification IP (VIP) package includes example SystemVerilog supporting components and modules for interfacing and synchronization between the Imperas RISC-V golden reference model and the RTL core under test in a step-and-compare verification flow. This approach covers the important aspects of asynchronous events and debug mode operation while also supporting the DV engineer’s active investigation directly at the point of interest during test failure analysis and resolution. 

Imperas offers Extendable Platform Kits (EPK) that are provided as source and includes the platform, models, scripts, and software to shorten the time to productivity. EPKs contain:
- An example platform for use with Google RISCV-DV Instruction Stream Generator flow
- An example platform for step-and-compare SystemVerilog* encapsulation test bench
- An example platform for RISC-V functional coverage

* SystemVerilog supported platforms are available for use with our partners Cadence Xcelium, Mentor Questa, Synopsys VCS environments and Metrics cloud-based solutions.

“RISC-V processor designers are pushing the boundaries of design innovation and dedicated floating point hardware can be one of the most demanding verification tasks,” said Simon Davidmann, CEO at Imperas Software Ltd. “The Imperas Floating-Point tests supports processor DV with instruction-based tests across the architectural envelope, and using a ‘step-and-compare’ flow with the Imperas reference model that covers asynchronous events with a seamless transition to debug and resolve issues.”

Availability
The free riscvOVPsimPlus package, including the test suites and functional coverage analysis, are now available on OVPworld at www.ovpworld.org/riscvOVPsimPlus. The riscvOVPsimPlus solution is an entry ramp for development and verification and includes a proprietary freeware license from Imperas, which covers free commercial use as well as academic use. The simulator package also includes a complete open-source model licensed under the Apache 2.0 license. 

The RISC-V processor Verification IP, example test benches and any customer-specific test suites are Imperas commercial solutions. Imperas also provides solutions for developers of more advanced RISC-V designs that need multi-core or custom instruction support and advanced verification techniques. 

Imperas also offers a library of models for virtual platforms used in early software development and hardware verification, including methodologies around continuous integration and regression using ‘virtual’ test farms, plus support for hybrid verification platforms with hardware emulators provided by Cadence Palladium, Mentor Veloce, and Synopsys Zebu.

For more information, visit: www.imperas.com/riscv.

Tiera Oliver, Associate Editor for Embedded Computing Design, is responsible for web content edits, product news, and constructing stories. She also assists with newsletter updates as well as contributing and editing content for ECD podcasts and the ECD YouTube channel. Before working at ECD, Tiera graduated from Northern Arizona University where she received her B.S. in journalism and political science and worked as a news reporter for the university’s student led newspaper, The Lumberjack.

More from Tiera