From fe0876027f598addf7c05a9b8cae5ad795123bb1 Mon Sep 17 00:00:00 2001 From: David Harris Date: Thu, 28 Jan 2021 15:44:05 -0500 Subject: [PATCH] Fixed floating signals in clint and ieu --- wally-pipelined/src/clint.sv | 2 ++ wally-pipelined/src/ieu.sv | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wally-pipelined/src/clint.sv b/wally-pipelined/src/clint.sv index e7f520fb..5db89d7b 100644 --- a/wally-pipelined/src/clint.sv +++ b/wally-pipelined/src/clint.sv @@ -67,6 +67,7 @@ module clint ( if (reset) begin MSIP <= 0; MTIME <= 0; + MTIMECMP <= 0; // MTIMECMP is not reset end else if (memwrite) begin if (entry == 16'h0000) MSIP <= MaskedWriteDataM[0]; @@ -90,6 +91,7 @@ module clint ( if (reset) begin MSIP <= 0; MTIME <= 0; + MTIMECMP <= 0; // MTIMECMP is not reset end else if (memwrite) begin if (entry == 16'h0000) MSIP <= MaskedWriteDataM[0]; diff --git a/wally-pipelined/src/ieu.sv b/wally-pipelined/src/ieu.sv index 147504cb..d91fd99b 100644 --- a/wally-pipelined/src/ieu.sv +++ b/wally-pipelined/src/ieu.sv @@ -56,7 +56,6 @@ module ieu ( logic [2:0] FlagsE; logic [4:0] ALUControlE; logic ALUSrcAE, ALUSrcBE; - logic IllegalInstrFaultM; logic [2:0] Funct3M; logic [1:0] ResultSrcW;