├── CMakeLists.txt ├── README.md ├── assem.txt ├── cpu ├── alu.cpp ├── alu.h ├── cpu.cpp ├── cpu.h ├── reg.cpp └── reg.h ├── main.cpp ├── mem ├── mem.cpp └── mem.h ├── test ├── test-alu.cpp └── test-cpu.cpp └── translator ├── trans_main.cpp ├── translator.cpp └── translator.h /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ohyoukillkenny/riscv-simulator/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ohyoukillkenny/riscv-simulator/HEAD/README.md -------------------------------------------------------------------------------- /assem.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ohyoukillkenny/riscv-simulator/HEAD/assem.txt -------------------------------------------------------------------------------- /cpu/alu.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ohyoukillkenny/riscv-simulator/HEAD/cpu/alu.cpp -------------------------------------------------------------------------------- /cpu/alu.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ohyoukillkenny/riscv-simulator/HEAD/cpu/alu.h -------------------------------------------------------------------------------- /cpu/cpu.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ohyoukillkenny/riscv-simulator/HEAD/cpu/cpu.cpp -------------------------------------------------------------------------------- /cpu/cpu.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ohyoukillkenny/riscv-simulator/HEAD/cpu/cpu.h -------------------------------------------------------------------------------- /cpu/reg.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ohyoukillkenny/riscv-simulator/HEAD/cpu/reg.cpp -------------------------------------------------------------------------------- /cpu/reg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ohyoukillkenny/riscv-simulator/HEAD/cpu/reg.h -------------------------------------------------------------------------------- /main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ohyoukillkenny/riscv-simulator/HEAD/main.cpp -------------------------------------------------------------------------------- /mem/mem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ohyoukillkenny/riscv-simulator/HEAD/mem/mem.cpp -------------------------------------------------------------------------------- /mem/mem.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ohyoukillkenny/riscv-simulator/HEAD/mem/mem.h -------------------------------------------------------------------------------- /test/test-alu.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ohyoukillkenny/riscv-simulator/HEAD/test/test-alu.cpp -------------------------------------------------------------------------------- /test/test-cpu.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ohyoukillkenny/riscv-simulator/HEAD/test/test-cpu.cpp -------------------------------------------------------------------------------- /translator/trans_main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ohyoukillkenny/riscv-simulator/HEAD/translator/trans_main.cpp -------------------------------------------------------------------------------- /translator/translator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ohyoukillkenny/riscv-simulator/HEAD/translator/translator.cpp -------------------------------------------------------------------------------- /translator/translator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ohyoukillkenny/riscv-simulator/HEAD/translator/translator.h --------------------------------------------------------------------------------