O3CPU.py (8807:35e77c938919) O3CPU.py (8809:bb10807da889)
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

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

35if buildEnv['USE_CHECKER']:
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']:
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

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

35if buildEnv['USE_CHECKER']:
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 checker = Param.BaseCPU(O3Checker(workload=Parent.workload,
43 # FIXME: Shouldn't need to derefernce Parent.workload
44 # Somewhere in the param parsing code
45 # src/python/m5/params.py is and error that
46 # has trouble converting the workload parameter properly.
47 checker = Param.BaseCPU(O3Checker(workload=Parent.workload[0],
44 exitOnError=False,
45 updateOnError=True,
48 exitOnError=False,
49 updateOnError=True,
46 warnOnlyOnLoadError=False),
47 "checker")
50 warnOnlyOnLoadError=True),
51 "checker")
48 checker.itb = Parent.itb
49 checker.dtb = Parent.dtb
50
51 cachePorts = Param.Unsigned(200, "Cache Ports")
52
53 decodeToFetchDelay = Param.Unsigned(1, "Decode to fetch delay")
54 renameToFetchDelay = Param.Unsigned(1 ,"Rename to fetch delay")
55 iewToFetchDelay = Param.Unsigned(1, "Issue/Execute/Writeback to fetch "

--- 88 unchanged lines hidden ---
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 ---