Deleted Added
sdiff udiff text old ( 13443:a111cb197897 ) new ( 13444:26f81be73cb7 )
full compact
1# Copyright (c) 2012 Mark D. Hill and David A. Wood
2# Copyright (c) 2015 The University of Wisconsin
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met: redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer;

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

87 choicePredictorSize = Param.Unsigned(8192, "Size of choice predictor")
88 choiceCtrBits = Param.Unsigned(2, "Bits of choice counters")
89
90class LTAGE(BranchPredictor):
91 type = 'LTAGE'
92 cxx_class = 'LTAGE'
93 cxx_header = "cpu/pred/ltage.hh"
94
95 logSizeBiMP = Param.Unsigned(14, "Log size of Bimodal predictor in bits")
96 logRatioBiModalHystEntries = Param.Unsigned(2,
97 "Log num of prediction entries for a shared hysteresis bit " \
98 "for the Bimodal")
99 logSizeTagTables = Param.Unsigned(11, "Log size of tag table in LTAGE")
100 logSizeLoopPred = Param.Unsigned(8, "Log size of the loop predictor")
101 nHistoryTables = Param.Unsigned(12, "Number of history tables")
102 tagTableCounterBits = Param.Unsigned(3, "Number of tag table counter bits")
103 tagTableUBits = Param.Unsigned(2, "Number of tag table u bits")
104 histBufferSize = Param.Unsigned(2097152,
105 "A large number to track all branch histories(2MEntries default)")
106 minHist = Param.Unsigned(4, "Minimum history size of LTAGE")
107 maxHist = Param.Unsigned(640, "Maximum history size of LTAGE")
108 minTagWidth = Param.Unsigned(7, "Minimum tag size in tag tables")
109
110 loopTableAgeBits = Param.Unsigned(8, "Number of age bits per loop entry")
111 loopTableConfidenceBits = Param.Unsigned(2,
112 "Number of confidence bits per loop entry")
113 loopTableTagBits = Param.Unsigned(14, "Number of tag bits per loop entry")
114 loopTableIterBits = Param.Unsigned(14, "Nuber of iteration bits per loop")
115