tests: Add tests for DRAM low power modes
authorRadhika Jagtap <radhika.jagtap@arm.com>
Fri, 16 Dec 2016 16:55:37 +0000 (16:55 +0000)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Thu, 16 Nov 2017 16:39:19 +0000 (16:39 +0000)
commit1695c9933b53a606ba7044e1b2dfcfe8c203018e
tree3258a4018ca3d38112b3c70c8748b29051fa93c6
parentb549de4707ef22398b179a3a7fd28a996ee18d36
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>
15 files changed:
configs/dram/low_power_sweep.py
tests/configs/dram-lowp.py [new file with mode: 0644]
tests/quick/se/60.rubytest/ref/null/none/rubytest-ruby/config.ini
tests/quick/se/60.rubytest/ref/null/none/rubytest-ruby/simerr
tests/quick/se/60.rubytest/ref/null/none/rubytest-ruby/simout
tests/quick/se/60.rubytest/ref/null/none/rubytest-ruby/stats.txt
tests/quick/se/70.tgen/ref/null/none/tgen-dram-ctrl/config.ini
tests/quick/se/70.tgen/ref/null/none/tgen-dram-ctrl/simerr
tests/quick/se/70.tgen/ref/null/none/tgen-dram-ctrl/simout
tests/quick/se/70.tgen/ref/null/none/tgen-dram-ctrl/stats.txt
tests/quick/se/80.dram-closepage/ref/null/none/dram-lowp/stats.txt [new file with mode: 0644]
tests/quick/se/80.dram-closepage/test.py [new file with mode: 0644]
tests/quick/se/80.dram-openpage/ref/null/none/dram-lowp/stats.txt [new file with mode: 0644]
tests/quick/se/80.dram-openpage/test.py [new file with mode: 0644]
tests/testing/tests.py