SConscript (8817:c36441eed919) SConscript (8887:20ea02da9c53)
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

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

89#
90
91isa_parser = File('isa_parser.py')
92
93# The emitter patches up the sources & targets to include the
94# autogenerated files as targets and isa parser itself as a source.
95def isa_desc_emitter(target, source, env):
96 cpu_models = list(env['CPU_MODELS'])
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

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

89#
90
91isa_parser = File('isa_parser.py')
92
93# The emitter patches up the sources & targets to include the
94# autogenerated files as targets and isa parser itself as a source.
95def isa_desc_emitter(target, source, env):
96 cpu_models = list(env['CPU_MODELS'])
97 if env['USE_CHECKER']:
98 cpu_models.append('CheckerCPU')
97 cpu_models.append('CheckerCPU')
99
100 # Several files are generated from the ISA description.
101 # We always get the basic decoder and header file.
102 target = [ 'decoder.cc', 'decoder.hh', 'max_inst_regs.hh' ]
103 # We also get an execute file for each selected CPU model.
104 target += [CpuModel.dict[cpu].filename for cpu in cpu_models]
105
106 # List the isa parser as a source.

--- 33 unchanged lines hidden ---
98
99 # Several files are generated from the ISA description.
100 # We always get the basic decoder and header file.
101 target = [ 'decoder.cc', 'decoder.hh', 'max_inst_regs.hh' ]
102 # We also get an execute file for each selected CPU model.
103 target += [CpuModel.dict[cpu].filename for cpu in cpu_models]
104
105 # List the isa parser as a source.

--- 33 unchanged lines hidden ---