BaseCPU.py (5712:199d31b47f7b) BaseCPU.py (5780:50c9d48de3ca)
1# Copyright (c) 2005-2008 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

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

66 cpu_id = Param.Int(-1, "CPU identifier")
67 numThreads = Param.Unsigned(1, "number of HW thread contexts")
68
69 function_trace = Param.Bool(False, "Enable function trace")
70 function_trace_start = Param.Tick(0, "Cycle to start function trace")
71
72 checker = Param.BaseCPU("checker CPU")
73
1# Copyright (c) 2005-2008 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

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

66 cpu_id = Param.Int(-1, "CPU identifier")
67 numThreads = Param.Unsigned(1, "number of HW thread contexts")
68
69 function_trace = Param.Bool(False, "Enable function trace")
70 function_trace_start = Param.Tick(0, "Cycle to start function trace")
71
72 checker = Param.BaseCPU("checker CPU")
73
74 do_checkpoint_insts = Param.Bool(True,
75 "enable checkpoint pseudo instructions")
76 do_statistics_insts = Param.Bool(True,
77 "enable statistics pseudo instructions")
78
74 if build_env['FULL_SYSTEM']:
75 profile = Param.Latency('0ns', "trace the kernel stack")
76 do_quiesce = Param.Bool(True, "enable quiesce instructions")
79 if build_env['FULL_SYSTEM']:
80 profile = Param.Latency('0ns', "trace the kernel stack")
81 do_quiesce = Param.Bool(True, "enable quiesce instructions")
77 do_checkpoint_insts = Param.Bool(True,
78 "enable checkpoint pseudo instructions")
79 do_statistics_insts = Param.Bool(True,
80 "enable statistics pseudo instructions")
81 else:
82 workload = VectorParam.Process("processes to run")
83
84 if build_env['TARGET_ISA'] == 'sparc':
85 dtb = Param.SparcDTB(SparcDTB(), "Data TLB")
86 itb = Param.SparcITB(SparcITB(), "Instruction TLB")
87 if build_env['FULL_SYSTEM']:
88 interrupts = Param.SparcInterrupts(

--- 139 unchanged lines hidden ---
82 else:
83 workload = VectorParam.Process("processes to run")
84
85 if build_env['TARGET_ISA'] == 'sparc':
86 dtb = Param.SparcDTB(SparcDTB(), "Data TLB")
87 itb = Param.SparcITB(SparcITB(), "Instruction TLB")
88 if build_env['FULL_SYSTEM']:
89 interrupts = Param.SparcInterrupts(

--- 139 unchanged lines hidden ---