Skip to content

Commit

Permalink
[doc] update picture
Browse files Browse the repository at this point in the history
  • Loading branch information
Clo91eaf committed May 10, 2024
1 parent f118d5f commit cfc483b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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:
Expand Down
Binary file added doc/pic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cfc483b

Please sign in to comment.