diff options
author | Somayeh Sardashti <somayeh@cs.wisc.edu> | 2011-03-28 10:49:45 -0500 |
---|---|---|
committer | Somayeh Sardashti <somayeh@cs.wisc.edu> | 2011-03-28 10:49:45 -0500 |
commit | c8bbfed93752c2c79d36bb9dedbc2208b856dae6 (patch) | |
tree | c33a164e435603a4424f81f7f09ec50b5f01e455 /configs | |
parent | ef987a4064f1e81fd1b61f3de03834a51658645f (diff) | |
download | gem5-c8bbfed93752c2c79d36bb9dedbc2208b856dae6.tar.xz |
This patch supports cache flushing in MOESI_hammer
Diffstat (limited to 'configs')
-rw-r--r-- | configs/example/ruby_random_test.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/configs/example/ruby_random_test.py b/configs/example/ruby_random_test.py index ddd6a53af..8c415641b 100644 --- a/configs/example/ruby_random_test.py +++ b/configs/example/ruby_random_test.py @@ -82,7 +82,14 @@ if args: # # Create the ruby random tester # -tester = RubyTester(checks_to_complete = options.checks, + +# Check the protocol +check_flush = False +if buildEnv['PROTOCOL'] == 'MOESI_hammer': + check_flush = True + +tester = RubyTester(check_flush = check_flush, + checks_to_complete = options.checks, wakeup_frequency = options.wakeup_freq) # |