riscv_em
Simple risc-v emulator, able to run linux, written in C.
파일 탐색기
최종 버전 다운로드 (.zip)- riscv_em_tests.yml
- build_dtb.sh
- riscv_em.dts
- riscv_em32_linux.dts
- riscv_em_backup.dts
- build_fw.sh
- main.c
- sections.lds
- start.s
- build_test.sh
- link.ld
- riscv_test.h
- encoding.h
- csr.c
- csr.h
- CMakeLists.txt
- mmu.c
- mmu.h
- unit_tests.c
- CMakeLists.txt
- pmp.c
- pmp.h
- unit_tests.c
- CMakeLists.txt
- trap.c
- trap.h
- unit_tests.c
- core.c
- core.h
- riscv_config.h
- riscv_helper.h
- riscv_instr.h
- riscv_types.h
- riscv_xlen_specifics.h
- fifo.c
- fifo.h
- fifo_test.c
- file_helper.c
- file_helper.h
- clint.c
- clint.h
- CMakeLists.txt
- plic.c
- plic.h
- plic_test.c
- unit_tests.c
- simple_uart.c
- simple_uart.h
- uart_8250.c
- uart_8250.h
- riscv_example_soc.c
- riscv_example_soc.h
- main.c
- .gitignore
- .gitmodules
- CMakeLists.txt
- github_ci_prepare.sh
- github_ci_run_tests.sh
- LICENSE
- README.md
- Unity
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/franzflasch/riscv_em
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd riscv_em
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. CMake
보통 추천사전 준비물
cmake -DRV_ARCH=64 ..
이 명령어를 터미널에 그대로 입력해 실행하세요.
cmake -DRV_ARCH=32 ..
이 명령어를 터미널에 그대로 입력해 실행하세요.
build 폴더 안에 실행 파일이 생성됐는지 확인하고, 직접 실행해보세요 (예: ./build/앱이름).
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
