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
+19-10Lines changed: 19 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,21 @@ not a complete overview of all signals, this is meant as a slightly more
13
13
detailed overview that can assist in development. Please be aware that the
14
14
schematic may not be 100% accurate.
15
15
16
+
## Dependencies
17
+
18
+
To *build* the cluster, you will need:
19
+
20
+
- Bender `>= 0.24.0`
21
+
- GNU Make `>= 3.82`
22
+
- Python `>= 3.9`
23
+
- RISCV GCC `>= 11.2.0`
24
+
25
+
We use [Bender](https://github.com/pulp-platform/bender) for hardware IP and dependency management; for more information on using Bender, please see its documentation. You can install Bender directly through the Rust package manager Cargo:
26
+
27
+
```
28
+
cargo install bender
29
+
```
30
+
16
31
## Simulation
17
32
18
33
It is possible to run benchmarks on the cluster, either within
@@ -28,31 +43,25 @@ Warning: requires QuestaSim 2022.3 or newer.
28
43
RISCV GCC toolchain](https://github.com/pulp-platform/pulp-riscv-gcc) to use
29
44
a pre-built release. (At IIS, this is set up by the env script in step 4.)
30
45
31
-
2. We need RV64 toolchain to compile DPI libraries. To this purpose, export the
32
-
RV64 toolchain to a `RISCV` env variable and also export your questa
33
-
installation path to a `QUESTASIM_HOME` env variable. Please refer to [RISC-V
34
-
GNU toolchain](https://github.com/riscv-collab/riscv-gnu-toolchain/) to use a
35
-
pre-built RV64 toolchain release.
36
-
37
-
3. Compile the hw:
46
+
2. Compile the hw:
38
47
```
39
48
make checkout
40
49
make scripts/compile.tcl
41
50
make build
42
51
```
43
52
44
-
4. Download the sw stack and bare-metal tests:
53
+
3. Download the sw stack and bare-metal tests:
45
54
```
46
55
make pulp-runtime
47
56
make regression_tests
48
57
```
49
58
50
-
5. Source the environment:
59
+
4. Source the environment:
51
60
```
52
61
source env/env.sh
53
62
```
54
63
55
-
6. Run the tests. Choose any test among the `parallel_bare_tests` and the
64
+
5. Run the tests. Choose any test among the `parallel_bare_tests` and the
56
65
`mchan_tests`, move into the related folder and do:
0 commit comments