Commit ca4e4f20 authored by Antoine Kaufmann's avatar Antoine Kaufmann
Browse files

experiments: enable gem5 caches

parent 954ec2c0
...@@ -87,6 +87,12 @@ run_gem5() { ...@@ -87,6 +87,12 @@ run_gem5() {
$GEM5_BASE/build/X86/gem5.opt \ $GEM5_BASE/build/X86/gem5.opt \
--outdir=$OUTDIR/gem5.out.$1 \ --outdir=$OUTDIR/gem5.out.$1 \
$GEM5_BASE/configs/cosim/cosim.py \ $GEM5_BASE/configs/cosim/cosim.py \
--caches --l2cache \
--l1d_size=32kB \
--l1i_size=32kB \
--l2_size=2MB \
--l3_size=8MB \
--cacheline_size=64 \
--kernel=$GEM5_KERNEL --disk-image=$GEM5_IMAGE --disk-image=$3 \ --kernel=$GEM5_KERNEL --disk-image=$GEM5_IMAGE --disk-image=$3 \
--cpu-type=$4 --mem-size=4GB --cosim-pci=$pcisock --cosim-shm=$shm \ --cpu-type=$4 --mem-size=4GB --cosim-pci=$pcisock --cosim-shm=$shm \
--checkpoint-dir="$cpdir" $6 \ --checkpoint-dir="$cpdir" $6 \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment