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: docs/ug/tutorial.md
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -27,17 +27,17 @@ To run software on Snitch without a physical chip, you will need a simulation mo
27
27
28
28
=== "Verilator"
29
29
```shell
30
-
make bin/snitch_cluster.vlt
30
+
make verilator
31
31
```
32
32
33
33
=== "Questa"
34
34
```shell
35
-
make DEBUG=ON bin/snitch_cluster.vsim
35
+
make DEBUG=ON vsim
36
36
```
37
37
38
38
=== "VCS"
39
39
```shell
40
-
make bin/snitch_cluster.vcs
40
+
make vcs
41
41
```
42
42
43
43
These commands compile the RTL sources respectively in `work-vlt`, `work-vsim` and `work-vcs`. Additionally, common C++ testbench sources (e.g. the [frontend server (fesvr)](https://github.com/riscv-software-src/riscv-isa-sim)) are compiled under `work`. Each command will also generate a script or an executable (e.g. `bin/snitch_cluster.vsim`) which we can use to simulate software on Snitch, as we will see in section [Running a simulation](#running-a-simulation).
@@ -54,7 +54,7 @@ In the [`cfg`](https://github.com/pulp-platform/{{ repo }}/blob/{{ branch }}/tar
54
54
The command you previously executed automatically generated the RTL sources from the templates, and it implicitly used the default configuration file. In this configuration the FPU is not equipped with a floating-point divide and square-root unit.
55
55
To override the default configuration file, e.g. to use the omega TCDM interconnect, define the following variable when you invoke `make`:
56
56
```shell
57
-
make CFG_OVERRIDE=cfg/omega.json bin/snitch_cluster.vlt
57
+
make CFG_OVERRIDE=cfg/omega.json verilator
58
58
```
59
59
60
60
If you want to use a custom configuration, just point `CFG_OVERRIDE` to the path of your configuration file.
@@ -268,11 +268,11 @@ In your `tutorial` folder, create a new file named `app.mk` with the following c
0 commit comments