Bobby Bruce has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/53848 )

Change subject: tests: Add default dram class for riscv/x86 boot tests
......................................................................

tests: Add default dram class for riscv/x86 boot tests

These scripts can be quite useful for running quick boot tests. However,
having to specify the DRAM each time is laborous. A sensible default has
therefore been set.

Change-Id: I2714b479853f686246383411a46a98494ba617da
---
M tests/gem5/configs/riscv_boot_exit_run.py
M tests/gem5/configs/x86_boot_exit_run.py
2 files changed, 17 insertions(+), 2 deletions(-)



diff --git a/tests/gem5/configs/riscv_boot_exit_run.py b/tests/gem5/configs/riscv_boot_exit_run.py
index 38f57d8..cf6d0f7 100644
--- a/tests/gem5/configs/riscv_boot_exit_run.py
+++ b/tests/gem5/configs/riscv_boot_exit_run.py
@@ -80,7 +80,8 @@
     "-d",
     "--dram-class",
     type=str,
-    required=True,
+    required=False,
+    default="DualChannelDDR3_1600",
     help="The python class for the memory interface to use"
 )

diff --git a/tests/gem5/configs/x86_boot_exit_run.py b/tests/gem5/configs/x86_boot_exit_run.py
index 96d1dad..217a823 100644
--- a/tests/gem5/configs/x86_boot_exit_run.py
+++ b/tests/gem5/configs/x86_boot_exit_run.py
@@ -78,7 +78,8 @@
     "-d",
     "--dram-class",
     type=str,
-    required=True,
+    required=False,
+    default="DualChannelDDR3_1600",
     help="The python class for the memory interface to use"
 )
 parser.add_argument(

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/53848
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I2714b479853f686246383411a46a98494ba617da
Gerrit-Change-Number: 53848
Gerrit-PatchSet: 1
Gerrit-Owner: Bobby Bruce <bbr...@ucdavis.edu>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to