From ba566f246e9ac27aa88ab2b35c108366e4e8dacb Mon Sep 17 00:00:00 2001 From: Yunsup Lee Date: Thu, 15 Mar 2012 15:35:12 -0700 Subject: [PATCH] change icache parameters --- rocket/src/main/scala/top.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rocket/src/main/scala/top.scala b/rocket/src/main/scala/top.scala index a0743ead..6c62a428 100644 --- a/rocket/src/main/scala/top.scala +++ b/rocket/src/main/scala/top.scala @@ -17,7 +17,7 @@ class Top() extends Component { val htif = new rocketHTIF(htif_width, 1) val cpu = new rocketProc(resetSignal = htif.io.cpu(0).reset); - val icache = new rocketICache(128, 2); // 128 sets x 2 ways + val icache = new rocketICache(128, 4) // 128 sets x 4 ways (32KB) val icache_pf = new rocketIPrefetcher(); val dcache = new HellaCacheUniproc(); @@ -44,7 +44,7 @@ class Top() extends Component { if (HAVE_VEC) { - val vicache = new rocketICache(128, 2); // 128 sets x 2 ways + val vicache = new rocketICache(128, 1); // 128 sets x 1 ways (8KB) arbiter.io.requestor(2) <> vicache.io.mem cpu.io.vimem <> vicache.io.cpu; }