fcb04f61414ac57d736c20b6b964e7c5dbb9e64a
				
			
			
		
	DBT-RISE-RISCV
Am instruction set simulator based on DBT-RISE implementing the RISC-V ISA
DBT-RISE-RISCV README
This is work in progress, so use at your own risk. Goal is to implement an open-source ISS which can easily embedded e.g. into SystemC Virtual Prototypes. It used code generation to allow easy extension and adaptation of the used instruction. The RISC-V ISS reaches about 30MIPS running on Intel Core i7-2600K.
The implementation is based on LLVM 4.0. Eclipse CDT 4.7 (Oxygen) is recommended as IDE.
DBT-RISE-RISCV uses libGIS (https://github.com/vsergeev/libGIS) as well as ELFIO (http://elfio.sourceforge.net/), both under MIT license
What's missing
- F & D standard extensions for 32bit to be implemented
- MACF &D standard extensions for 64bit to be implemented and verified
Planned features
- add platform peripherals beyond programmers view to resemble E300 platform
- QSPI
- PWM
- ...
 
- and more
Quick start
- you need to have a decent compiler, make, python, and cmake installed
- install LLVM 4.0 according to http://apt.llvm.org/ (if it is not already provided by your distribution e.g by Ubuntu 17.04)
- install conan.io (see also http://docs.conan.io/en/latest/installation.html):
    pip install conan
- setup conan to use the minres repo:
    conan remote add minres https://api.bintray.com/conan/minres/conan-repo
    conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
- checkout source from git
- start an out-of-source build:
    cd DBT-RISE-RiscV
    mkdir build
    cd build
    cmake ..
    cmake --build .
- if you encounter issues when linking wrt. c++11 symbols you might have run into GCC ABI incompatibility introduced from GCC 5.0 onwards. You can fix this by adding '-s compiler.libcxx=libstdc++11' to the conan call or changing compiler.libcxx to
compiler.libcxx=libstdc++11
in $HOME/.conan/profiles/default
					Languages
				
				
								
								
									C
								
								54.4%
							
						
							
								
								
									C++
								
								39.1%
							
						
							
								
								
									Makefile
								
								3%
							
						
							
								
								
									HTML
								
								2.6%
							
						
							
								
								
									CMake
								
								0.7%
							
						
							
								
								
									Other
								
								0.2%