Allow ICacheConfig to toggle fetch-width.
This commit is contained in:
parent
a7489920ce
commit
a2be21361e
@ -5,11 +5,11 @@ import uncore._
|
|||||||
import Util._
|
import Util._
|
||||||
|
|
||||||
case class ICacheConfig(sets: Int, assoc: Int,
|
case class ICacheConfig(sets: Int, assoc: Int,
|
||||||
|
ibytes: Int = 4,
|
||||||
ntlb: Int = 8, nbtb: Int = 8,
|
ntlb: Int = 8, nbtb: Int = 8,
|
||||||
code: Code = new IdentityCode)
|
code: Code = new IdentityCode)
|
||||||
{
|
{
|
||||||
val w = 1
|
val w = 1
|
||||||
val ibytes = 4
|
|
||||||
|
|
||||||
val dm = assoc == 1
|
val dm = assoc == 1
|
||||||
val lines = sets * assoc
|
val lines = sets * assoc
|
||||||
|
Loading…
Reference in New Issue
Block a user