Skip to content

AnRi1202/RV32I_CPU

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simulation

use cocotb

make

To use Makefile at the top directory, it compiles the hoge.s in tb/hex/ into hoge.txt.

cd sim
make IMEM_FILE=`../tb/hex/hoge.s`

IMEM_FILE instanciate the instruction memory state. You can also configure DMEM_FILE = hoge.txt if you want.

branch

  • alu_only: only R_TYPE instructions
  • load_store: alu_only + load + store
  • main: all instructions

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors