Miguel Young de la Sota | 630e15e | 2020-09-21 14:44:39 -0400 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | # Copyright lowRISC contributors. |
| 3 | # Licensed under the Apache License, Version 2.0, see LICENSE for details. |
| 4 | # SPDX-License-Identifier: Apache-2.0 |
| 5 | set -e |
| 6 | |
| 7 | . util/build_consts.sh |
| 8 | |
Michael Schaffner | 93fe50c | 2021-03-31 16:25:42 -0700 | [diff] [blame] | 9 | export TARGET_SIM="$BIN_DIR/hw/top_earlgrey/Vchip_earlgrey_verilator" |
Miguel Young de la Sota | 630e15e | 2020-09-21 14:44:39 -0400 | [diff] [blame] | 10 | export RISCV_DEVICE=rv32imc |
| 11 | export RISCV_TARGET=opentitan |
| 12 | export OT_BIN="$BIN_DIR" |
| 13 | export OT_TARGET=sim_verilator |
| 14 | export OT_TOOLS="${TOOLCHAIN_PATH:-/tools/riscv}/bin" |
| 15 | |
| 16 | make -C "$REPO_TOP/sw/vendor/riscv_compliance" RISCV_ISA="$1" VERBOSE=1 |
| 17 | |