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 choiceCtrBits = Param.Unsigned(2, "Bits of choice counters") 88 89class LTAGE(BranchPredictor): 90 type = 'LTAGE' 91 cxx_class = 'LTAGE' 92 cxx_header = "cpu/pred/ltage.hh" 93 94 logSizeBiMP = Param.Unsigned(14, "Log size of Bimodal predictor in bits") |
95 logRatioBiModalHystEntries = Param.Unsigned(2, 96 "Log num of prediction entries for a shared hysteresis bit " \ 97 "for the Bimodal") |
98 logSizeTagTables = Param.Unsigned(11, "Log size of tag table in LTAGE") 99 logSizeLoopPred = Param.Unsigned(8, "Log size of the loop predictor") 100 nHistoryTables = Param.Unsigned(12, "Number of history tables") 101 tagTableCounterBits = Param.Unsigned(3, "Number of tag table counter bits") 102 histBufferSize = Param.Unsigned(2097152, 103 "A large number to track all branch histories(2MEntries default)") 104 minHist = Param.Unsigned(4, "Minimum history size of LTAGE") 105 maxHist = Param.Unsigned(640, "Maximum history size of LTAGE") 106 minTagWidth = Param.Unsigned(7, "Minimum tag size in tag tables") 107 |