SConscript (4835:224d8f96e155) SConscript (4997:e7380529bd2d)
1# -*- mode:python -*-
2
3# Copyright (c) 2004-2005 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

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

28#
29# Authors: Gabe Black
30# Steve Reinhardt
31# Korey Sewell
32
33Import('*')
34
35if env['TARGET_ISA'] == 'mips':
1# -*- mode:python -*-
2
3# Copyright (c) 2004-2005 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

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

28#
29# Authors: Gabe Black
30# Steve Reinhardt
31# Korey Sewell
32
33Import('*')
34
35if env['TARGET_ISA'] == 'mips':
36 Source('dsp.cc')
36 Source('faults.cc')
37 Source('regfile/int_regfile.cc')
38 Source('regfile/misc_regfile.cc')
39 Source('regfile/regfile.cc')
37 Source('faults.cc')
38 Source('regfile/int_regfile.cc')
39 Source('regfile/misc_regfile.cc')
40 Source('regfile/regfile.cc')
41 Source('tlb.cc')
40 Source('utility.cc')
42 Source('utility.cc')
41 Source('dsp.cc')
42
43
44 SimObject('MipsTLB.py')
45
43 if env['FULL_SYSTEM']:
44 #Insert Full-System Files Here
45 pass
46 else:
47 Source('process.cc')
48
49 Source('linux/linux.cc')
50 Source('linux/process.cc')
51
52 # Add in files generated by the ISA description.
53 isa_desc_files = env.ISADesc('isa/main.isa')
54 # Only non-header files need to be compiled.
55 for f in isa_desc_files:
56 if not f.path.endswith('.hh'):
57 Source(f)
46 if env['FULL_SYSTEM']:
47 #Insert Full-System Files Here
48 pass
49 else:
50 Source('process.cc')
51
52 Source('linux/linux.cc')
53 Source('linux/process.cc')
54
55 # Add in files generated by the ISA description.
56 isa_desc_files = env.ISADesc('isa/main.isa')
57 # Only non-header files need to be compiled.
58 for f in isa_desc_files:
59 if not f.path.endswith('.hh'):
60 Source(f)