blob: 24be1e23320a2dd579d6e7215061284ba987f18b [file] [log] [blame]
Miguel Young de la Sota630e15e2020-09-21 14:44:39 -04001#!/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
5set -e
6
7. util/build_consts.sh
8
Michael Schaffner93fe50c2021-03-31 16:25:42 -07009export TARGET_SIM="$BIN_DIR/hw/top_earlgrey/Vchip_earlgrey_verilator"
Miguel Young de la Sota630e15e2020-09-21 14:44:39 -040010export RISCV_DEVICE=rv32imc
11export RISCV_TARGET=opentitan
12export OT_BIN="$BIN_DIR"
13export OT_TARGET=sim_verilator
14export OT_TOOLS="${TOOLCHAIN_PATH:-/tools/riscv}/bin"
15
16make -C "$REPO_TOP/sw/vendor/riscv_compliance" RISCV_ISA="$1" VERBOSE=1
17