Skip to content

Commit 3c657aa

Browse files
committed
Test offchip-bus-switcher in CI
1 parent 0627e40 commit 3c657aa

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/scripts/defaults.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ mapping["chipyard-spiflashwrite"]=" CONFIG=SmallSPIFlashRocketConfig EXTRA_SIM_F
5656
mapping["chipyard-manyperipherals"]=" CONFIG=ManyPeripheralsRocketConfig EXTRA_SIM_FLAGS='+spiflash0=${LOCAL_CHIPYARD_DIR}/tests/spiflash.img'"
5757
mapping["chipyard-chiplike"]=" CONFIG=ChipLikeRocketConfig MODEL=FlatTestHarness MODEL_PACKAGE=chipyard.example verilog"
5858
mapping["chipyard-tethered"]=" CONFIG=VerilatorCITetheredChipLikeRocketConfig"
59-
mapping["chipyard-symmetric"]=" CONFIG=MultiSimSymmetricChipletRocketConfig"
59+
mapping["chipyard-symmetric"]=" CONFIG=MultiSimMultiLinkSymmetricChipletRocketConfig"
6060
mapping["chipyard-llcchiplet"]=" CONFIG=MultiSimLLCChipletRocketConfig"
6161
mapping["chipyard-cloneboom"]=" CONFIG=Cloned64MegaBoomV3Config verilog"
6262
mapping["chipyard-nocores"]=" CONFIG=NoCoresConfig verilog"

.github/scripts/run-tests.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@ case $1 in
125125
;;
126126
chipyard-symmetric)
127127
make -C $LOCAL_CHIPYARD_DIR/tests
128-
run_binary BINARY=$LOCAL_CHIPYARD_DIR/tests/symmetric.riscv LOADMEM=1
128+
run_binary BINARY=$LOCAL_CHIPYARD_DIR/tests/symmetric.riscv LOADMEM=1 EXTRA_SIM_FLAGS="+offchip_sel=0"
129+
run_binary BINARY=$LOCAL_CHIPYARD_DIR/tests/symmetric.riscv LOADMEM=1 EXTRA_SIM_FLAGS="+offchip_sel=1"
129130
;;
130131
chipyard-llcchiplet)
131132
make -C $LOCAL_CHIPYARD_DIR/tests

generators/chipyard/src/main/scala/config/ChipletConfigs.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class MultiLinkSymmetricChipletRocketConfig extends Config(
8484
replicationBase = Some(1L << 32) // The upper 4GB goes off-chip
8585
) ++
8686
new testchipip.soc.WithOffchipBus ++
87-
new freechips.rocketchip.subsystem.WithNBigCores(1) ++
87+
new freechips.rocketchip.rocket.WithNBigCores(1) ++
8888
new chipyard.config.AbstractConfig)
8989

9090
// Simulates 2X of the SymmetricChipletRocketConfig in a multi-sim config

0 commit comments

Comments
 (0)