Skip to content
jedbrookePublic

About

Verilog implementation of RISCV soft core, Supports most of the RV32I instruction set

Resources

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

RISCV CPU

A Functional RISCV core implemented in Verilog rtl.
schematic
More information in the presentation. Supported instructions: Most of RV32/64I

  • Shifts
  • Arithmetic
  • Logical
  • Compare
  • Branches
  • Jump and Link*
  • Loads**
  • Stores**

*see the reference sheet for detailed list. green boxes are implemented, red boxes are not.

**see comments on MEM.v (lines 64 and 99) for details on memory alignment.

Currently the design is a simple single cycle design, though consideration of future pipelining was made when designing.

TODO

  • create a Makefile to easily build and test the project
  • add support for missing instructions
  • implement pipelining

Program used to generate outputs:

code.mem formatted as bytes, with comments for the assembly instructions

data_in.mem was used to generate output.txt

data_in_2.mem was used to generate output2.txt

About

Verilog implementation of RISCV soft core, Supports most of the RV32I instruction set

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages