From c8ac2140976ba95cc7cb1ba43f447ce0cc57d5e7 Mon Sep 17 00:00:00 2001 From: Dolu1990 Date: Sun, 28 Oct 2018 02:18:27 +0200 Subject: [PATCH] Optimize CSR --- src/main/scala/vexriscv/plugin/CsrPlugin.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/scala/vexriscv/plugin/CsrPlugin.scala b/src/main/scala/vexriscv/plugin/CsrPlugin.scala index ad804d1..37f45b9 100644 --- a/src/main/scala/vexriscv/plugin/CsrPlugin.scala +++ b/src/main/scala/vexriscv/plugin/CsrPlugin.scala @@ -593,9 +593,9 @@ class CsrPlugin(config: CsrPluginConfig) extends Plugin[VexRiscv] with Exception } } - when(exceptionValids.orR){ + when(exceptionValidsRegs.orR){ fetcher.haltIt() - fetcher.flushIt() +// fetcher.flushIt() } } else null