1# Copyright (c) 2006-2007 The Regents of The University of Michigan 2# Copyright (c) 2010 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; --- 27 unchanged lines hidden (view full) --- 36# Get paths we might need 37config_path = os.path.dirname(os.path.abspath(__file__)) 38config_root = os.path.dirname(config_path) 39m5_root = os.path.dirname(config_root) 40addToPath(config_root+'/configs/common') 41addToPath(config_root+'/configs/ruby') 42 43import Ruby |
44import Options |
45 46parser = optparse.OptionParser() |
47Options.addCommonOptions(parser) |
48 |
49# Add the ruby specific and protocol specific options |
50Ruby.define_options(parser) 51 |
52(options, args) = parser.parse_args() 53 54# 55# Set the default cache size and associativity to be very small to encourage 56# races between requests and writebacks. 57# 58options.l1d_size="256B" 59options.l1i_size="256B" --- 56 unchanged lines hidden --- |