Allow ICacheConfig to toggle fetch-width.

This commit is contained in:
Christopher Celio committed 2014-01-22 16:19:57 -08:00
1 parent a7489920ce
commit a2be21361e
1 file changed
+1 -1
+1 -1
View File
@@ -5,11 +5,11 @@ import uncore._
import Util._
case class ICacheConfig(sets: Int, assoc: Int,
ibytes: Int = 4,
ntlb: Int = 8, nbtb: Int = 8,
code: Code = new IdentityCode)
{
val w = 1
val ibytes = 4
val dm = assoc == 1
val lines = sets * assoc