Skip to content

Commit

Permalink
fixes for chipyard 1.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
hngenc committed Nov 23, 2022
1 parent c47cb7f commit 65bd41d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/build-toolchains.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ if [ ! -d "$INSTALL_DIR" ]; then
cd $HOME

# init all submodules including the tools (doesn't use CI_MAKE_PROC due to mem. constraints)
CHIPYARD_DIR="$LOCAL_CHIPYARD_DIR" NPROC=$CI_MAKE_NPROC $LOCAL_CHIPYARD_DIR/scripts/build-toolchains.sh esp-tools
CHIPYARD_DIR="$LOCAL_CHIPYARD_DIR" NPROC=$CI_MAKE_NPROC $LOCAL_CHIPYARD_DIR/build-setup.sh --skip-conda esp-tools
fi

2 changes: 1 addition & 1 deletion scripts/build-midas.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ if [ dram_model == "" ]; then
fi

cd ../../sims/firesim/
source sourceme-f1-manager.sh &> build.log
source sourceme-f1-manager.sh --skip-ssh-setup &> build.log

cd sim/
make ${simulator}${debug} TARGET_CONFIG=${dram_model}_WithDefaultFireSimBridges_WithFireSimConfigTweaks_chipyard.CustomGemminiSoCConfig
Expand Down
4 changes: 2 additions & 2 deletions src/main/scala/gemmini/CustomSoCConfigs.scala
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ class CustomGemminiSoCConfig extends Config(
new chipyard.config.WithL2TLBs(512) ++
new freechips.rocketchip.subsystem.WithInclusiveCache(
nBanks = 1,
nWays = 8,
capacityKB = 512,
outerLatencyCycles = 40
outerLatencyCycles = 40,
subBankingFactor = 4
) ++
// Set the number of CPUs you want to create
Expand Down

0 comments on commit 65bd41d

Please sign in to comment.