Rohan7Gupta / pentaRV

pentaRV consists of a 5 stage pipelined Rv32I core and the project plans to implement a RISC-V based SOC .

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rv32i 5 Stage Pipeline Core

by Rohan Gupta

RV32I

memory

####Unified memory byte accesible (little endian) i.e for word access, memory in multiples of 4, for half word access, memory in multiples of 2

256kB memory 0-8 kB code memory 8 - 16 kB vector table + reserve 16kB+ data memory

run make (debian) or mingw32-make (windows) in code directory

  • no fence as 1 hart system
  • 5 stage pipeline with hazard handling implemented --- (note : need 1 nop if load immediately followed by R/I accessing same register)
  • ecall, ebreak end execution
  • csr implemented for exception and interrupt --- csr manipulation instruction to be implemnted
  • exception handling implemented for cause 0 - 7 (defined in priviledged manual)
  • interrupt handling to be implmented
  • exception leads to IVT which contains ebreak and ends execution immediately (can be modified later)
  • mret to be implemented
  • plans to implement memory mapped IO

Architecture

architecture

References

About

pentaRV consists of a 5 stage pipelined Rv32I core and the project plans to implement a RISC-V based SOC .

License:Apache License 2.0


Languages

Language:Verilog 97.9%Language:Makefile 2.1%