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 |
46 47parser = optparse.OptionParser() |
48Options.addCommonOptions(parser) |
49 |
50# Add the ruby specific and protocol specific options |
51Ruby.define_options(parser) 52 |
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 --- |