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.s
file with your own assembly code and place the hex instructions inhex.txt
in theassembly
directory. 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.vcd
file is situated intest_run_dir/XODUS32_5S/
. Use a vcd file viewer likegtkwave
to 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.sh
A CSV file trace.csv
along with a log file trace.log
will be generated.