O3CPU.py (8727:b3995530319f) O3CPU.py (8733:64a7bf8fa56c)
1# Copyright (c) 2005-2007 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

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

36 from O3Checker import O3Checker
37
38class DerivO3CPU(BaseCPU):
39 type = 'DerivO3CPU'
40 activity = Param.Unsigned(0, "Initial count")
41
42 if buildEnv['USE_CHECKER']:
43 if not buildEnv['FULL_SYSTEM']:
1# Copyright (c) 2005-2007 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

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

36 from O3Checker import O3Checker
37
38class DerivO3CPU(BaseCPU):
39 type = 'DerivO3CPU'
40 activity = Param.Unsigned(0, "Initial count")
41
42 if buildEnv['USE_CHECKER']:
43 if not buildEnv['FULL_SYSTEM']:
44 checker = Param.BaseCPU(O3Checker(workload=Parent.workload,
44 # FIXME: Shouldn't need to derefernce Parent.workload
45 # Somewhere in the param parsing code
46 # src/python/m5/params.py is and error that
47 # has trouble converting the workload parameter properly.
48 checker = Param.BaseCPU(O3Checker(workload=Parent.workload[0],
45 exitOnError=False,
46 updateOnError=True,
49 exitOnError=False,
50 updateOnError=True,
47 warnOnlyOnLoadError=False),
48 "checker")
51 warnOnlyOnLoadError=True),
52 "checker")
49 else:
53 else:
50 checker = Param.BaseCPU(O3Checker(exitOnError=False, updateOnError=True,
51 warnOnlyOnLoadError=False), "checker")
54 checker = Param.BaseCPU(O3Checker(exitOnError=False,
55 updateOnError=True,
56 warnOnlyOnLoadError=True),
57 "checker")
52 checker.itb = Parent.itb
53 checker.dtb = Parent.dtb
54
55 cachePorts = Param.Unsigned(200, "Cache Ports")
56
57 decodeToFetchDelay = Param.Unsigned(1, "Decode to fetch delay")
58 renameToFetchDelay = Param.Unsigned(1 ,"Rename to fetch delay")
59 iewToFetchDelay = Param.Unsigned(1, "Issue/Execute/Writeback to fetch "

--- 88 unchanged lines hidden ---
58 checker.itb = Parent.itb
59 checker.dtb = Parent.dtb
60
61 cachePorts = Param.Unsigned(200, "Cache Ports")
62
63 decodeToFetchDelay = Param.Unsigned(1, "Decode to fetch delay")
64 renameToFetchDelay = Param.Unsigned(1 ,"Rename to fetch delay")
65 iewToFetchDelay = Param.Unsigned(1, "Issue/Execute/Writeback to fetch "

--- 88 unchanged lines hidden ---