rubytest-ruby.py (8839:eeb293859255) rubytest-ruby.py (8920:99083b5b7ed4)
1# Copyright (c) 2006-2007 The Regents of The University of Michigan
2# Copyright (c) 2009 Advanced Micro Devices, Inc.
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met: redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer;

--- 28 unchanged lines hidden (view full) ---

37# Get paths we might need. It's expected this file is in m5/configs/example.
38config_path = os.path.dirname(os.path.abspath(__file__))
39config_root = os.path.dirname(config_path)
40m5_root = os.path.dirname(config_root)
41addToPath(config_root+'/configs/common')
42addToPath(config_root+'/configs/ruby')
43
44import Ruby
1# Copyright (c) 2006-2007 The Regents of The University of Michigan
2# Copyright (c) 2009 Advanced Micro Devices, Inc.
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met: redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer;

--- 28 unchanged lines hidden (view full) ---

37# Get paths we might need. It's expected this file is in m5/configs/example.
38config_path = os.path.dirname(os.path.abspath(__file__))
39config_root = os.path.dirname(config_path)
40m5_root = os.path.dirname(config_root)
41addToPath(config_root+'/configs/common')
42addToPath(config_root+'/configs/ruby')
43
44import Ruby
45import Options
45
46parser = optparse.OptionParser()
46
47parser = optparse.OptionParser()
48Options.addCommonOptions(parser)
47
49
48#
49# Add the ruby specific and protocol specific options
50# Add the ruby specific and protocol specific options
50#
51Ruby.define_options(parser)
52
51Ruby.define_options(parser)
52
53execfile(os.path.join(config_root, "configs/common", "Options.py"))
54
55(options, args) = parser.parse_args()
56
57#
58# Set the default cache size and associativity to be very small to encourage
59# races between requests and writebacks.
60#
61options.l1d_size="256B"
62options.l1i_size="256B"

--- 51 unchanged lines hidden ---
53(options, args) = parser.parse_args()
54
55#
56# Set the default cache size and associativity to be very small to encourage
57# races between requests and writebacks.
58#
59options.l1d_size="256B"
60options.l1i_size="256B"

--- 51 unchanged lines hidden ---