Skip to content

Commit

Permalink
Merge pull request #773 from ucb-bar/dev
Browse files Browse the repository at this point in the history
Chipyard 1.5 Release (Dev -> Master Tracking)
  • Loading branch information
alonamid authored Jun 15, 2021
2 parents 45684f1 + ba1351c commit b5d0131
Show file tree
Hide file tree
Showing 101 changed files with 1,682 additions and 1,608 deletions.
2 changes: 1 addition & 1 deletion .circleci/check-commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ else
fi
search

submodules=("DRAMSim2" "axe" "barstools" "chisel-testers" "dsptools" "firrtl-interpreter" "torture" "treadle")
submodules=("DRAMSim2" "axe" "barstools" "chisel-testers" "dsptools" "rocket-dsp-utils" "firrtl-interpreter" "torture" "treadle")
dir="tools"
if [ "$CIRCLE_BRANCH" == "master" ] || [ "$CIRCLE_BRANCH" == "dev" ]
then
Expand Down
17 changes: 9 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ version: 2.1
parameters:
tools-cache-version:
type: string
default: "v6"
default: "v11"

# default execution env.s
executors:
main-env:
docker:
- image: ucbbar/chipyard-image:1.0.1
- image: ucbbar/chipyard-ci-image:1d51bb90
environment:
JVM_OPTS: -Xmx3200m # Customize the JVM maximum heap limit

Expand Down Expand Up @@ -41,7 +41,7 @@ commands:
- save_cache:
key: << parameters.tools-version >>-installed-<< pipeline.parameters.tools-cache-version >>-{{ checksum "../<< parameters.tools-version >>.hash" }}
paths:
- "/home/riscvuser/<< parameters.tools-version >>-install"
- "/root/<< parameters.tools-version >>-install"

ssh-checkout:
description: "Add SSH key and checkout code"
Expand Down Expand Up @@ -95,7 +95,7 @@ commands:
- save_cache:
key: << parameters.group-key >>-{{ .Branch }}-{{ .Revision }}
paths:
- "/home/riscvuser/project"
- "/root/project"

run-tests:
description: "Run a set of tests"
Expand All @@ -112,7 +112,7 @@ commands:
default: "run-tests.sh"
timeout:
type: string
default: "10m"
default: "25m"
steps:
- setup-tools:
tools-version: "<< parameters.tools-version >>"
Expand Down Expand Up @@ -190,7 +190,7 @@ jobs:
- save_cache:
key: extra-tests-{{ .Branch }}-{{ .Revision }}
paths:
- "/home/riscvuser/project/tests"
- "/root/project/tests"

prepare-chipyard-cores:
executor: main-env
Expand Down Expand Up @@ -231,7 +231,7 @@ jobs:
- run-tests:
group-key: "group-cores"
project-key: "chipyard-hetero"
timeout: "15m"
timeout: "20m"
chipyard-boom-run-tests:
executor: main-env
steps:
Expand Down Expand Up @@ -287,6 +287,7 @@ jobs:
executor: main-env
steps:
- run-tests:
tools-version: "esp-tools"
group-key: "group-accels"
project-key: "chipyard-sha3"
chipyard-streaming-fir-run-tests:
Expand All @@ -308,6 +309,7 @@ jobs:
tools-version: "esp-tools"
group-key: "group-accels"
project-key: "chipyard-hwacha"
timeout: "30m"
chipyard-gemmini-run-tests:
executor: main-env
steps:
Expand Down Expand Up @@ -520,4 +522,3 @@ workflows:
- prepare-chipyard-fpga:
requires:
- install-riscv-toolchain

216 changes: 0 additions & 216 deletions .circleci/images/Dockerfile

This file was deleted.

18 changes: 0 additions & 18 deletions .circleci/images/README.md

This file was deleted.

5 changes: 4 additions & 1 deletion .circleci/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,11 @@ case $1 in
$LOCAL_SIM_DIR/simulator-chipyard-GemminiRocketConfig $GEMMINI_SOFTWARE_DIR/build/bareMetalC/mvin_mvout-baremetal
;;
chipyard-sha3)
export RISCV=$LOCAL_ESP_DIR
export LD_LIBRARY_PATH=$LOCAL_ESP_DIR/lib
export PATH=$RISCV/bin:$PATH
(cd $LOCAL_CHIPYARD_DIR/generators/sha3/software && ./build.sh)
$LOCAL_SIM_DIR/simulator-chipyard-Sha3RocketConfig $LOCAL_CHIPYARD_DIR/generators/sha3/software/benchmarks/bare/sha3-rocc.riscv
$LOCAL_SIM_DIR/simulator-chipyard-Sha3RocketConfig $LOCAL_CHIPYARD_DIR/generators/sha3/software/tests/bare/sha3-rocc.riscv
;;
chipyard-streaming-passthrough)
make -C $LOCAL_CHIPYARD_DIR/tests
Expand Down
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,9 @@
[submodule "fpga/fpga-shells"]
path = fpga/fpga-shells
url = https://github.com/sifive/fpga-shells.git
[submodule "tools/api-config-chipsalliance"]
path = tools/api-config-chipsalliance
url = https://github.com/chipsalliance/api-config-chipsalliance.git
[submodule "tools/rocket-dsp-utils"]
path = tools/rocket-dsp-utils
url = https://github.com/ucb-bar/rocket-dsp-utils
4 changes: 4 additions & 0 deletions .java_tmp/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Ignore everything in this directory
*
# Except this file
!.gitignore
2 changes: 2 additions & 0 deletions .sbtopts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-Dsbt.sourcemode=true
-Dsbt.workspace=$PWD/tools
Loading

0 comments on commit b5d0131

Please sign in to comment.