Skip to content

Commit

Permalink
[doc] Describe counters more explicitly in simple_system README
Browse files Browse the repository at this point in the history
  • Loading branch information
rswarbrick authored and nbdd0121 committed Nov 24, 2023
1 parent 7647e9a commit 508c4a2
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions examples/simple_system/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,20 @@ run stand-alone binaries. It contains:

## Building Simulation

The Simple System simulator binary can be built via FuseSoC. From the Ibex
repository root run:
The Simple System simulator binary can be built via FuseSoC. This can be built
with different configurations of Ibex, specified by parameters. To build the
"small" configuration, run the following command from the Ibex repository root.


```
fusesoc --cores-root=. run --target=sim --setup --build lowrisc:ibex:ibex_simple_system --RV32E=0 --RV32M=ibex_pkg::RV32MFast
fusesoc --cores-root=. run --target=sim --setup --build \
lowrisc:ibex:ibex_simple_system $(util/ibex_config.py small fusesoc_opts)
```

To see performance counters other than the total number of instructions
executed, you will need to ask for a larger configuration. One possible example
comes from replacing `small` in the command above with `opentitan`.

## Building Software

Simple System related software can be found in `examples/sw/simple_system`.
Expand Down

0 comments on commit 508c4a2

Please sign in to comment.