diff options
-rw-r--r-- | tests/configs/tgen-dram-ctrl.py | 3 | ||||
-rw-r--r-- | tests/configs/tgen-simple-mem.py | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/configs/tgen-dram-ctrl.py b/tests/configs/tgen-dram-ctrl.py index cd6721e6d..292c7e5b9 100644 --- a/tests/configs/tgen-dram-ctrl.py +++ b/tests/configs/tgen-dram-ctrl.py @@ -45,7 +45,8 @@ require_sim_object("CommMonitor") # even if this is only a traffic generator, call it cpu to make sure # the scripts are happy -cpu = TrafficGen(config_file = "tests/quick/se/70.tgen/tgen-dram-ctrl.cfg") +cpu = TrafficGen( + config_file=srcpath("tests/quick/se/70.tgen/tgen-dram-ctrl.cfg")) # system simulated system = System(cpu = cpu, physmem = DDR3_1600_x64(), diff --git a/tests/configs/tgen-simple-mem.py b/tests/configs/tgen-simple-mem.py index d128eb37d..815bc490c 100644 --- a/tests/configs/tgen-simple-mem.py +++ b/tests/configs/tgen-simple-mem.py @@ -45,7 +45,8 @@ require_sim_object("CommMonitor") # even if this is only a traffic generator, call it cpu to make sure # the scripts are happy -cpu = TrafficGen(config_file = "tests/quick/se/70.tgen/tgen-simple-mem.cfg") +cpu = TrafficGen( + config_file=srcpath("tests/quick/se/70.tgen/tgen-simple-mem.cfg")) # system simulated system = System(cpu = cpu, physmem = SimpleMemory(), |