Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
ca4e4f20
Commit
ca4e4f20
authored
Jun 22, 2020
by
Antoine Kaufmann
Browse files
experiments: enable gem5 caches
parent
954ec2c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
experiments/common-functions.sh
experiments/common-functions.sh
+6
-0
No files found.
experiments/common-functions.sh
View file @
ca4e4f20
...
@@ -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
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment