#!/usr/bin/env sh
set -eu
tb=${1:?usage: run_sim.sh /path/to/tb [build-dir]}
build_dir=${2:-build}
echo "== task01_sw_timer =="
"$tb" --bin "$build_dir/task01_sw_timer/prog.bin" --cycles 1000000 --cpuret
