Skip to content

Verilog implementation of a RISC-V32 5-stage pipelined CPU which supports basic instructions and resolves all hazards.

Notifications You must be signed in to change notification settings

yuanxun-yx/5-stage-pipeline-cpu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

makefile in this repository ONLY supports WINDOWS! Please make sure Vivado is installed and added to PATH.

Folders

  • document: report and figures
  • script: tcl scripts to setup the project and generate bitstream
  • source: Verilog sources and headers
  • program: test assembly program and its binary file
  • constraint: xdc constraint file
  • simulation: Verilog CPU simulation files & wave configuration file

Debug VGA

If you want the debug VGA module to be added, uncomment the define code in ./source/header/debug.vh.

Setup Project

To setup the Vivado project, enter following make command:

make setup

Generate Bitstream

To generate bitstream, enter

make compile

if you already setup the project, or just enter

make

which will automatically setup and compile.

Clean

To clean the repository, enter

make clean

About

Verilog implementation of a RISC-V32 5-stage pipelined CPU which supports basic instructions and resolves all hazards.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published