REPOSITORY HAS BEEN MOVED TO MERLEDU. ALL UPDATES WILL BE MADE IN THE NEW REPOSITORY
A 5 stage 32 bit RISC-V I(Base) extension core
- sbt
- openjdk 18
-
Edit the
assembly.sfile with your own assembly code and place the hex instructions inhex.txtin theassemblydirectory. A template file is also given. Follow the pattern for a successful simulation. -
Make sure you're in the root directory of the repository.
sbt- The sbt server will be started. To generate the RTL file,
testOnly Top.TopTest -- -DwriteVcd=1- A
Top.vcdfile is situated intest_run_dir/XODUS32_5S/. Use a vcd file viewer likegtkwaveto view the RTL.
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.shA CSV file trace.csv along with a log file trace.log will be generated.