1
0
Fork 0
Go to file
Stephen Twigg 2367b7beb5 Added logic to sbt so that, for rocketchip, it will automatically include src/main/scala sources from subdirectories into the rocketchip top-level project not already handled by formal subprojects 2014-09-12 01:08:11 -07:00
chisel@b28793236e add CONFIG to the name of simulator executable 2014-09-11 22:11:58 -07:00
csrc add CONFIG to the name of simulator executable 2014-09-11 22:11:58 -07:00
dramsim2@0b3ee6799a integrate updated rocket/uncore 2012-10-18 17:51:41 -07:00
emulator add CONFIG to the name of simulator executable 2014-09-11 22:11:58 -07:00
fsim add CONFIG to the name of simulator executable 2014-09-11 22:11:58 -07:00
hardfloat@9c713324aa bump hardfloat,riscv-tools 2014-09-11 03:08:21 -07:00
project Added logic to sbt so that, for rocketchip, it will automatically include src/main/scala sources from subdirectories into the rocketchip top-level project not already handled by formal subprojects 2014-09-12 01:08:11 -07:00
riscv-tools@b877c25ccd bump hardfloat,riscv-tools 2014-09-11 03:08:21 -07:00
rocket@d4cb190f2e fix rocket interrupt issue 2014-09-11 02:52:05 -07:00
src/main/scala turn off DRAMSideLLC 2014-09-11 22:10:25 -07:00
uncore@b4904e1170 turn off DRAMSideLLC 2014-09-11 22:07:44 -07:00
vsim add CONFIG to the name of simulator executable 2014-09-11 22:11:58 -07:00
vsrc generate consts.vh from chisel source 2014-09-10 17:14:55 -07:00
.gitignore update gitignore 2014-09-01 08:59:59 -07:00
.gitmodules add berkeley-hardfloat as submodule 2014-09-08 00:18:49 -07:00
Makefrag add CONFIG to the name of simulator executable 2014-09-11 22:11:58 -07:00
README.md final touches 2014-09-12 00:19:29 -07:00
sbt-launch.jar Bump scala to 2.10.2, sbt to 0.13-RC2, including new launcher. Upgrade reflection in network.scala to 2.10 lib. Constants now obtained from subproject package objects. Give network its own file. 2013-07-24 23:28:43 -07:00

README.md

Quick and dirty instructions:

Checkout The Code

$ git submodule update --init --recursive

Building The Toolchain

To build RISC-V ISA simulator, frontend server, proxy kernel and newlib based GNU toolchain:

$ export RISCV=/path/to/riscv/toolchain/installation
$ cd riscv-tools
$ ./build.sh

Building The Project

To build the C simulator:

$ cd emulator
$ make

To build the VCS simulator:

$ cd vsim
$ make

in either case, you can run a set of assembly tests or simple benchmarks:

$ make run-asm-tests
$ make run-bmarks-test

To build a C simulator that is capable of VCD waveform generation:

$ cd emulator
$ make debug

And to run the assembly tests on the C simulator and generate waveforms:

$ make run-asm-tests-debug
$ make run-bmarks-test-debug

To get FPGA-synthesizable verilog (output will be in fsim/generated-src):

$ cd fsim
$ make verilog

Updating To A Newer Version Of Chisel

To grab a newer version of chisel:

$ git submodule update --init
$ cd chisel
$ git pull origin master