make hwacha smaller
This commit is contained in:
@@ -153,7 +153,7 @@ jobs:
|
|||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Building the boomexample subproject using Verilator
|
name: Building the boomexample subproject using Verilator
|
||||||
command: .circleci/do-rtl-build.sh boomexample SmallDefaultBoomConfig
|
command: .circleci/do-rtl-build.sh boomexample example SmallDefaultBoomConfig
|
||||||
no_output_timeout: 120m
|
no_output_timeout: 120m
|
||||||
|
|
||||||
- save_cache:
|
- save_cache:
|
||||||
@@ -255,7 +255,7 @@ jobs:
|
|||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Building the hwacha subproject using Verilator
|
name: Building the hwacha subproject using Verilator
|
||||||
command: .circleci/do-rtl-build.sh hwacha
|
command: .circleci/do-rtl-build.sh hwacha example SmallHwachaConfig
|
||||||
no_output_timeout: 120m
|
no_output_timeout: 120m
|
||||||
|
|
||||||
- save_cache:
|
- save_cache:
|
||||||
@@ -401,7 +401,7 @@ jobs:
|
|||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Run hwacha benchmark tests
|
name: Run hwacha benchmark tests
|
||||||
command: make run-bmark-tests -C sims/verisim SUB_PROJECT=hwacha
|
command: make run-bmark-tests -C sims/verisim SUB_PROJECT=hwacha CONFIG_PACKAGE=example CONFIG=SmallHwachaConfig
|
||||||
|
|
||||||
# Order and dependencies of jobs to run
|
# Order and dependencies of jobs to run
|
||||||
workflows:
|
workflows:
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
|
|
||||||
# create the different verilator builds
|
# create the different verilator builds
|
||||||
# 1st argument is the subproject
|
# 1st argument is the subproject
|
||||||
# 2nd argument is the config (can be unspecified)
|
# 2nd argument is the config package (can be unspecified)
|
||||||
|
# 3nd argument is the config (can be unspecified)
|
||||||
|
|
||||||
# turn echo on and error on earliest command
|
# turn echo on and error on earliest command
|
||||||
set -ex
|
set -ex
|
||||||
@@ -19,8 +20,8 @@ make clean
|
|||||||
if [ $# -ne 0 ]; then
|
if [ $# -ne 0 ]; then
|
||||||
if [ $# -eq 1 ]; then
|
if [ $# -eq 1 ]; then
|
||||||
make SUB_PROJECT=$1 JAVA_ARGS="-Xmx2G -Xss8M"
|
make SUB_PROJECT=$1 JAVA_ARGS="-Xmx2G -Xss8M"
|
||||||
elif [ $# -eq 2 ]; then
|
elif [ $# -eq 3 ]; then
|
||||||
make SUB_PROJECT=$1 CONFIG=$2 JAVA_ARGS="-Xmx2G -Xss8M"
|
make SUB_PROJECT=$1 CONFIG_PACKAGE=$2 CONFIG=$3 JAVA_ARGS="-Xmx2G -Xss8M"
|
||||||
else
|
else
|
||||||
exit 1 # wrong amount of args
|
exit 1 # wrong amount of args
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -21,6 +21,11 @@ class HwachaConfig extends Config(
|
|||||||
new hwacha.DefaultHwachaConfig ++
|
new hwacha.DefaultHwachaConfig ++
|
||||||
new DefaultRocketConfig)
|
new DefaultRocketConfig)
|
||||||
|
|
||||||
|
class SmallHwachaConfig extends Config(
|
||||||
|
new hwacha.WithNBanks(1) ++
|
||||||
|
new hwacha.DefaultHwachaConfig ++
|
||||||
|
new DefaultConfig)
|
||||||
|
|
||||||
class RoccRocketConfig extends Config(
|
class RoccRocketConfig extends Config(
|
||||||
new WithRoccExample ++
|
new WithRoccExample ++
|
||||||
new DefaultRocketConfig)
|
new DefaultRocketConfig)
|
||||||
|
|||||||
Reference in New Issue
Block a user