You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-8Lines changed: 11 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -101,7 +101,7 @@ To compatible with SoC test, All types of TreeCore have same memory map range:
101
101
## Usage
102
102
adsfadfasdfasf
103
103
### Enviroment Setup
104
-
> NOTE: All of the components are installed under linux operation system. To gurantee the compatibility and stability, I strongly recommend using `ubuntu 20.04 LTS`.
104
+
> NOTE: All of the components and tools are installed under linux operation system. To gurantee the compatibility and stability, I strongly recommend using `ubuntu 20.04 LTS`. `ubuntu 18.04` and `ubuntu 16.04` is not supported official.
105
105
106
106
First, you need to install verilator, mill and dependency libraries:
107
107
```bash
@@ -110,15 +110,16 @@ $ cd rtl
110
110
$ chmod +x scripts/install.sh
111
111
$ make install
112
112
```
113
-
Then, download and configuare all components from the github:
113
+
Then, download and configuare all components from the github and gitee:
114
114
```bash
115
115
$ chmod +x scripts/setup.sh
116
116
$ make setup
117
117
```
118
-
After that, you need to set the `NEMU_HOME` and `NOOP_HOME` environment variables:
118
+
After that, you need to add the `NEMU_HOME` and `NOOP_HOME` environment variables in sh environment config file:
119
119
```bash
120
-
$ NEMU_HOME=$(pwd)/dependency/NEMU
121
-
$ NOOP_HOME=$(pwd)/dependency
120
+
$ echoexport NEMU_HOME=$(pwd)/dependency/NEMU >>~/.bashrc # according to shell type your system uses
Becuase running the isa test don't need 8G memory, so you need to config the simulation memory size to reduce memory usage. You need to type `make menuconfig` as follow:
@@ -138,6 +139,7 @@ $ make menuconfig
138
139
139
140
Usually, 256MB memory address space is enough for simulation. You need to switch into `[Memory - Configuration]` menu and change `[Memory size]` value into `0x10000000` manually as follow picture shows. It can adjust difftest's simulation memory size from 8G to 256MB.
140
141
142
+
> NOTE: In fact, the `Memory size` has been modified to `0x10000000` in `make setup` phase. Now, you only need to confirm it once more time.
0 commit comments