1
0

add enabled field to BTBParameters

This commit is contained in:
Henry Cook 2015-10-16 19:11:57 -07:00
parent 969ecaecf8
commit 1441590c3b

View File

@ -7,7 +7,12 @@ import junctions._
import Util._
case object BtbKey extends Field[BtbParameters]
case class BtbParameters(nEntries: Int = 62, nRAS: Int = 2, updatesOutOfOrder: Boolean = false)
case class BtbParameters(
enabled: Boolean = true,
nEntries: Int = 62,
nRAS: Int = 2,
updatesOutOfOrder: Boolean = false)
abstract trait HasBtbParameters extends HasCoreParameters {
val matchBits = pgIdxBits