diff options
author | Brandon Potter <brandon.potter@amd.com> | 2015-07-10 16:05:23 -0500 |
---|---|---|
committer | Brandon Potter <brandon.potter@amd.com> | 2015-07-10 16:05:23 -0500 |
commit | 9eda4bdc5a947883a2d55ab860d37c5cd80c3370 (patch) | |
tree | 0dc23e2bdca0338129ba473e259f891a2edb15c1 /configs/ruby | |
parent | a74c446e7d034cebe01babb92f448a145b4ba77d (diff) | |
download | gem5-9eda4bdc5a947883a2d55ab860d37c5cd80c3370.tar.xz |
ruby: remove extra whitespace and correct misspelled words
Diffstat (limited to 'configs/ruby')
-rw-r--r-- | configs/ruby/MI_example.py | 6 | ||||
-rw-r--r-- | configs/ruby/MOESI_CMP_directory.py | 6 | ||||
-rw-r--r-- | configs/ruby/MOESI_CMP_token.py | 12 | ||||
-rw-r--r-- | configs/ruby/MOESI_hammer.py | 4 | ||||
-rw-r--r-- | configs/ruby/Network_test.py | 4 |
5 files changed, 16 insertions, 16 deletions
diff --git a/configs/ruby/MI_example.py b/configs/ruby/MI_example.py index 28814b9f9..3bb332c1d 100644 --- a/configs/ruby/MI_example.py +++ b/configs/ruby/MI_example.py @@ -44,12 +44,12 @@ def define_options(parser): return def create_system(options, full_system, system, dma_ports, ruby_system): - + if buildEnv['PROTOCOL'] != 'MI_example': panic("This script requires the MI_example protocol to be built.") cpu_sequencers = [] - + # # The ruby network creation expects the list of nodes in the system to be # consistent with the NetDest list. Therefore the l1 controller nodes must be @@ -143,7 +143,7 @@ def create_system(options, full_system, system, dma_ports, ruby_system): # dma_seq = DMASequencer(version = i, ruby_system = ruby_system) - + dma_cntrl = DMA_Controller(version = i, dma_sequencer = dma_seq, transitions_per_cycle = options.ports, diff --git a/configs/ruby/MOESI_CMP_directory.py b/configs/ruby/MOESI_CMP_directory.py index 14ba33698..d32700166 100644 --- a/configs/ruby/MOESI_CMP_directory.py +++ b/configs/ruby/MOESI_CMP_directory.py @@ -55,7 +55,7 @@ def create_system(options, full_system, system, dma_ports, ruby_system): panic("This script requires the MOESI_CMP_directory protocol to be built.") cpu_sequencers = [] - + # # The ruby network creation expects the list of nodes in the system to be # consistent with the NetDest list. Therefore the l1 controller nodes must be @@ -129,7 +129,7 @@ def create_system(options, full_system, system, dma_ports, ruby_system): L2cache = l2_cache, transitions_per_cycle = options.ports, ruby_system = ruby_system) - + exec("ruby_system.l2_cntrl%d = l2_cntrl" % i) l2_cntrl_nodes.append(l2_cntrl) @@ -182,7 +182,7 @@ def create_system(options, full_system, system, dma_ports, ruby_system): dma_seq = DMASequencer(version = i, ruby_system = ruby_system, slave = dma_port) - + dma_cntrl = DMA_Controller(version = i, dma_sequencer = dma_seq, transitions_per_cycle = options.ports, diff --git a/configs/ruby/MOESI_CMP_token.py b/configs/ruby/MOESI_CMP_token.py index 42759b092..26cbc10d9 100644 --- a/configs/ruby/MOESI_CMP_token.py +++ b/configs/ruby/MOESI_CMP_token.py @@ -55,9 +55,9 @@ def define_options(parser): help="Token_CMP: disable dyanimc timeouts, use fixed latency instead") parser.add_option("--allow-atomic-migration", action="store_true", help="allow migratory sharing for atomic only accessed blocks") - + def create_system(options, full_system, system, dma_ports, ruby_system): - + if buildEnv['PROTOCOL'] != 'MOESI_CMP_token': panic("This script requires the MOESI_CMP_token protocol to be built.") @@ -68,7 +68,7 @@ def create_system(options, full_system, system, dma_ports, ruby_system): n_tokens = options.num_cpus + 1 cpu_sequencers = [] - + # # The ruby network creation expects the list of nodes in the system to be # consistent with the NetDest list. Therefore the l1 controller nodes must be @@ -85,7 +85,7 @@ def create_system(options, full_system, system, dma_ports, ruby_system): # l2_bits = int(math.log(options.num_l2caches, 2)) block_size_bits = int(math.log(options.cacheline_size, 2)) - + for i in xrange(options.num_cpus): # # First create the Ruby objects associated with this cpu @@ -153,7 +153,7 @@ def create_system(options, full_system, system, dma_ports, ruby_system): N_tokens = n_tokens, transitions_per_cycle = options.ports, ruby_system = ruby_system) - + exec("ruby_system.l2_cntrl%d = l2_cntrl" % i) l2_cntrl_nodes.append(l2_cntrl) @@ -212,7 +212,7 @@ def create_system(options, full_system, system, dma_ports, ruby_system): dma_seq = DMASequencer(version = i, ruby_system = ruby_system, slave = dma_port) - + dma_cntrl = DMA_Controller(version = i, dma_sequencer = dma_seq, transitions_per_cycle = options.ports, diff --git a/configs/ruby/MOESI_hammer.py b/configs/ruby/MOESI_hammer.py index 571a645a6..b42138743 100644 --- a/configs/ruby/MOESI_hammer.py +++ b/configs/ruby/MOESI_hammer.py @@ -66,7 +66,7 @@ def create_system(options, full_system, system, dma_ports, ruby_system): panic("This script requires the MOESI_hammer protocol to be built.") cpu_sequencers = [] - + # # The ruby network creation expects the list of nodes in the system to be # consistent with the NetDest list. Therefore the l1 controller nodes must be @@ -209,7 +209,7 @@ def create_system(options, full_system, system, dma_ports, ruby_system): dma_seq = DMASequencer(version = i, ruby_system = ruby_system, slave = dma_port) - + dma_cntrl = DMA_Controller(version = i, dma_sequencer = dma_seq, transitions_per_cycle = options.ports, diff --git a/configs/ruby/Network_test.py b/configs/ruby/Network_test.py index 1d93f8ae7..a4641ae64 100644 --- a/configs/ruby/Network_test.py +++ b/configs/ruby/Network_test.py @@ -43,7 +43,7 @@ def define_options(parser): return def create_system(options, full_system, system, dma_ports, ruby_system): - + if buildEnv['PROTOCOL'] != 'Network_test': panic("This script requires the Network_test protocol to be built.") @@ -53,7 +53,7 @@ def create_system(options, full_system, system, dma_ports, ruby_system): # The Garnet tester protocol does not support fs nor dma # assert(dma_ports == []) - + # # The ruby network creation expects the list of nodes in the system to be # consistent with the NetDest list. Therefore the l1 controller nodes must be |