diff --git a/README.md b/README.md index da7d0ea..42eebf2 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,5 @@ -``` -██╗ ██╗███████╗███╗ ███╗██╗ ██╗ -██║ ██║██╔════╝████╗ ████║██║ ██║ -███████║█████╗ ██╔████╔██║██║ ██║ -██╔══██║██╔══╝ ██║╚██╔╝██║██║ ██║ -██║ ██║███████╗██║ ╚═╝ ██║╚██████╔╝ -╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═════╝ -``` +![HEMU](./doc/pic.png) + # HEMU 🚀 - A Rust Riscv Emulator HEMU (HDU Emulator) is a RISCV64 processor simulator written in Rust. It draws inspiration from NEMU(NJU emulator)'s design philosophy and rewrites the logic of the processor using Rust, making the entire system more secure and efficient. Currently, it is an ISA-level simulator but has plans to expand into a cycle-level simulator in the future. At present, HEMU only supports the RISCV64IM instruction set architecture, but there are intentions to continue adding more instruction sets. @@ -57,6 +51,8 @@ if you want to run difftest with TUI, you can use the following command: cargo run -- -k ./dependencies/tests/bin/am-tests/add --diff --tui ``` +In Tui, you can press 'c' to continue, 's' to step, 'q' to quit. + #### Run opensbi You should run HEMU first to generate the dtb with whatever binary. Then you can run HEMU with opensbi, you can use the following command: diff --git a/doc/pic.png b/doc/pic.png new file mode 100755 index 0000000..1a867f7 Binary files /dev/null and b/doc/pic.png differ