Lines Matching refs:options

72     def create(self, options):
73 self.size = MemorySize(options.tcc_size)
74 self.size.value += (options.num_compute_units *
75 (MemorySize(options.tcp_size).value) *
76 options.tcc_dir_factor) / long(options.num_tccs)
77 self.start_index_bit = math.log(options.cacheline_size, 2) + \
78 math.log(options.num_tccs, 2)
83 def create(self, options):
84 self.size = MemorySize(options.l1d_size)
85 self.assoc = options.l1d_assoc
90 def create(self, options):
91 self.size = MemorySize(options.l1i_size)
92 self.assoc = options.l1i_assoc
97 def create(self, options):
98 self.size = MemorySize(options.l2_size)
99 self.assoc = options.l2_assoc
105 def create(self, options, ruby_system, system):
109 self.L1Icache.create(options)
111 self.L1D0cache.create(options)
113 self.L1D1cache.create(options)
115 self.L2cache.create(options)
136 self.issue_latency = options.cpu_to_dir_latency
137 self.send_evictions = send_evicts(options)
141 if options.recycle_latency:
142 self.recycle_latency = options.recycle_latency
150 def create(self, options):
151 self.size = MemorySize(options.tcp_size)
156 def create(self, options, ruby_system, system):
159 self.L1cache = TCPCache(tagAccessLatency = options.TCP_latency)
160 self.L1cache.resourceStalls = options.no_resource_stalls
161 self.L1cache.create(options)
170 self.coalescer.max_outstanding_requests = options.simds_per_cu * \
171 options.wfs_per_simd * \
172 options.wf_size
185 if options.recycle_latency:
186 self.recycle_latency = options.recycle_latency
188 def createCP(self, options, ruby_system, system):
191 self.L1cache = TCPCache(tagAccessLatency = options.TCP_latency)
192 self.L1cache.resourceStalls = options.no_resource_stalls
193 self.L1cache.create(options)
214 if options.recycle_latency:
215 self.recycle_latency = options.recycle_latency
224 def create(self, options):
229 def create(self, options, ruby_system, system):
233 self.L1cache.create(options)
234 self.L1cache.resourceStalls = options.no_resource_stalls
247 if options.recycle_latency:
248 self.recycle_latency = options.recycle_latency
250 def createCP(self, options, ruby_system, system):
254 self.L1cache.create(options)
255 self.L1cache.resourceStalls = options.no_resource_stalls
267 if options.recycle_latency:
268 self.recycle_latency = options.recycle_latency
276 def create(self, options):
277 self.size = MemorySize(options.tcc_size)
278 self.size = self.size / options.num_tccs
279 self.dataArrayBanks = 256 / options.num_tccs #number of data banks
280 self.tagArrayBanks = 256 / options.num_tccs #number of tag banks
283 self.start_index_bit = math.log(options.cacheline_size, 2) + \
284 math.log(options.num_tccs, 2)
288 def create(self, options, ruby_system, system):
291 self.L2cache.create(options)
292 self.l2_response_latency = options.TCC_latency
298 if options.recycle_latency:
299 self.recycle_latency = options.recycle_latency
312 def create(self, options, ruby_system, system):
316 self.directory.create(options)
322 if options.recycle_latency:
323 self.recycle_latency = options.recycle_latency
340 def create(self, options, ruby_system, system):
341 self.size = MemorySize(options.l3_size)
342 self.size.value /= options.num_dirs
343 self.dataArrayBanks /= options.num_dirs
344 self.tagArrayBanks /= options.num_dirs
345 self.dataArrayBanks /= options.num_dirs
346 self.tagArrayBanks /= options.num_dirs
347 self.dataAccessLatency = options.l3_data_latency
348 self.tagAccessLatency = options.l3_tag_latency
349 self.resourceStalls = options.no_resource_stalls
353 def create(self, options, ruby_system, system):
356 self.L3cache.create(options, ruby_system, system)
362 if options.recycle_latency:
363 self.recycle_latency = options.recycle_latency
375 def create(self, options, dir_ranges, ruby_system, system):
384 self.L3CacheMemory.create(options, ruby_system, system)
389 self.number_of_TBEs = options.num_tbes
393 if options.recycle_latency:
394 self.recycle_latency = options.recycle_latency
430 def create_system(options, full_system, system, dma_devices, bootmem,
456 TCC_bits = int(math.log(options.num_tccs, 2))
462 if options.numa_high_bit:
463 numa_bit = options.numa_high_bit
468 dir_bits = int(math.log(options.num_dirs, 2))
469 block_size_bits = int(math.log(options.cacheline_size, 2))
472 for i in range(options.num_dirs):
482 dir_cntrl.create(options, dir_ranges, ruby_system, system)
483 dir_cntrl.number_of_TBEs = 2560 * options.num_compute_units
513 for i in range((options.num_cpus + 1) // 2):
516 cp_cntrl.create(options, ruby_system, system)
547 for i in range(options.num_compute_units):
551 tcp_cntrl.create(options, ruby_system, system)
580 for i in range(options.num_sqc):
583 sqc_cntrl.create(options, ruby_system, system)
612 for i in range(options.num_cp):
616 tcp_cntrl.createCP(options, ruby_system, system)
618 exec("system.tcp_cntrl%d = tcp_cntrl" % (options.num_compute_units + i))
646 sqc_cntrl.createCP(options, ruby_system, system)
648 exec("system.sqc_cntrl%d = sqc_cntrl" % (options.num_compute_units + i))
675 for i in range(options.num_tccs):
678 number_of_TBEs = options.num_compute_units * 2560)
680 tcc_cntrl.create(options, ruby_system, system)
684 number_of_TBEs = options.num_compute_units * 2560)
686 tccdir_cntrl.create(options, ruby_system, system)