Ruby.py (7563:406e98960def) | Ruby.py (7566:6919df046bba) |
---|---|
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; --- 40 unchanged lines hidden (view full) --- 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 54 parser.add_option("--ruby-debug", action="store_true", default=False) 55 parser.add_option("--ruby-debug-cycle", type="int", default=1) 56 | 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; --- 40 unchanged lines hidden (view full) --- 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 54 parser.add_option("--ruby-debug", action="store_true", default=False) 55 parser.add_option("--ruby-debug-cycle", type="int", default=1) 56 |
57 parser.add_option("--recycle-latency", type="int", default=10, 58 help="Recycle latency for ruby controller input buffers") 59 |
|
57 protocol = buildEnv['PROTOCOL'] 58 exec "import %s" % protocol 59 eval("%s.define_options(parser)" % protocol) 60 61def create_system(options, system, piobus = None, dma_devices = []): 62 63 protocol = buildEnv['PROTOCOL'] 64 exec "import %s" % protocol --- 73 unchanged lines hidden --- | 60 protocol = buildEnv['PROTOCOL'] 61 exec "import %s" % protocol 62 eval("%s.define_options(parser)" % protocol) 63 64def create_system(options, system, piobus = None, dma_devices = []): 65 66 protocol = buildEnv['PROTOCOL'] 67 exec "import %s" % protocol --- 73 unchanged lines hidden --- |