Lines Matching refs:options
52 def config_cache(options, system):
53 if options.external_memory_system and (options.caches or options.l2cache):
54 print("External caches and internal caches are exclusive options.\n")
57 if options.external_memory_system:
58 ExternalCache = ExternalCacheFactory(options.external_memory_system)
60 if options.cpu_type == "O3_ARM_v7a_3":
71 elif options.cpu_type == "HPI":
88 system.cache_line_size = options.cacheline_size
94 if options.l2cache and options.elastic_trace_en:
97 if options.l2cache:
102 size=options.l2_size,
103 assoc=options.l2_assoc)
108 if options.l2_hwp_type:
109 hwpClass = HWPConfig.get(options.l2_hwp_type)
117 if options.memchecker:
120 for i in range(options.num_cpus):
121 if options.caches:
122 icache = icache_class(size=options.l1i_size,
123 assoc=options.l1i_assoc)
124 dcache = dcache_class(size=options.l1d_size,
125 assoc=options.l1d_assoc)
136 if options.memchecker:
151 if options.l1d_hwp_type:
152 hwpClass = HWPConfig.get(options.l1d_hwp_type)
160 if options.l1i_hwp_type:
161 hwpClass = HWPConfig.get(options.l1i_hwp_type)
174 if options.memchecker:
180 elif options.external_memory_system:
198 if options.l2cache:
200 elif options.external_memory_system: