Ruby.py (7566:6919df046bba) Ruby.py (7661:b03534522b91)
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;

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

33from m5.defines import buildEnv
34
35def define_options(parser):
36 # ruby network options
37 parser.add_option("--topology", type="string", default="Crossbar",
38 help="check src/mem/ruby/network/topologies for complete set")
39 parser.add_option("--mesh-rows", type="int", default=1,
40 help="the number of rows in the mesh topology")
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;

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

33from m5.defines import buildEnv
34
35def define_options(parser):
36 # ruby network options
37 parser.add_option("--topology", type="string", default="Crossbar",
38 help="check src/mem/ruby/network/topologies for complete set")
39 parser.add_option("--mesh-rows", type="int", default=1,
40 help="the number of rows in the mesh topology")
41 parser.add_option("--garnet-network", type="string", default=none,
41 parser.add_option("--garnet-network", type="string", default=None,
42 help="'fixed'|'flexible'")
43
44 # ruby mapping options
42 help="'fixed'|'flexible'")
43
44 # ruby mapping options
45 parser.add_option("--numa-high-bit", type="int", default=none,
45 parser.add_option("--numa-high-bit", type="int", default=None,
46 help="high order address bit to use for numa mapping. " \
47 "0 = highest bit, not specified = lowest bit")
48
49 # ruby sparse memory options
50 parser.add_option("--use-map", action="store_true", default=False)
51 parser.add_option("--map-levels", type="int", default=4)
52
53 # ruby debug cmd line options

--- 87 unchanged lines hidden ---
46 help="high order address bit to use for numa mapping. " \
47 "0 = highest bit, not specified = lowest bit")
48
49 # ruby sparse memory options
50 parser.add_option("--use-map", action="store_true", default=False)
51 parser.add_option("--map-levels", type="int", default=4)
52
53 # ruby debug cmd line options

--- 87 unchanged lines hidden ---