Skip to content

Commit

Permalink
small fix on Questasim section
Browse files Browse the repository at this point in the history
  • Loading branch information
Consani Mattia committed Oct 19, 2023
1 parent b2e1a5b commit 0b5fb1d
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,14 @@ and type to run your compiled software:
make run PLUSARGS="c firmware=../../../sw/build/main.hex"
```

or

```
make run-gui PLUSARGS="c firmware=../../../sw/build/main.hex"
```

to also open the graphical interface.

You can also use vopt for HDL optimized compilation:

```
Expand All @@ -368,14 +376,22 @@ make questasim-sim-opt
then go to

```
cd ./build/openhwgroup.org_systems_core-v-mini-mcu_0/sim_opt-modelsim/
cd ./build/openhwgroup.org_systems_core-v-mini-mcu_0/sim-modelsim/
```
and

```
make run RUN_OPT=1 PLUSARGS="c firmware=../../../sw/build/main.hex"
```

or

```
make run-gui RUN_OPT=1 PLUSARGS="c firmware=../../../sw/build/main.hex"
```

to also open the graphical interface.

You can also compile with the UPF power domain description as:

```
Expand Down

0 comments on commit 0b5fb1d

Please sign in to comment.