* [ariane/make] integrate ariane | have verilator be installed on path not in makefile * [misc] warn on verilator not found | search for v files | cleanup build.sbt + .gitignore * [firesim] bump * [ci] add midas ariane tests * [docker/ci] use new docker-image with verilator | re-elab on v changes for ariane | address comments * [ci] remove references to local verilator install * [verilator] update flags * [verilator] minimal set of flags for ariane * [ariane] bump ariane to master * [ci] revert to 4.016 verilator * [ci] install verilator to ci server | misc compile fixes * [ci/make] add longer ci timeout | update when assert is added in verilator sim * [firesim] bump for misc. updates * [make/ci] cleanup makefile and remove firesim tests of it * [docs/firesim] bump and clean docs * [firesim] bump * [ci] use remote verilator for midas tests * [misc] cleanup built.sbt more * [firesim] bump * [misc] bump build.sbt patch for tutorials * [firesim/ci] cleanup and bump firesim
30 lines
592 B
Bash
Executable File
30 lines
592 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# turn echo on and error on earliest command
|
|
set -ex
|
|
|
|
# get remote exec variables
|
|
SCRIPT_DIR="$( cd "$( dirname "$0" )" && pwd )"
|
|
source $SCRIPT_DIR/defaults.sh
|
|
|
|
export FIRESIM_ENV_SOURCED=1
|
|
|
|
SIMULATION_ARGS="${mapping[$1]}"
|
|
|
|
cd $LOCAL_CHIPYARD_DIR/sims/firesim
|
|
./scripts/build-libelf.sh
|
|
./scripts/build-libdwarf.sh
|
|
cd $LOCAL_CHIPYARD_DIR
|
|
|
|
|
|
run_test_suite () {
|
|
export RISCV=$LOCAL_RISCV_DIR
|
|
export LD_LIBRARY_PATH=$LOCAL_RISCV_DIR/lib
|
|
make -C $LOCAL_FIRESIM_DIR $SIMULATION_ARGS run-${1}-tests-fast
|
|
}
|
|
|
|
|
|
run_test_suite bmark
|
|
run_test_suite nic
|
|
run_test_suite blockdev
|