RISC-V processor

Publisher: Synflow

Status: Ongoing project




Description

the RISC-V core is an implementation of a reduced instruction set computing (RISC) based instruction set architecture (ISA). Most ISAs are commercially protected by patents, preventing practical efforts to reproduce the computer systems. In contrast, RISC-V is open, permitting any person or group to construct compatible computers, and use associated software.


Features

The core provides the following features:


Architecture

The general architecture of the core consists of five main modules:


Modules

Together all modules perform are an instruction pipeline (the basic instruction cycle is broken up into a series called a pipeline).

The if_stage fetches the instructions. If possible it tries to load an instruction from the cache so it can be executed during the next clock cycle. It also predicts the address of the next instruction. This prediction may be wrong in the case of a taken branch, jump, or exception.

The id_stage decodes the instruction. Once fetched from the instruction cache, and if it is relevant, the instruction bits is shifted down the pipeline.

The ex_stage executes the instructions. It is where the actual computation occurs. This stage is composed of an Arithmetic and Logic Unit, and a bit shifter.

The mem_stage performed memory accesses when required. During this stage, single cycle latency instructions simply have their results forwarded to the next stage.

wb_stage writebacks the result of the execution. During this stage, both single cycle and two cycle instructions write their results into the register file.


Interface

The core is connected directly to peripheral and I/Os. A processor bus will be added in a future version of the core.

Status

This is an ongoing project.