Commit c6a6caa
authored
Arm backend: Auto generate cycle table if ETDump is used (#13943)
### Summary
If you use **run.sh** with **--etdump** e.g. something like this:
`examples/arm/run.sh --et_build_root=arm_test/test_run
--target=ethos-u55-256 --model_name=mv2 --etdump`
The script will dig out the ETDump file from the FVP logs and use it to
produce a cycle table automatically.
Please remember the the CorstoneFVP is not a cycle accurate simulator
and the CPU cycle numbers can not be trusted, please run on real
hardware or FPGA to get valid number. Running it on a FVP is mostly
useful to check that the tools/flow work and not the actual CPU cycle
numbers.
### Test plan
This is tested by the test scripts
cc @digantdesai @freddan80 @per @oscarandersson8218
Signed-off-by: Zingo Andersen <[email protected]>1 parent cfd9b68 commit c6a6caa
File tree
2 files changed
+18
-3
lines changed- backends/arm/scripts
- examples/arm/executor_runner
2 files changed
+18
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
114 | 129 | | |
115 | 130 | | |
116 | 131 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
852 | 852 | | |
853 | 853 | | |
854 | 854 | | |
855 | | - | |
| 855 | + | |
856 | 856 | | |
857 | 857 | | |
858 | 858 | | |
| |||
0 commit comments