From: Andreas Hansson Date: Tue, 4 Oct 2016 14:44:52 +0000 (+0100) Subject: config: Fix lat_mem_rd example script X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b4b50f823029920542c3bb22f6aae38867b9f674;p=gem5.git config: Fix lat_mem_rd example script Adjust the traffic generator time-out so that the script works out of the box Change-Id: I6b3b6b11f98b094ae3acdbe09488c26e4aeb0ab4 Reviewed-by: Andreas Sandberg --- diff --git a/configs/dram/lat_mem_rd.py b/configs/dram/lat_mem_rd.py index 87917418d..374f1d4be 100644 --- a/configs/dram/lat_mem_rd.py +++ b/configs/dram/lat_mem_rd.py @@ -1,4 +1,4 @@ -# Copyright (c) 2015 ARM Limited +# Copyright (c) 2015-2016 ARM Limited # All rights reserved. # # The license below extends only to copyright in the software and shall @@ -247,7 +247,8 @@ cfg_file.write("TRANSITION %d %d 1\n" % (nxt_state - 1, nxt_state - 1)) cfg_file.close() # create a traffic generator, and point it to the file we just created -system.tgen = TrafficGen(config_file = cfg_file_name) +system.tgen = TrafficGen(config_file = cfg_file_name, + progress_check = '10s') # add a communication monitor system.monitor = CommMonitor()