Lines Matching defs:constants

34 2. constants (Also attached to the config variable as an attribute)
46 Before this point only ``constants`` will be availaible. This is to ensure
60 :var constants:
63 :code:`config.constants.attribute`. These should be used for setting
66 constants should not be modified and their base attributes are frozen.
106 constants = AttrDict()
193 for typ in self.constants.supported_tags}
212 def define_constants(constants):
214 'constants' are values not directly exposed by the config, but are attached
220 constants.system_out_name = 'system-out'
221 constants.system_err_name = 'system-err'
223 constants.isa_tag_type = 'isa'
224 constants.x86_tag = 'X86'
225 constants.sparc_tag = 'SPARC'
226 constants.alpha_tag = 'ALPHA'
227 constants.riscv_tag = 'RISCV'
228 constants.arm_tag = 'ARM'
229 constants.mips_tag = 'MIPS'
230 constants.power_tag = 'POWER'
231 constants.null_tag = 'NULL'
233 constants.variant_tag_type = 'variant'
234 constants.opt_tag = 'opt'
235 constants.debug_tag = 'debug'
236 constants.fast_tag = 'fast'
238 constants.length_tag_type = 'length'
239 constants.quick_tag = 'quick'
240 constants.long_tag = 'long'
242 constants.supported_tags = {
243 constants.isa_tag_type : (
244 constants.x86_tag,
245 constants.sparc_tag,
246 constants.alpha_tag,
247 constants.riscv_tag,
248 constants.arm_tag,
249 constants.mips_tag,
250 constants.power_tag,
251 constants.null_tag,
253 constants.variant_tag_type: (
254 constants.opt_tag,
255 constants.debug_tag,
256 constants.fast_tag,
258 constants.length_tag_type: (
259 constants.quick_tag,
260 constants.long_tag,
264 constants.supported_isas = constants.supported_tags['isa']
265 constants.supported_variants = constants.supported_tags['variant']
266 constants.supported_lengths = constants.supported_tags['length']
268 constants.tempdir_fixture_name = 'tempdir'
269 constants.gem5_simulation_stderr = 'simerr'
270 constants.gem5_simulation_stdout = 'simout'
271 constants.gem5_simulation_stats = 'stats.txt'
272 constants.gem5_simulation_config_ini = 'config.ini'
273 constants.gem5_simulation_config_json = 'config.json'
274 constants.gem5_returncode_fixture_name = 'gem5-returncode'
275 constants.gem5_binary_fixture_name = 'gem5'
276 constants.xml_filename = 'results.xml'
277 constants.pickle_filename = 'results.pickle'
278 constants.pickle_protocol = highest_pickle_protocol
281 constants.testing_base = absdirpath(os.path.join(absdirpath(__file__),
320 return [constants.supported_tags[constants.isa_tag_type]]
328 return [[constants.opt_tag]]
334 return [[constants.quick_tag]]
658 define_constants(config.constants)
661 # All constants MUST be defined before this point.
662 config.constants = FrozenAttrDict(config.constants.__dict__)
663 constants = config.constants
675 # Setup constants and defaults