From 54581f6d9e38d1d0d809588dfd752e69d06c8256 Mon Sep 17 00:00:00 2001 From: Dolu1990 Date: Mon, 2 Mar 2020 14:23:26 +0100 Subject: [PATCH] Fix #117 DataCache mem blackboxing --- src/main/scala/vexriscv/ip/DataCache.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/vexriscv/ip/DataCache.scala b/src/main/scala/vexriscv/ip/DataCache.scala index eaed1d0..8e62bc7 100644 --- a/src/main/scala/vexriscv/ip/DataCache.scala +++ b/src/main/scala/vexriscv/ip/DataCache.scala @@ -402,7 +402,7 @@ class DataCache(p : DataCacheConfig) extends Component{ //Writes when(tagsWriteCmd.valid && tagsWriteCmd.way(i)){ - tags(tagsWriteCmd.address) := tagsWriteCmd.data + tags.write(tagsWriteCmd.address, tagsWriteCmd.data) } when(dataWriteCmd.valid && dataWriteCmd.way(i)){ data.write(