SConscript (4781:59a75bd0ddf4) SConscript (5228:b08c9c42907a)
1# -*- mode:python -*-
2
3# Copyright (c) 2006 The Regents of The University of Michigan
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are
8# met: redistributions of source code must retain the above copyright

--- 83 unchanged lines hidden (view full) ---

92isa_parser = File('isa_parser.py')
93cpu_models_file = File('../cpu/cpu_models.py')
94
95# This sucks in the defintions of the CpuModel objects.
96execfile(cpu_models_file.srcnode().abspath)
97
98# Several files are generated from the ISA description.
99# We always get the basic decoder and header file.
1# -*- mode:python -*-
2
3# Copyright (c) 2006 The Regents of The University of Michigan
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are
8# met: redistributions of source code must retain the above copyright

--- 83 unchanged lines hidden (view full) ---

92isa_parser = File('isa_parser.py')
93cpu_models_file = File('../cpu/cpu_models.py')
94
95# This sucks in the defintions of the CpuModel objects.
96execfile(cpu_models_file.srcnode().abspath)
97
98# Several files are generated from the ISA description.
99# We always get the basic decoder and header file.
100isa_desc_gen_files = [ 'decoder.cc', 'decoder.hh' ]
100isa_desc_gen_files = [ 'decoder.cc', 'decoder.hh', 'max_inst_regs.hh' ]
101# We also get an execute file for each selected CPU model.
102isa_desc_gen_files += [CpuModel.dict[cpu].filename
103 for cpu in env['CPU_MODELS']]
104
105# Also include the CheckerCPU as one of the models if it is being
106# enabled via command line.
107if env['USE_CHECKER']:
108 isa_desc_gen_files += [CpuModel.dict['CheckerCPU'].filename]

--- 19 unchanged lines hidden ---
101# We also get an execute file for each selected CPU model.
102isa_desc_gen_files += [CpuModel.dict[cpu].filename
103 for cpu in env['CPU_MODELS']]
104
105# Also include the CheckerCPU as one of the models if it is being
106# enabled via command line.
107if env['USE_CHECKER']:
108 isa_desc_gen_files += [CpuModel.dict['CheckerCPU'].filename]

--- 19 unchanged lines hidden ---