Skip to content

Commit b5d0131

Browse files
authored
Merge pull request #773 from ucb-bar/dev
Chipyard 1.5 Release (Dev -> Master Tracking)
2 parents 45684f1 + ba1351c commit b5d0131

File tree

101 files changed

+1682
-1608
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+1682
-1608
lines changed

.circleci/check-commit.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ else
9090
fi
9191
search
9292

93-
submodules=("DRAMSim2" "axe" "barstools" "chisel-testers" "dsptools" "firrtl-interpreter" "torture" "treadle")
93+
submodules=("DRAMSim2" "axe" "barstools" "chisel-testers" "dsptools" "rocket-dsp-utils" "firrtl-interpreter" "torture" "treadle")
9494
dir="tools"
9595
if [ "$CIRCLE_BRANCH" == "master" ] || [ "$CIRCLE_BRANCH" == "dev" ]
9696
then

.circleci/config.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ version: 2.1
66
parameters:
77
tools-cache-version:
88
type: string
9-
default: "v6"
9+
default: "v11"
1010

1111
# default execution env.s
1212
executors:
1313
main-env:
1414
docker:
15-
- image: ucbbar/chipyard-image:1.0.1
15+
- image: ucbbar/chipyard-ci-image:1d51bb90
1616
environment:
1717
JVM_OPTS: -Xmx3200m # Customize the JVM maximum heap limit
1818

@@ -41,7 +41,7 @@ commands:
4141
- save_cache:
4242
key: << parameters.tools-version >>-installed-<< pipeline.parameters.tools-cache-version >>-{{ checksum "../<< parameters.tools-version >>.hash" }}
4343
paths:
44-
- "/home/riscvuser/<< parameters.tools-version >>-install"
44+
- "/root/<< parameters.tools-version >>-install"
4545

4646
ssh-checkout:
4747
description: "Add SSH key and checkout code"
@@ -95,7 +95,7 @@ commands:
9595
- save_cache:
9696
key: << parameters.group-key >>-{{ .Branch }}-{{ .Revision }}
9797
paths:
98-
- "/home/riscvuser/project"
98+
- "/root/project"
9999

100100
run-tests:
101101
description: "Run a set of tests"
@@ -112,7 +112,7 @@ commands:
112112
default: "run-tests.sh"
113113
timeout:
114114
type: string
115-
default: "10m"
115+
default: "25m"
116116
steps:
117117
- setup-tools:
118118
tools-version: "<< parameters.tools-version >>"
@@ -190,7 +190,7 @@ jobs:
190190
- save_cache:
191191
key: extra-tests-{{ .Branch }}-{{ .Revision }}
192192
paths:
193-
- "/home/riscvuser/project/tests"
193+
- "/root/project/tests"
194194

195195
prepare-chipyard-cores:
196196
executor: main-env
@@ -231,7 +231,7 @@ jobs:
231231
- run-tests:
232232
group-key: "group-cores"
233233
project-key: "chipyard-hetero"
234-
timeout: "15m"
234+
timeout: "20m"
235235
chipyard-boom-run-tests:
236236
executor: main-env
237237
steps:
@@ -287,6 +287,7 @@ jobs:
287287
executor: main-env
288288
steps:
289289
- run-tests:
290+
tools-version: "esp-tools"
290291
group-key: "group-accels"
291292
project-key: "chipyard-sha3"
292293
chipyard-streaming-fir-run-tests:
@@ -308,6 +309,7 @@ jobs:
308309
tools-version: "esp-tools"
309310
group-key: "group-accels"
310311
project-key: "chipyard-hwacha"
312+
timeout: "30m"
311313
chipyard-gemmini-run-tests:
312314
executor: main-env
313315
steps:
@@ -520,4 +522,3 @@ workflows:
520522
- prepare-chipyard-fpga:
521523
requires:
522524
- install-riscv-toolchain
523-

.circleci/images/Dockerfile

Lines changed: 0 additions & 216 deletions
This file was deleted.

.circleci/images/README.md

Lines changed: 0 additions & 18 deletions
This file was deleted.

.circleci/run-tests.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,11 @@ case $1 in
6565
$LOCAL_SIM_DIR/simulator-chipyard-GemminiRocketConfig $GEMMINI_SOFTWARE_DIR/build/bareMetalC/mvin_mvout-baremetal
6666
;;
6767
chipyard-sha3)
68+
export RISCV=$LOCAL_ESP_DIR
69+
export LD_LIBRARY_PATH=$LOCAL_ESP_DIR/lib
70+
export PATH=$RISCV/bin:$PATH
6871
(cd $LOCAL_CHIPYARD_DIR/generators/sha3/software && ./build.sh)
69-
$LOCAL_SIM_DIR/simulator-chipyard-Sha3RocketConfig $LOCAL_CHIPYARD_DIR/generators/sha3/software/benchmarks/bare/sha3-rocc.riscv
72+
$LOCAL_SIM_DIR/simulator-chipyard-Sha3RocketConfig $LOCAL_CHIPYARD_DIR/generators/sha3/software/tests/bare/sha3-rocc.riscv
7073
;;
7174
chipyard-streaming-passthrough)
7275
make -C $LOCAL_CHIPYARD_DIR/tests

.gitmodules

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,3 +134,9 @@
134134
[submodule "fpga/fpga-shells"]
135135
path = fpga/fpga-shells
136136
url = https://github.com/sifive/fpga-shells.git
137+
[submodule "tools/api-config-chipsalliance"]
138+
path = tools/api-config-chipsalliance
139+
url = https://github.com/chipsalliance/api-config-chipsalliance.git
140+
[submodule "tools/rocket-dsp-utils"]
141+
path = tools/rocket-dsp-utils
142+
url = https://github.com/ucb-bar/rocket-dsp-utils

.java_tmp/.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Ignore everything in this directory
2+
*
3+
# Except this file
4+
!.gitignore

.sbtopts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-Dsbt.sourcemode=true
2+
-Dsbt.workspace=$PWD/tools

0 commit comments

Comments
 (0)