Skip to content

Commit f488857

Browse files
committed
Cleanup unused files
1 parent 3063d64 commit f488857

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

136 files changed

+4
-36258
lines changed

.clang-format

Lines changed: 0 additions & 25 deletions
This file was deleted.

.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.gitmodules

Lines changed: 0 additions & 3 deletions
This file was deleted.

Makefile

Lines changed: 0 additions & 82 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,5 @@
1-
# The test suite for [rv32emu project](https://github.com/sysprog21/rv32emu)
1+
# The prebuilt binaries for [rv32emu](https://github.com/sysprog21/rv32emu)
22

3-
## Prerequisites
4-
5-
This test suite relies RISC-V GNU toolchain to build the ELF files. See the [prerequisites section](https://github.com/riscv-collab/riscv-gnu-toolchain?tab=readme-ov-file#prerequisites) of RISC-V GNU toolchain.
6-
7-
## Build ELFs
8-
9-
Run `make` to build the binaries.
10-
The default enabled extensions of RISC-V are `rv32gc` (a.k.a. rv32imafdc) and the optimization levels are `O0, O1, O2`.
11-
These two options can be overrided by the argument `RV32_EXT` and `OPT_LEVEL`.
12-
13-
```shell
14-
$ make [RV32_EXT=<rv32_ext>] [OPT_LEVEL=<opt_level>]
15-
```
16-
17-
The `RV32_EXT` takes the same value that passing to `--with-arch` of the RISC-V GNU toolchain, and the `OPT_LEVEL` takes the combination of the whitespace separated number of 0, 1, 2 and quoted with the (double) quotation marks.
18-
19-
e.g.
20-
21-
```shell
22-
$ make RV32_EXT=rv32im OPT_LEVEL="0 2"
23-
```
24-
25-
Notice that the above command will build the corresponding toolchain first if it doesn't exist and might take a few time.
26-
You can set the `--jobs (-j)` option to enable the parallel build.
27-
28-
---
29-
30-
The built binaries will be placed in the corresponding subdirectories under the `build` directory.
31-
32-
```
33-
rv32emu-prebuilt/
34-
+-- build/
35-
| +-- <RV32_EXT>/
36-
| +-- O0/
37-
| | ...
38-
| |
39-
| +-- O1/
40-
| | ...
41-
| |
42-
| +-- O2/
43-
| | ...
44-
|
45-
+-- ...
46-
```
3+
- testbenches (x86-softfp / aarch64)
4+
- [RISC-V Sail model](https://github.com/riscv/sail-riscv)
5+
- Linux Kerenl image

mk/common.mk

Lines changed: 0 additions & 15 deletions
This file was deleted.

mk/toolchain.mk

Lines changed: 0 additions & 23 deletions
This file was deleted.

riscv-gnu-toolchain

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)