embench / embench-iot

The main Embench repository
https://www.embench.org/
GNU General Public License v3.0
259 stars 105 forks source link

Board declaration necessary? #140

Open Abraham-Castaneda opened 3 years ago

Abraham-Castaneda commented 3 years ago

In the user's guide, under "configuring the benchmarks", it describes how the benchmarks can be configured by declaring an architecture. However, when I try to use --arch riscv32 with ./build_all.py, it simply won't run without me declaring the board, of which I can only choose one, ri5cyverilator. The processor I am trying to test does not have a board or chip assigned to it yet, so I am at a loss on how to proceed. Any help would be appreciated.

jeremybennett commented 3 years ago

@Abraham-Castaneda Sorry for the slow reply. If you have a new processor and board, you will have to create new declarations for the board and the processor. Take a similar processor as an example and use it as a template. There is some guidance in the doc directory.

If you want to then execute your tests, you will need to create a Python module in order to get the tests to run on your platform and return result and time. Again take an existing example and modify it.