Simulate the RISC-V core to run with the binary file.
#What to do?
This project will support following functions:
- Recognize the instruction, identify the illegal instruction.
- Easy to support new instructions and user defined instructions.
- Run as a RISC-V based core.
- Run with some sample peripherals, such as UART and interrupt.
- Build a unit test framework to test the software with the binary file compiled by RISC-V compiler.
#Why use GO langue?
- Use goroutine could easily simulate the interrupt and peripherals.
- The GO langue is very similar with the C langue, easy to add new instructions by C programmers.
- Easy to do the uint test.
#Unit test Use GoConvey to support Go's native testing package. get GoConvey as follow: go get github.com/smartystreets/goconvey run the goconvey.exe in this directory, then open browser to localhost:8080, tests will be run and we can get the coverage.