Skip to content

Commit 1d48e59

Browse files
committed
README_GAP9: document -s board and --powerMeasurement
1 parent ff8f39f commit 1d48e59

1 file changed

Lines changed: 25 additions & 2 deletions

File tree

README_GAP9.md

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,31 @@ pip install -e .
5454

5555
```sh
5656
cd /app/Deeploy/DeeployTest
57-
python deeployRunner_gap9.py -t ./Tests/Kernels/FP32/MatMul
58-
python deeployRunner_tiled_gap9.py -t ./Tests/Kernels/FP32/MatMul
57+
58+
# Run on GVSoC (default simulator)
59+
python deeployRunner_gap9.py -t ./Tests/Kernels/FP32/MatMul
60+
python deeployRunner_tiled_gap9.py -t ./Tests/Kernels/FP32/MatMul
61+
```
62+
63+
#### Run on the GAP9 board
64+
65+
Pass `-s board` to flash the binary to the connected board via `gapy` and run it
66+
(`board_<test>` CMake target). USB passthrough must already be set up — see
67+
[Use A Real GAP9 Board](#use-a-real-gap9-board-usbip-via-gap9-runsh) below.
68+
69+
```sh
70+
python deeployRunner_gap9.py -t ./Tests/Kernels/FP32/Add/Regular -s board
71+
python deeployRunner_tiled_gap9.py -t ./Tests/Kernels/FP32/Add/Regular -s board
72+
```
73+
74+
#### External power measurement (PPK2)
75+
76+
`--powerMeasurement` toggles a GPIO around the inference window so an external
77+
probe (e.g. Nordic PPK2) can gate its measurement to the compute region. Only
78+
meaningful with `-s board`.
79+
80+
```sh
81+
python deeployRunner_gap9.py -t ./Tests/Kernels/FP32/Add/Regular -s board --powerMeasurement
5982
```
6083

6184
### Use A Real GAP9 Board (USB/IP via gap9-run.sh)

0 commit comments

Comments
 (0)