From 2bc6e70f03edcacd875a4ec93714dc023ae136d3 Mon Sep 17 00:00:00 2001 From: Dolu1990 Date: Wed, 18 Jan 2023 15:19:33 +0100 Subject: [PATCH] Fix RVC decompressor don't care #296 --- src/main/scala/vexriscv/plugin/Misc.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/vexriscv/plugin/Misc.scala b/src/main/scala/vexriscv/plugin/Misc.scala index 73d90e6..ce9370f 100644 --- a/src/main/scala/vexriscv/plugin/Misc.scala +++ b/src/main/scala/vexriscv/plugin/Misc.scala @@ -12,7 +12,7 @@ object RvcDecompressor{ } def apply(i : Bits, rvf : Boolean, rvd : Boolean): Bits ={ - val ret = Bits(32 bits).assignDontCare() + val ret = B(0, 32 bits) val rch = B"01" ## i(9 downto 7) val rcl = B"01" ## i(4 downto 2)