ruby: correctly number the sequencer in MESI_Three_Level.py
authorNilay Vaish <nilay@cs.wisc.edu>
Tue, 4 Aug 2015 03:44:27 +0000 (22:44 -0500)
committerNilay Vaish <nilay@cs.wisc.edu>
Tue, 4 Aug 2015 03:44:27 +0000 (22:44 -0500)
configs/ruby/MESI_Three_Level.py

index 60001864c3dc39c7a180ac221e6d491040febb74..a4074e8425706c40dfaa2abd99c739394c73719f 100644 (file)
@@ -108,7 +108,8 @@ def create_system(options, full_system, system, dma_ports, ruby_system):
                           clk_domain=system.cpu[i].clk_domain,
                           ruby_system = ruby_system)
 
-            cpu_seq = RubySequencer(version = i, icache = l0i_cache,
+            cpu_seq = RubySequencer(version = i * num_cpus_per_cluster + j,
+                        icache = l0i_cache,
                         clk_domain=system.cpu[i].clk_domain,
                         dcache = l0d_cache, ruby_system = ruby_system)