From a2be21361e9181fcdec7f005ee31b168058b2137 Mon Sep 17 00:00:00 2001 From: Christopher Celio Date: Wed, 22 Jan 2014 16:19:57 -0800 Subject: [PATCH] Allow ICacheConfig to toggle fetch-width. --- rocket/src/main/scala/icache.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rocket/src/main/scala/icache.scala b/rocket/src/main/scala/icache.scala index 8a60548b..5a61adb8 100644 --- a/rocket/src/main/scala/icache.scala +++ b/rocket/src/main/scala/icache.scala @@ -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