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
43333700
"git@developer.sourcefind.cn:gaoqiong/composable_kernel.git" did not exist on "578142db3a9e2bc273c2a178ca3e550ee79e6050"
Commit
43333700
authored
May 08, 2023
by
Jonas Kaufmann
Committed by
Antoine Kaufmann
May 09, 2023
Browse files
experiments/basicmem: add simics
parent
57a79819
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
experiments/pyexps/basicmem.py
experiments/pyexps/basicmem.py
+8
-1
No files found.
experiments/pyexps/basicmem.py
View file @
43333700
...
@@ -41,7 +41,7 @@ class MemTest(nodec.AppConfig):
...
@@ -41,7 +41,7 @@ class MemTest(nodec.AppConfig):
]
]
for
h
in
[
'gk'
]:
for
h
in
[
'gk'
,
'simics'
]:
e
=
exp
.
Experiment
(
'basicmem-'
+
h
)
e
=
exp
.
Experiment
(
'basicmem-'
+
h
)
e
.
checkpoint
=
False
e
.
checkpoint
=
False
...
@@ -59,6 +59,13 @@ for h in ['gk']:
...
@@ -59,6 +59,13 @@ for h in ['gk']:
host
.
variant
=
'opt'
host
.
variant
=
'opt'
elif
h
==
'qk'
:
elif
h
==
'qk'
:
host
=
sim
.
QemuHost
(
node_config
)
host
=
sim
.
QemuHost
(
node_config
)
elif
h
==
'simics'
:
host
=
sim
.
SimicsHost
(
node_config
)
host
.
sync
=
True
e
.
checkpoint
=
True
else
:
raise
NameError
(
h
)
host
.
name
=
'host.0'
host
.
name
=
'host.0'
e
.
add_host
(
host
)
e
.
add_host
(
host
)
host
.
wait
=
True
host
.
wait
=
True
...
...
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