Skip to content

Commit

Permalink
merge in mlsys tutorial changes
Browse files Browse the repository at this point in the history
  • Loading branch information
hngenc committed Nov 23, 2022
2 parents d2922c6 + 65bd41d commit fd92323
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 @@ -56,7 +56,7 @@ fi
export SYSLIBS=" $SYSLIBS -l:libdwarf.so -l:libelf.so -lz -lgmp "

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 fd92323

Please sign in to comment.