1# Copyright (c) 2017 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license
--- 36 unchanged lines hidden (view full) ---
45# For some reason, this is implicitly needed by run.py
46root = None
47
48import m5
49
50def run_test(root):
51 # Called from tests/run.py
52
53 import sys
54 argv = [
55 sys.argv[0],
56 # Add a specific page policy and specify the number of ranks
57 '-p%s' % page_policy,
58 '-r 2',
59 ]
60
61 # Execute the script we are wrapping
62 run_config('configs/dram/low_power_sweep.py', argv=argv)
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license
--- 36 unchanged lines hidden (view full) ---
45# For some reason, this is implicitly needed by run.py
46root = None
47
48import m5
49
50def run_test(root):
51 # Called from tests/run.py
52
53 import sys
54 argv = [
55 sys.argv[0],
56 # Add a specific page policy and specify the number of ranks
57 '-p%s' % page_policy,
58 '-r 2',
59 ]
60
61 # Execute the script we are wrapping
62 run_config('configs/dram/low_power_sweep.py', argv=argv)