Skip to content

5hayanB/xodus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REPOSITORY HAS BEEN MOVED TO MERLEDU. ALL UPDATES WILL BE MADE IN THE NEW REPOSITORY

XODUS32-5S

A 5 stage 32 bit RISC-V I(Base) extension core

Dependencies

  • sbt
  • openjdk 18

RTL Generation

  1. Edit the assembly.s file with your own assembly code and place the hex instructions in hex.txt in the assembly directory. A template file is also given. Follow the pattern for a successful simulation.

  2. Make sure you're in the root directory of the repository.

sbt
  1. The sbt server will be started. To generate the RTL file,
testOnly Top.TopTest -- -DwriteVcd=1
  1. A Top.vcd file is situated in test_run_dir/XODUS32_5S/. Use a vcd file viewer like gtkwave to view the RTL.

RVFI Log

A log file in the RVFI format can also be generated. Place a disassembly file, named test.s in the scripts directory. From the root directory, cd into the trace directory and execute traceGenerator.sh file.

cd trace
./traceGenerator.sh

A CSV file trace.csv along with a log file trace.log will be generated.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors