1 of 16

2 of 16

INTRODUCTION

RISC-V is the free and open Instruction Set Architecture

  • Started as a “3 month project” at UC Berkeley in 2010.

Principal designers : Andrew Waterman, Yunsup Lee, David Patterson, Krste Asanovic.

  1. May 2014 : The base user spec released after many iterations.

ORIGIN OF RISC-V

3 of 16

What is RISC-V?

  • A high-quality, license-free, royalty-free RISC ISA.
  • Standard maintained by the non-profit RISC V foundation.
  • RISC-V is not…

-- A Company

-- it’s a CPU implementation

4 of 16

RISC-V Foundation

  • RISC-V Foundation is a non-profit organization formed in August 2015 to publicly govern the ISA
  • Foundation Functions

-- Directs future development of ISA

-- Compliance tests

-- Promotion of the ISA>230 members representing a wide range of markets.

5 of 16

Why RISC-V ?

5

Simplicity

Business

Model

Open Source

On par with modern CPU (performance, code density, power)

6 of 16

RISC-V Pipelined stages

  • Instruction Fetch (IF)
  • Instruction Decode (ID)
  • Execute (EXE)
  • Memory Access (MEM)
  • Write Back (WB)

RISC_V Architecture

7 of 16

8 of 16

Verification Platform

  • uvm_seq_item : Generates test stimulus
  • uvm_sequencer : executes uvm_Seq_item, arbitration process between them.
  • uvm_driver : converts uvm_seq_item to pin wiggle signals
  • uvm_monitor : Monitors pin level behaviour on the DUT.
  • uvm_agent : encapsulates above uvm_components
  • uvm_scoreboard : Determine whether DUT behave properly or not.
  • Functional coverage : Ensures that implementation confirms to the specification.
  • uvm_env : Encapsulates uvm_agent, scoreboard and functional coverage

9 of 16

Result

IF_ID

EXE_MEM

10 of 16

Result

MEM_WB

Write Back

11 of 16

Schematics Result

12 of 16

Simulation Result

13 of 16

Implementation

14 of 16

Coverage Result

15 of 16

Conclusion

  • The RISC V gives and open resource environment to allow the designer to tweak at a greater extent.
  • Here, 32-bit pipelined RISC V ISA is designed with Verilog Hardware Description Language (HDL) and synthesized.
  • Harnessing the System Verilog with verification methodology UVM, the correctness of the design is verified and functional coverage is obtained.

16 of 16

Thank you