- acquire a copy of embench
- in your fusesoc installation folder, run
abspath.py
(making sure thatinpath
matches the name of the config file) - copy the output of
abspath.py
.- (optional, saves a command line flag) in
run_fusesoc.py
, change the default value of--config-path
to the directory name you just copied - otherwise, add
--config-path {path_to_fusesoc_abs.conf}
to the command line options
- (optional, saves a command line flag) in
- copy the
config/openrisc
directory intoconfig/
of the embench copy - copy the
pylib/run_fusesoc.py
support file intopylib/
of the embench copy - in the embench directory, run
./benchmark_speed.py --timeout 120 --target-module run_fusesoc --fusesoc_target {target}
- where
{target}
can either bemarocchino_tb
ormor1kx_tb
- the modified timeout is recommended specifically for
marocchino
. - additional args can obviously be included, but check
run_fusesoc.py
andbenchmark_speed.py
for what is supported.
- where