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/MOESI_CMP_token.py | |
parent | a74c446e7d034cebe01babb92f448a145b4ba77d (diff) | |
download | gem5-9eda4bdc5a947883a2d55ab860d37c5cd80c3370.tar.xz |
ruby: remove extra whitespace and correct misspelled words
Diffstat (limited to 'configs/ruby/MOESI_CMP_token.py')
-rw-r--r-- | configs/ruby/MOESI_CMP_token.py | 12 |
1 files changed, 6 insertions, 6 deletions
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, |