Lines Matching refs:options
74 def create(self, size, assoc, options):
84 def create(self, size, assoc, options):
91 def create(self, options, ruby_system, system):
95 self.L1Icache.create(options.l1i_size, options.l1i_assoc, options)
97 self.L1D0cache.create(options.l1d_size, options.l1d_assoc, options)
99 self.L1D1cache.create(options.l1d_size, options.l1d_assoc, options)
101 self.L2cache.create(options.l2_size, options.l2_assoc, options)
119 self.issue_latency = options.cpu_to_dir_latency
120 self.send_evictions = send_evicts(options)
124 if options.recycle_latency:
125 self.recycle_latency = options.recycle_latency
134 def create(self, options):
135 self.size = MemorySize(options.tcp_size)
140 self.resourceStalls = options.no_tcc_resource_stalls
145 def create(self, options, ruby_system, system):
148 self.L1cache.create(options)
169 if options.recycle_latency:
170 self.recycle_latency = options.recycle_latency
178 def create(self, options):
179 self.size = MemorySize(options.sqc_size)
180 self.assoc = options.sqc_assoc
185 def create(self, options, ruby_system, system):
188 self.L1cache.create(options)
198 if options.recycle_latency:
199 self.recycle_latency = options.recycle_latency
207 def create(self, options):
208 self.assoc = options.tcc_assoc
209 if hasattr(options, 'bw_scalor') and options.bw_scalor > 0:
210 s = options.num_compute_units
217 self.size = MemorySize(options.tcc_size)
218 self.dataArrayBanks = 256 / options.num_tccs #number of data banks
219 self.tagArrayBanks = 256 / options.num_tccs #number of tag banks
220 self.size.value = self.size.value / options.num_tccs
223 self.start_index_bit = math.log(options.cacheline_size, 2) + \
224 math.log(options.num_tccs, 2)
228 def create(self, options, ruby_system, system):
231 self.L2cache.create(options)
233 self.L2cache.resourceStalls = options.no_tcc_resource_stalls
235 if options.recycle_latency:
236 self.recycle_latency = options.recycle_latency
242 def create(self, options, ruby_system, system):
243 self.size = MemorySize(options.l3_size)
244 self.size.value /= options.num_dirs
245 self.assoc = options.l3_assoc
246 self.dataArrayBanks /= options.num_dirs
247 self.tagArrayBanks /= options.num_dirs
248 self.dataArrayBanks /= options.num_dirs
249 self.tagArrayBanks /= options.num_dirs
250 self.dataAccessLatency = options.l3_data_latency
251 self.tagAccessLatency = options.l3_tag_latency
261 def create(self, options, ruby_system, system):
262 self.block_size = "%dB" % (64 * options.blocks_per_region)
263 self.size = options.region_dir_entries * \
264 self.block_size * options.num_compute_units
267 self.tagAccessLatency = options.dir_tag_latency
269 self.resourceStalls = options.no_resource_stalls
270 self.start_index_bit = 6 + int(math.log(options.blocks_per_region, 2))
274 def create(self, options, ruby_system, system):
277 self.L3cache.create(options, ruby_system, system)
281 if options.recycle_latency:
282 self.recycle_latency = options.recycle_latency
294 def create(self, options, ruby_system, system):
297 phys_mem_size = AddrRange(options.mem_size).size()
298 mem_module_size = phys_mem_size / options.num_dirs
304 def create(self, options, ruby_system, system):
308 self.directory.create(options, ruby_system, system)
310 self.L3CacheMemory.create(options, ruby_system, system)
312 self.ProbeFilterMemory.create(options, ruby_system, system)
318 if options.recycle_latency:
319 self.recycle_latency = options.recycle_latency
377 def create_system(options, full_system, system, dma_devices, bootmem,
404 TCC_bits = int(math.log(options.num_tccs, 2))
408 crossbar_bw = 16 * options.num_compute_units #Assuming a 2GHz clock
410 for i in range(options.num_dirs):
413 dir_cntrl.create(options, ruby_system, system)
414 dir_cntrl.number_of_TBEs = options.num_tbes
415 dir_cntrl.useL3OnWT = options.use_L3_on_WT
416 dir_cntrl.inclusiveDir = not options.nonInclusiveDir
443 for i in range((options.num_cpus + 1) // 2):
446 cp_cntrl.create(options, ruby_system, system)
476 for i in range(options.num_compute_units):
482 tcp_cntrl.create(options, ruby_system, system)
483 tcp_cntrl.WB = options.WB_L1
484 tcp_cntrl.disableL1 = options.noL1
513 for i in range(options.num_sqc):
516 sqc_cntrl.create(options, ruby_system, system)
542 for i in range(options.num_tccs):
545 tcc_cntrl.create(options, ruby_system, system)
546 tcc_cntrl.l2_request_latency = options.gpu_to_dir_latency
547 tcc_cntrl.l2_response_latency = options.TCC_latency
549 tcc_cntrl.WB = options.WB_L2
550 tcc_cntrl.number_of_TBEs = 2560 * options.num_compute_units