MinorCPU.py (11683:f1e198a028be) MinorCPU.py (12563:8d59ed22ae79)
1# Copyright (c) 2012-2014 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

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

35# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
36# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
37# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38#
39# Authors: Gabe Black
40# Nathan Binkert
41# Andrew Bardsley
42
1# Copyright (c) 2012-2014 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

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

35# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
36# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
37# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38#
39# Authors: Gabe Black
40# Nathan Binkert
41# Andrew Bardsley
42
43from __future__ import print_function
44
43from m5.defines import buildEnv
44from m5.params import *
45from m5.proxy import *
46from m5.SimObject import SimObject
47from BaseCPU import BaseCPU
48from DummyChecker import DummyChecker
49from BranchPredictor import *
50from TimingExpr import TimingExpr

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

270
271 enableIdling = Param.Bool(True,
272 "Enable cycle skipping when the processor is idle\n");
273
274 branchPred = Param.BranchPredictor(TournamentBP(
275 numThreads = Parent.numThreads), "Branch Predictor")
276
277 def addCheckerCpu(self):
45from m5.defines import buildEnv
46from m5.params import *
47from m5.proxy import *
48from m5.SimObject import SimObject
49from BaseCPU import BaseCPU
50from DummyChecker import DummyChecker
51from BranchPredictor import *
52from TimingExpr import TimingExpr

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

272
273 enableIdling = Param.Bool(True,
274 "Enable cycle skipping when the processor is idle\n");
275
276 branchPred = Param.BranchPredictor(TournamentBP(
277 numThreads = Parent.numThreads), "Branch Predictor")
278
279 def addCheckerCpu(self):
278 print "Checker not yet supported by MinorCPU"
280 print("Checker not yet supported by MinorCPU")
279 exit(1)
281 exit(1)