From 1fbc20450e5d2189f6cdc521f4a40322ae9020f9 Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Thu, 24 Jan 2013 17:46:35 -0800 Subject: [PATCH] don't allow simultaneous reads and writes to the tag ram --- rocket/src/main/scala/nbdcache.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rocket/src/main/scala/nbdcache.scala b/rocket/src/main/scala/nbdcache.scala index 125be0b3..cc01a874 100644 --- a/rocket/src/main/scala/nbdcache.scala +++ b/rocket/src/main/scala/nbdcache.scala @@ -601,7 +601,7 @@ class MetaDataArray(implicit conf: DCacheConfig) extends Component { io.resp(w).tag := m } - io.read.ready := !rst + io.read.ready := !rst && !io.write.valid // so really this could be a 6T RAM io.write.ready := !rst }