#!/bin/bash

cd $(dirname $0)
bindir=$(dirname $(dirname $(pwd)))/bin/Linux64

${bindir}/riscvOVPsim.exe \
    --program coremark.RISCV32.elf \
    --variant RVB32I \
    --override riscvOVPsim/cpu/add_Extensions=MACSU "$@" \
    -argv 0 0 0x66

# validate with args
# 0 0 0x66
# and
# 0x3415 0x3415 0x66
# next argument is iterations, default 1000
