summaryrefslogtreecommitdiff
path: root/configs/dram
diff options
context:
space:
mode:
authorRadhika Jagtap <radhika.jagtap@arm.com>2016-12-16 16:55:37 +0000
committerAndreas Sandberg <andreas.sandberg@arm.com>2017-11-16 16:39:19 +0000
commit1695c9933b53a606ba7044e1b2dfcfe8c203018e (patch)
tree3258a4018ca3d38112b3c70c8748b29051fa93c6 /configs/dram
parentb549de4707ef22398b179a3a7fd28a996ee18d36 (diff)
downloadgem5-1695c9933b53a606ba7044e1b2dfcfe8c203018e.tar.xz
tests: Add tests for DRAM low power modes
This patch adds two regression tests that execute the script in the configs dir for triggering low power mode transitions. A separate test is required for each page policy because for close-adaptive page policy the DRAM goes into the Precharge Power-down mode while for open-adaptive page policy it goes into the Activate Power-down mode. Change-Id: Iad61af23f132db046f2857cc3ef64b2bf42cf5e4 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-on: https://gem5-review.googlesource.com/5726 Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'configs/dram')
-rw-r--r--configs/dram/low_power_sweep.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/dram/low_power_sweep.py b/configs/dram/low_power_sweep.py
index 610404332..9adfcaff0 100644
--- a/configs/dram/low_power_sweep.py
+++ b/configs/dram/low_power_sweep.py
@@ -43,7 +43,7 @@ from m5.objects import *
from m5.util import addToPath
from m5.stats import periodicStatDump
-addToPath('../common')
+addToPath(os.getcwd() + '/configs/common')
import MemConfig
# This script aims at triggering low power state transitions in the DRAM