├── .clang-format ├── .gitignore ├── LICENSE.txt ├── README.md ├── rv.c ├── rv.h └── tools ├── baremetal └── link.ld ├── example ├── .gitignore ├── Makefile ├── example.c ├── rv.c └── rv.h ├── linux ├── .gitignore ├── Makefile ├── README.md ├── extern │ ├── Config.in │ ├── Kconfig │ ├── configs │ │ └── rv_defconfig │ ├── external.desc │ ├── external.mk │ └── rv.dts ├── mach.c ├── rv.c ├── rv.h ├── rv_clint.c ├── rv_clint.h ├── rv_plic.c ├── rv_plic.h ├── rv_uart.c └── rv_uart.h ├── scripts ├── dumpy.py └── swizz2.py └── test ├── .gitignore ├── Makefile ├── regresh.c ├── run_test.c ├── rv.c ├── rv.h └── test.py /.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnurzia/rv/HEAD/.clang-format -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnurzia/rv/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnurzia/rv/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnurzia/rv/HEAD/README.md -------------------------------------------------------------------------------- /rv.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnurzia/rv/HEAD/rv.c -------------------------------------------------------------------------------- /rv.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnurzia/rv/HEAD/rv.h -------------------------------------------------------------------------------- /tools/baremetal/link.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnurzia/rv/HEAD/tools/baremetal/link.ld -------------------------------------------------------------------------------- /tools/example/.gitignore: -------------------------------------------------------------------------------- 1 | example 2 | -------------------------------------------------------------------------------- /tools/example/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnurzia/rv/HEAD/tools/example/Makefile -------------------------------------------------------------------------------- /tools/example/example.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnurzia/rv/HEAD/tools/example/example.c -------------------------------------------------------------------------------- /tools/example/rv.c: -------------------------------------------------------------------------------- 1 | ../../rv.c -------------------------------------------------------------------------------- /tools/example/rv.h: -------------------------------------------------------------------------------- 1 | ../../rv.h -------------------------------------------------------------------------------- /tools/linux/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnurzia/rv/HEAD/tools/linux/.gitignore -------------------------------------------------------------------------------- /tools/linux/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnurzia/rv/HEAD/tools/linux/Makefile -------------------------------------------------------------------------------- /tools/linux/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnurzia/rv/HEAD/tools/linux/README.md -------------------------------------------------------------------------------- /tools/linux/extern/Config.in: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tools/linux/extern/Kconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnurzia/rv/HEAD/tools/linux/extern/Kconfig -------------------------------------------------------------------------------- /tools/linux/extern/configs/rv_defconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnurzia/rv/HEAD/tools/linux/extern/configs/rv_defconfig -------------------------------------------------------------------------------- /tools/linux/extern/external.desc: -------------------------------------------------------------------------------- 1 | name: extern 2 | desc: rv config 3 | -------------------------------------------------------------------------------- /tools/linux/extern/external.mk: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tools/linux/extern/rv.dts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnurzia/rv/HEAD/tools/linux/extern/rv.dts -------------------------------------------------------------------------------- /tools/linux/mach.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnurzia/rv/HEAD/tools/linux/mach.c -------------------------------------------------------------------------------- /tools/linux/rv.c: -------------------------------------------------------------------------------- 1 | ../../rv.c -------------------------------------------------------------------------------- /tools/linux/rv.h: -------------------------------------------------------------------------------- 1 | ../../rv.h -------------------------------------------------------------------------------- /tools/linux/rv_clint.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnurzia/rv/HEAD/tools/linux/rv_clint.c -------------------------------------------------------------------------------- /tools/linux/rv_clint.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnurzia/rv/HEAD/tools/linux/rv_clint.h -------------------------------------------------------------------------------- /tools/linux/rv_plic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnurzia/rv/HEAD/tools/linux/rv_plic.c -------------------------------------------------------------------------------- /tools/linux/rv_plic.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnurzia/rv/HEAD/tools/linux/rv_plic.h -------------------------------------------------------------------------------- /tools/linux/rv_uart.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnurzia/rv/HEAD/tools/linux/rv_uart.c -------------------------------------------------------------------------------- /tools/linux/rv_uart.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnurzia/rv/HEAD/tools/linux/rv_uart.h -------------------------------------------------------------------------------- /tools/scripts/dumpy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnurzia/rv/HEAD/tools/scripts/dumpy.py -------------------------------------------------------------------------------- /tools/scripts/swizz2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnurzia/rv/HEAD/tools/scripts/swizz2.py -------------------------------------------------------------------------------- /tools/test/.gitignore: -------------------------------------------------------------------------------- 1 | run_test 2 | vectors/ 3 | regresh 4 | -------------------------------------------------------------------------------- /tools/test/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnurzia/rv/HEAD/tools/test/Makefile -------------------------------------------------------------------------------- /tools/test/regresh.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnurzia/rv/HEAD/tools/test/regresh.c -------------------------------------------------------------------------------- /tools/test/run_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnurzia/rv/HEAD/tools/test/run_test.c -------------------------------------------------------------------------------- /tools/test/rv.c: -------------------------------------------------------------------------------- 1 | ../../rv.c -------------------------------------------------------------------------------- /tools/test/rv.h: -------------------------------------------------------------------------------- 1 | ../../rv.h -------------------------------------------------------------------------------- /tools/test/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnurzia/rv/HEAD/tools/test/test.py --------------------------------------------------------------------------------