Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 1.82 KB

README.md

File metadata and controls

38 lines (27 loc) · 1.82 KB

RISC-V Single Cycle Core

RISC-V RV 32I is an open-source instruction set architecture that follows the principles of reduced instruction set computing (RISC). It's designed to be simple, modular, and extensible. This architecture is based on 32-bits implementation for base integer instruction set (extension I). A single-cycle core refers to a processor design where each instruction takes just one clock cycle to execute.

This core is specifically designed to perform load-word I-type instruction.

  • I-Type instruction implemented : opcode | rs | rd | Immediate (load)


    I-Type

Elements used

  • Pgrogram Counter (PC)
  • PC Adder
  • Sign Extender
  • Instruction Memory
  • Register file
  • Data Memory
  • Control Unit (comprising of main decoder and alu decoder)


    elements

Datapath for load-word


Datapath

ALU Design used


ALU

Simulation Results


Waveform

Resources and Tech Stack

  • lab used for converting assembly language codes to machine language codes : https://venus.cs61c.org/
  • hardware description language used : Verilog
  • simulator used : icarus verilog
  • waveform generator used : GTKWave
  • resources and design reference : merldsu
  • others : " Digital Design and Computer Architecture RISC-V Edition " by Sarah L Harris and David M Harris.