use example config for hwacha (otherwise use other hwacha params)

This commit is contained in:
abejgonzalez
2019-05-13 10:27:36 -07:00
parent 2d644f1352
commit 1226591231
3 changed files with 11 additions and 23 deletions

View File

@@ -1,9 +1,7 @@
#!/bin/bash
# create the different verilator builds
# 1st argument is the subproject
# 2nd argument is the config package (can be unspecified)
# 3nd argument is the config (can be unspecified)
# argument is the make command string
# turn echo on and error on earliest command
set -ex
@@ -17,16 +15,6 @@ cd sims/verisim
make clean
# run the particular build command
if [ $# -ne 0 ]; then
if [ $# -eq 1 ]; then
make SUB_PROJECT=$1 JAVA_ARGS="-Xmx2G -Xss8M"
elif [ $# -eq 3 ]; then
make SUB_PROJECT=$1 CONFIG_PACKAGE=$2 CONFIG=$3 JAVA_ARGS="-Xmx2G -Xss8M"
else
exit 1 # wrong amount of args
fi
else
exit 1 # need to provide at least the arg
fi
make JAVA_ARGS="-Xmx2G -Xss8M" $@
rm -rf ../../project